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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4b337c], 0
je 0x44e7f9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.0047bbb9
add esp, 4
test eax, eax
je 0x44e817
push 0
mov ecx, eax
call fcn.0044d380
mov dword [0x4b337c], eax
jmp 0x44e821
mov dword [0x4b337c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c240
mov ecx, dword [0x4b337c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0044ed40
cmp dword [ebp - 8], 8
jb 0x44e850
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret

Function at 0x44ed40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push ecx
push 3
push eax
mov dword [ebp - 0xc], 0
call fcn.0044b050
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x44edb8
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x20]
call fcn.0044e9c0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], 8
jb 0x44edc9
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 4
Function at 0x44f760
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x44f7b2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x44f7e0
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x44f7e0
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x44f823
cmp esi, eax
jne 0x44f7d4
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x44f80d
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x44f859
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x44f87b
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 4]
call fcn.00407ff0
push edi
call fcn.0047bc0a
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x44f861
mov dword [ecx], edi
jmp 0x44f87b
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x44f87b
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0044fe10
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x450170
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x4501c2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x4501da
mov ecx, esi
jmp 0x4501df
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x45020c
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x4501ee
mov eax, dword [eax]
jmp 0x4501d2
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
jne 0x4501fe
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x450740
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
or eax, 0x20019
push esi
mov esi, ecx
push esi
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45078d
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4507a0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
xor eax, eax
mov word [esi + 8], ax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
dec ecx
mov dword [esi + 4], ecx
test edx, edx
je 0x4507d6
test ecx, ecx
js 0x4507d6
lea eax, [ebp - 8]
mov dword [ebp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp + 0x10]
push eax
lea eax, [esi + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4507dc
xor eax, eax
mov word [esi + 8], ax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4508d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x4509d4
cmp dword [esi + 4], 0
jl 0x4509d4
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x2c]
sub eax, dword [esi + 0x20]
xor edx, edx
mov ecx, dword [esi + 0x1c]
sar eax, 1
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
lea eax, [eax*2 - 2]
mov dword [ebx], eax
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
cmove eax, edx
lea edx, [esi + 0x30]
push eax
push edx
push 0
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [esi + 8]
push eax
call fcn.0044b0a0
add esp, 8
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x4509b9
mov ecx, dword [ebx]
mov eax, dword [esi + 0x24]
inc ecx
sub eax, dword [esi + 0x20]
shr ecx, 1
inc ecx
sar eax, 1
cmp ecx, eax
jbe 0x450968
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ecx
lea ecx, [esi + 0x20]
call fcn.00451030
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
sar eax, 1
cmp dword [ebp - 4], ecx
push ebx
lea eax, [eax*2 - 2]
mov dword [ebx], eax
mov eax, 0x4000
cmove ecx, eax
mov eax, dword [esi + 0x20]
xor edx, edx
mov dword [ebp - 4], ecx
cmp eax, dword [esi + 0x24]
cmove eax, edx
push eax
lea eax, [esi + 0x30]
push eax
push edx
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [esi + 8]
push eax
call fcn.0044b0a0
add esp, 8
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4509d4
mov ecx, dword [ebx]
mov eax, dword [esi + 0x20]
inc ecx
shr ecx, 1
xor edx, edx
pop edi
pop esi
pop ebx
mov word [eax + ecx*2], dx
mov al, 1
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4509df
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x20]
pop edi
mov word [eax], cx
xor al, al
mov dword [esi + 0x2c], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450f80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450f97
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4516c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x4516d3
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x4516e9
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 1
push ebx
call fcn.0047f46f
mov edi, eax
add esp, 8
test edi, edi
je 0x451760
push edi
push ebx
push dword [ebp - 4]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x451757
lea eax, [ebp - 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 8]
push eax
push 0x4a37ec
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x451757
cmp dword [ebp + 8], 0
je 0x451757
push 0x10
call fcn.0047bbb9
add esp, 4
test eax, eax
je 0x451760
mov edx, dword [ebp + 8]
movzx ecx, word [edx + 2]
push ecx
movzx ecx, word [edx]
push ecx
push edi
mov ecx, eax
call fcn.004515d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0047cc96
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451770
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x224], eax
movzx eax, word [edi + 8]
mov word [ebp - 0x14], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0x12], ax
call esi
mov word [ebp - 0x10], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0xe], ax
movzx eax, word [edi + 8]
mov word [ebp - 0xc], ax
mov eax, 0x4e4
mov word [ebp - 0xa], ax
call esi
mov word [ebp - 8], ax
xor esi, esi
mov eax, 0x4e4
mov word [ebp - 6], ax
lea ebx, [ebx]
movzx eax, word [ebp + esi*2 - 0x12]
movzx ecx, word [ebp + esi*2 - 0x14]
add esi, 2
push ebx
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0047f434
add esp, 0x1c
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x451843
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x45185d
cmp esi, 8
jb 0x4517e0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x451887
mov ecx, dword [ebp - 0x224]
xor eax, eax
push eax
push edx
call fcn.0040aec0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x451890
mov ecx, dword [ebp - 0x224]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.0040aec0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 8

Function at 0x4528d0
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00446a80
test al, al
jne 0x4528f1
mov ecx, dword [ebp + 0xc]
call fcn.00446a80
test al, al
jne 0x4528f1
pop ebp
jmp fcn.00449600
xor al, al
pop ebp
ret
Function at 0x452920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
test ebx, ebx
je 0x452945
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x452940
mov eax, dword [ebx]
jmp 0x452942
mov eax, ebx
mov byte [eax], 0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00446a80
test al, al
je 0x45295b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0x4a3a7c
push esi
call fcn.004496a0
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
jne 0x45297c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10000
call fcn.0047b2e5
push edi
push 0x10000
mov esi, eax
mov dword [ebp + 0xc], 0
push 1
push esi
call fcn.0047fa6f
mov edi, eax
add esp, 0x14
mov dword [ebp - 8], edi
test edi, edi
je 0x4529ff
mov eax, dword [ebp + 0x10]
lea esp, [esp]
test ebx, ebx
je 0x4529d2
sub eax, dword [ebp + 0xc]
lea edx, [ebp - 8]
cmp eax, edi
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
cmovae ecx, edx
push dword [ecx]
mov ecx, ebx
push esi
call fcn.00406b00
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
cmp eax, edi
jb 0x452a15
push dword [ebp - 4]
add ecx, edi
push 0x10000
push 1
push esi
mov dword [ebp + 0xc], ecx
call fcn.0047fa6f
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], edi
test edi, edi
jne 0x4529b0
mov ebx, dword [ebp - 4]
push ebx
call fcn.0047f611
add esp, 4
test eax, eax
jne 0x452a18
mov byte [ebp + 0xf], 1
jmp 0x452a1c
mov ebx, dword [ebp - 4]
mov byte [ebp + 0xf], 0
push ebx
call fcn.0047f59a
add esp, 4
test esi, esi
je 0x452a32
push esi
call fcn.0047cd16
add esp, 4
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x452b60
cmp byte [ebx + 0x45], 0
je 0x452b60
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x452a84
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 8], ecx
cmp ecx, 0x10
movq qword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x1c]
push esi
push edi
mov byte [eax + 8], 0
nop
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x1c]
cmovae edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x452aea
dec eax
je 0x452aee
sub eax, 2
je 0x452b3a
xor bl, bl
jmp 0x452b3c
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x20]
cmovae eax, edx
sub esi, eax
je 0x452b20
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0047d627
add esp, 0x10
cmp esi, eax
jne 0x452ae6
cmp byte [ebx + 0x45], 0
je 0x452b3a
test esi, esi
jne 0x452ab0
push esi
push 8
lea ecx, [ebp - 0x1c]
call fcn.0043ff40
jmp 0x452ab0
mov bl, 1
cmp dword [ebp - 8], 0x10
pop edi
pop esi
jb 0x452b4f
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret

Function at 0x453ff0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi], 0
je 0x45400c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x45400f
mov eax, dword [esi + 4]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test bl, bl
je 0x454044
cmp byte [ebp + 0xc], 0
je 0x454044
cmp byte [esi], 0
je 0x454035
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x454038
mov eax, dword [esi + 4]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x458320
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push esi
mov esi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
push eax
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.00458a20
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.00458270
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
Function at 0x459d10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
sub esp, 8
mov edx, esp
mov dword [edx], edi
test edi, edi
jne 0x459d3c
xor ecx, ecx
jmp 0x459d59
cmp byte [edi], 0
jne 0x459d45
xor ecx, ecx
jmp 0x459d59
mov ecx, edi
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459d50
sub ecx, esi
lea eax, [ebp - 0x1c]
mov dword [edx + 4], ecx
push eax
call fcn.0044be90
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x459d70
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp dword [ebp - 8], 8
mov esi, eax
mov dword [ebp - 0x38], esi
jb 0x459d8d
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
test esi, esi
jne 0x459da6
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
je 0x459ea7
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047b2e5
add esp, 4
mov esi, eax
push dword [ebp - 0x38]
push esi
sub esp, 8
mov edx, esp
mov dword [edx], edi
test edi, edi
je 0x459def
cmp byte [edi], 0
jne 0x459de3
xor edi, edi
jmp 0x459def
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x459de6
sub edi, ecx
lea eax, [ebp - 0x1c]
mov dword [edx + 4], edi
push eax
call fcn.0044be90
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x459e06
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp dword [ebp - 8], 8
jb 0x459e1e
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040c240
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0044bf50
mov edi, eax
add esp, 8
cmp ebx, edi
je 0x459e66
cmp dword [ebx + 0x14], 0x10
jb 0x459e4d
push dword [ebx]
call fcn.0047bc0a
add esp, 4
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push edi
mov byte [ebx], 0
call fcn.00434540
cmp dword [ebp - 0x20], 0x10
jb 0x459e77
push dword [ebp - 0x34]
call fcn.0047bc0a
add esp, 4
cmp dword [ebp - 8], 8
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
jb 0x459e9a
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
test esi, esi
je 0x459ea7
push esi
call fcn.0047cd16
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 8
Function at 0x45c830
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
test bl, 1
push esi
mov esi, ecx
mov ecx, 3
cmovne eax, ecx
test bl, 2
mov ecx, 1
cmovne eax, ecx
mov ecx, ebx
and ecx, 4
mov dword [ebp - 4], ecx
mov ecx, 4
cmovne eax, ecx
test bl, 8
mov ecx, 2
cmovne eax, ecx
mov dword [ebp + 0xc], eax
test bl, 0x10
je 0x45c886
mov dword [ebp + 0xc], 5
jmp 0x45c88e
test eax, eax
je 0x45c9ad
xor edx, edx
mov eax, 4
test bl, 0x40
push edi
mov edi, 0x40000000
cmovne edx, edi
test bl, 0x80
cmovne edx, eax
test bl, 0x20
je 0x45c8b2
or edx, 0x80000000
test ebx, 0x4000
je 0x45c8c0
or edx, 0x100
test ebx, 0x40000
je 0x45c8ce
or edx, 0x20000000
mov ecx, ebx
shr ecx, 8
not ecx
and ecx, 1
test ebx, 0x200
jne 0x45c8e3
or ecx, 2
test ebx, 0x8000
je 0x45c8ed
or ecx, eax
xor eax, eax
test ebx, 0x400
cmovne eax, edi
test ebx, 0x800
je 0x45c905
or eax, 0x100
test ebx, 0x1000
je 0x45c910
or eax, 2
test ebx, 0x2000
je 0x45c91d
or eax, 0x4000000
test ebx, 0x20000
je 0x45c92a
or eax, 0x2000000
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x45c935
mov edi, dword [edi]
push 0
push eax
push dword [ebp + 0xc]
push 0
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
mov ecx, esi
call fcn.0045ce30
mov eax, dword [esi]
pop edi
test eax, eax
je 0x45c99b
cmp eax, 0xffffffff
je 0x45c99b
mov eax, ebx
mov dword [esi + 0x20], 0
shr eax, 0xa
and al, 1
cmp dword [ebp - 4], 0
mov byte [esi + 0x25], al
je 0x45c98a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne al
mov byte [esi + 0x24], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test bl, 0xa
je 0x45c9ad
mov byte [esi + 0x24], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045ca70
add esp, 4
mov dword [esi + 0x20], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45dca0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x45dd53
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x45dd53
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040aec0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45dd0b
mov eax, dword [esi]
jmp 0x45dd0d
mov eax, esi
xor ecx, ecx
and edi, 0xfc00
mov word [eax], cx
xor eax, eax
cmp ax, di
je 0x45dd40
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x45dd40
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040aec0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret