joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d690
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2751
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.0040bdf0
mov esi, dword [ebp - 0x14]
push str.explorer.exe
push esi
call fcn.0048652c
add esp, 0xc
cmp eax, edi
jne 0x44d707
mov edi, 1
jmp 0x44d7af
push str.funshionupgrade.exe
push esi
call fcn.0048652c
add esp, 8
cmp eax, edi
jne 0x44d723
mov edi, 2
jmp 0x44d7af
cmp dword [esi - 0xc], edi
jl 0x44d74a
push str.FunshionInstall
push esi
call fcn.00486644
add esp, 8
cmp eax, edi
je 0x44d74a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44d74a
mov edi, 3
jmp 0x44d7af
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401bb0
mov eax, dword [0x4fe830]
cmp eax, edi
je 0x44d78b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], edi
jl 0x44d78e
push eax
push ecx
call fcn.00486644
add esp, 8
cmp eax, edi
je 0x44d78b
mov ecx, dword [ebp - 0x10]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x44d78e
mov edi, 4
jmp 0x44d793
mov ecx, dword [ebp - 0x10]
mov edi, 5
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d7af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x4c7cdc
push ebx
mov dword [ebp - 0x18], 1
call fcn.00407760
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d7fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44daf0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax*4 + 0x4c3920]
lea edx, [ebp - 0x418]
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44db85
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.0048ac40
mov ecx, dword [ebp - 0x418]
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
push 0
push ecx
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x44db95
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x44dbc4
push str.BaiduToolbar
push eax
call fcn.00486644
add esp, 8
test eax, eax
je 0x44dbc4
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x44dbc4
mov eax, dword [ebp - 0x418]
push eax
jmp 0x44dc85
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.0048ac40
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push eax
mov eax, dword [ebp - 0x418]
push eax
mov dword [ebp - 0x41c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44dc2f
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
jne 0x44dc50
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44dc7e
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x44ea90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44eab6
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 4]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.DisplayName
mov esi, 1
push edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0
call edi
cmp eax, 2
jne 0x44eafd
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x44eb55
cmp dword [ebp - 0xc], esi
jne 0x44eb7b
mov eax, dword [ebp - 8]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004844d7
mov esi, eax
mov eax, dword [ebp - 8]
inc eax
push eax
push 0
push esi
call fcn.0048ac40
mov eax, dword [ebp - 4]
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push 0
push str.DisplayName
push eax
call edi
push esi
test eax, eax
je 0x44eb6a
call fcn.00486c45
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
call fcn.00401b60
push esi
call fcn.00486c45
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x450360
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b4d68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call fcn.00401bb0
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
test esi, esi
jns 0x4503b8
push 0x80070057
call fcn.00401a60
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4503d7
push esi
lea ecx, [esp + 0x14]
call fcn.004019c0
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.00486867
mov eax, dword [esp + 0x18]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4503ae
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [edx + esi*2], cx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
or edi, 0xffffffff
test eax, eax
js 0x450457
push 0x4ccecc
push ecx
call fcn.00486644
add esp, 8
test eax, eax
je 0x450457
mov ecx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
cmp eax, edi
je 0x450457
lea eax, [ecx - 0x10]
mov dword [esp + 0x20], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x450443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00450240
test eax, eax
jne 0x450498
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x450481
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
call fcn.0044f4e0
test eax, eax
je 0x4504a8
mov esi, 1
call fcn.0044fb00
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4504ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x450790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ade78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x4507cc
xor eax, eax
jmp 0x450951
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x4507f5
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x4507f5
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [edi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x450951
cmp dword [edi + 0x54], 0
je 0x45094e
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x48]
cmp dword [ecx], edx
jne 0x45081d
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
mov dword [ecx], eax
mov edx, dword [edi + 0x30]
sub eax, eax
mov dword [edx], eax
cmp dword [edi + 0x44], 0
jne 0x450843
mov edi, dword [edi + 0x54]
movsx eax, bl
push edi
push eax
call fcn.004891ba
add esp, 8
cmp eax, 0xffffffff
je 0x45094e
mov eax, ebx
jmp 0x450951
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
call fcn.00451c00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
jmp 0x450860
mov edx, eax
cmp ebx, 0x10
jae 0x45086c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push edx
push eax
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x2d]
push edx
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x14]
call eax
test eax, eax
js 0x450946
cmp eax, 1
jg 0x450900
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4508ac
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, ecx
je 0x4508d5
cmp ebx, 0x10
jae 0x4508bb
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00489e54
add esp, 0x10
cmp esi, eax
jne 0x450946
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x2d]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x38], edx
jne 0x450939
test esi, esi
jne 0x450860
cmp dword [ebp - 0x1c], 0x20
jae 0x450946
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00413f10
jmp 0x450855
cmp eax, 3
jne 0x450946
mov edi, dword [edi + 0x54]
movsx eax, byte [ebp - 0x2d]
push edi
push eax
call fcn.004891ba
add esp, 8
cmp eax, 0xffffffff
je 0x45092a
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
mov eax, esi
jmp 0x450951
lea ecx, [ebp - 0x2c]
or esi, 0xffffffff
call fcn.00405fc0
mov eax, esi
jmp 0x450951
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
mov eax, dword [ebp + 8]
jmp 0x450951
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret 4
Function at 0x4511c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ade78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, 0xffff
mov edi, ecx
cmp ax, si
jne 0x451201
xor eax, eax
jmp 0x451387
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x45122d
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x45122d
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 2]
mov dword [edi], ecx
mov word [eax], si
mov ax, si
jmp 0x451387
cmp dword [edi + 0x54], 0
je 0x451382
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x48]
cmp dword [ecx], edx
jne 0x451257
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
mov dword [ecx], eax
mov edx, dword [edi + 0x30]
sub eax, eax
sar eax, 1
mov dword [edx], eax
cmp dword [edi + 0x44], 0
jne 0x451282
mov edi, dword [edi + 0x54]
push edi
push esi
call fcn.0048943d
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, si
jne 0x451387
mov eax, ecx
jmp 0x451387
movzx edx, si
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], edx
call fcn.00451c00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
lea ecx, [ecx]
mov edx, eax
cmp ebx, 0x10
jae 0x4512ac
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x1c]
add ebx, edx
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x2e]
push edx
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
test eax, eax
js 0x45137a
cmp eax, 1
jg 0x451342
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4512ee
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, ecx
je 0x451317
cmp ebx, 0x10
jae 0x4512fd
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00489e54
add esp, 0x10
cmp esi, eax
jne 0x45137a
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
mov byte [edi + 0x4a], 1
cmp dword [ebp - 0x38], edx
jne 0x45136c
test esi, esi
jne 0x4512a0
cmp dword [ebp - 0x1c], 0x20
jae 0x45137a
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00413f10
jmp 0x451297
cmp eax, 3
jne 0x45137a
mov eax, dword [edi + 0x54]
mov ecx, dword [ebp - 0x30]
call fcn.0044ea70
movzx esi, word [ebp + 8]
test al, al
jne 0x45135f
mov esi, 0xffff
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
mov ax, si
jmp 0x451387
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
mov ax, word [ebp + 8]
jmp 0x451387
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
mov eax, 0xffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret 4
Function at 0x452020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0638
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x452128
cmp byte [edi + 0x49], 0
je 0x452128
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x45211c
lea esi, [ebp - 0x2c]
call fcn.00451c00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x452093
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4520bc
dec eax
je 0x4520c0
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x452117
jmp 0x452123
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4520d0
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4520f9
cmp ebx, 0x10
jae 0x4520df
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00489e54
add esp, 0x10
cmp esi, eax
jne 0x452114
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x452120
test esi, esi
jne 0x452087
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00413f10
jmp 0x452081
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
xor al, al
jmp 0x45212a
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x4523e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0638
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x4524f3
cmp byte [edi + 0x4a], 0
je 0x4524f3
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
mov ecx, edi
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x4524e7
lea esi, [ebp - 0x2c]
call fcn.00451c00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x45245e
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x452487
dec eax
je 0x45248b
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x4524e2
jmp 0x4524ee
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x45249b
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4524c4
cmp ebx, 0x10
jae 0x4524aa
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00489e54
add esp, 0x10
cmp esi, eax
jne 0x4524df
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x4524eb
test esi, esi
jne 0x452452
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00413f10
jmp 0x45244c
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
xor al, al
jmp 0x4524f5
lea ecx, [ebp - 0x2c]
call fcn.00405fc0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret

Function at 0x453840
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
lea esi, [eax + 1]
jmp 0x453890
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x453890
push ecx
sub eax, esi
lea ecx, [esp + 0x14]
call fcn.00453900
add esp, 4
lea esi, [esp + 0x10]
lea ebx, [edi + 5]
call fcn.004539c0
xor esi, esi
xor ebx, ebx
jmp 0x4538c0
movzx eax, byte [edi + ebx + 5]
push eax
mov ecx, 0x21
push str._02x
sub ecx, esi
mov edx, edi
push ecx
lea eax, [edx + esi + 0x15]
push eax
call fcn.0048828e
inc ebx
add esp, 0x10
add esi, 2
cmp ebx, 0x10
jl 0x4538c0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x454180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b03e2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ebx, ecx
mov ecx, section..data
mov dword [ebp - 0x220], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.0048ac40
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x454245
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454227
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00401ab0
push 0xb
push str.CrashReport
call fcn.0040ca70
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x457050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x45709f
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea esi, [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax]
push str.openUrl
push eax
call fcn.0048652c
add esp, 8
test eax, eax
jne 0x457090
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push 1
push 0
push eax
push eax
push str.open
push 0
call edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x457063
pop edi
pop esi
mov al, byte [ebp + 0x10]
pop ebp
ret

Function at 0x45eb70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abb38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.0045fa90
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00456e50
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45ebf9
test al, 1
jne 0x45ebf9
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x45ebf9
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45ecd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abb38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.0045fb00
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00456e50
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45ed59
test al, 1
jne 0x45ed59
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x45ed59
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc