joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d0ab
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x44277c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x44273c], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, 0x400
push edi
mov edi, dword [ebp + 0x14]
jne 0x41d106
push 0x64
lea eax, [ebp - 0x130]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x130]
mov word [0x463ce8], ax
xor eax, eax
mov word [0x463cea], ax
mov dword [0x44273c], 0x463ce8
push 0x32
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00412522
push edi
push esi
xor eax, eax
push 0x44272c
mov word [esi], ax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [esi + edi*2 - 2], ax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004210f9
leave
ret 0x10

Function at 0x41d41c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1f90]
mov eax, 0x2010
call fcn.00421590
mov eax, dword [0x44277c]
xor eax, ebp
mov dword [ebp + 0x1f8c], eax
cmp byte [0x455898], 0
push esi
mov esi, dword [ebp + 0x1f98]
je 0x41d4e8
push 0x800
lea eax, [ebp - 0x74]
push eax
push esi
call fcn.0041e9ba
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d4e8
push edi
lea eax, [ebp - 0x78]
mov edi, 0x1000
push eax
lea eax, [ebp + 0xf8c]
mov dword [ebp - 0x78], edi
push eax
lea eax, [ebp - 0x80]
push eax
push 0
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d4de
mov eax, dword [ebp - 0x78]
shr eax, 1
mov dword [ebp - 0x78], eax
cmp eax, 0x7ff
jae 0x41d4bc
add eax, eax
cmp eax, edi
jae 0x41d500
jmp 0x41d4c1
mov eax, 0xffe
push dword [ebp + 0x1f9c]
xor ecx, ecx
mov word [ebp + eax + 0xf8c], cx
lea eax, [ebp + 0xf8c]
push eax
push esi
call fcn.0041268b
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x1f8c]
xor ecx, ebp
pop esi
call fcn.004210f9
add ebp, 0x1f90
leave
ret 8
call fcn.004213f9
int3
Function at 0x41d5dd
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x200c
call fcn.00421590
mov eax, dword [0x44277c]
xor eax, esp
mov dword [esp + 0x2008], eax
mov ecx, dword [esp + 0x201c]
mov eax, dword [esp + 0x2014]
push ebx
push ebp
mov ebp, dword [esp + 0x2028]
xor ebx, ebx
mov dword [esp + 8], eax
push esi
push edi
mov edi, dword [esp + 0x2028]
test ecx, ecx
je 0x41d621
mov byte [ecx], bl
test ebp, ebp
je 0x41d628
mov byte [ebp], bl
mov esi, dword [esp + 0x2020]
test esi, esi
je 0x41d6e8
movzx edx, word [esi]
test dx, dx
je 0x41d6e8
mov dword [esp + 0x14], ebx
add esi, 2
cmp dx, 0x3d
jne 0x41d663
test edi, edi
je 0x41d66f
test ebx, ebx
jne 0x41d66f
test ecx, ecx
je 0x41d65f
mov byte [ecx], 1
mov ebx, eax
jmp 0x41d689
cmp dx, 0xd
je 0x41d6a7
cmp dx, 0xa
je 0x41d6aa
mov word [eax], dx
add eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2034]
add eax, 0xfffffffe
cmp dword [esp + 0x14], eax
jge 0x41d6a1
movzx eax, word [esi]
inc dword [esp + 0x14]
mov edx, eax
test ax, ax
mov eax, dword [esp + 0x10]
jne 0x41d647
mov eax, dword [esp + 0x10]
jmp 0x41d6aa
mov byte [ebp], 1
jmp 0x41d69b
add esi, 2
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x41d6e4
xor eax, eax
mov word [edi], ax
test ebx, ebx
je 0x41d6e4
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x2034]
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0041268b
xor eax, eax
mov word [ebx], ax
mov eax, esi
jmp 0x41d6ea
xor eax, eax
mov ecx, dword [esp + 0x2018]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004210f9
add esp, 0x200c
ret 0x18
Function at 0x41fd98
Capabilities:
Hide graphical window

Disassembly:
and dword [0x45388c], 0
push 1
push dword [esp + 8]
mov byte [0x44c46d], 1
mov byte [0x44c46e], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401323
cmp dword [0x463cd4], 0
jne 0x41fdd8
cmp byte [0x44c47b], 0
je 0x41fde1
cmp dword [0x44c474], 0
jne 0x41fdf4
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41ff24
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.00421590
mov eax, dword [0x44277c]
xor eax, ebp
mov dword [ebp + 0xf88], eax
cmp byte [0x455898], 0
push esi
mov esi, dword [ebp + 0xf94]
je 0x41ffc2
cmp word [0x45589a], 0
je 0x41ffc2
push edi
push 0x800
lea eax, [ebp - 0x78]
push eax
push 0x45589a
call fcn.0041e9ba
lea eax, [ebp - 0x80]
xor edi, edi
push eax
lea eax, [ebp - 0x7c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41ffc1
push esi
call fcn.00426433
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push edi
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0xf88]
xor ecx, ebp
pop esi
call fcn.004210f9
add ebp, 0xf8c
leave
ret 4

Function at 0x41ffdd
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00421590
mov eax, dword [0x44277c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push esi
call fcn.004123d6
mov esi, eax
test esi, esi
je 0x42003e
movzx ecx, word [esi]
push ecx
jmp 0x420029
add esi, 2
movzx eax, word [esi]
push eax
call fcn.004124f2
test al, al
jne 0x420022
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004210f9
leave
ret 4
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4202f0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x44c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4023b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4023b7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x402397
cmp esi, edx
jae 0x4023b7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x402385
cmp esi, edx
jae 0x4023b7
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d1d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4221d5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 4]
test edi, edi
jne 0x40d208
xor al, al
jmp 0x40d392
cmp byte [ecx + 1], 0
lea eax, [ecx + 8]
mov esi, dword [edi]
mov dword [ebp - 0x44], eax
push eax
je 0x40d21c
mov esi, dword [esi + 4]
jmp 0x40d21e
mov esi, dword [esi]
mov ecx, esi
call dword [0x4231b8]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x44]
xor esi, esi
mov edi, dword [eax + 4]
sub edi, dword [eax]
sar edi, 2
test edi, edi
je 0x40d390
nop
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x40d31b
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x44738c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401860
mov dword [ebp - 4], 0
cmp byte [0x44e08c], 0
je 0x40d2c3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40d2c3
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
push 0
cmova ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x48]
push edx
add eax, eax
mov dword [ebp - 0x48], 0
push eax
push ecx
push dword [0x44cd10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d2c3
push dword [0x44cd10]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40d304
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d2fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3ad
push ecx
push edx
call fcn.0040ddf3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00408e90
mov ecx, eax
mov dword [ebp - 4], 1
cmp byte [0x44e08c], 0
je 0x40d374
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x40d374
cmp dword [ecx + 0x14], 7
jbe 0x40d347
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push edx
add eax, eax
push eax
push ecx
push dword [0x44cd10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d374
push dword [0x44cd10]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401ef0
inc esi
cmp esi, edi
jae 0x40d390
mov eax, dword [ebp - 0x44]
jmp 0x40d240
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ddb0
mov esp, ebp
pop ebp
ret
call fcn.004113c7
int3

Function at 0x40ea53
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ea92
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ea92
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ea92
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40ea92
cmp dword [ecx + 0x74], 0xe
jbe 0x40ea92
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x417b34
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x444494
push 0x44448c
push str.FlsAlloc
push 0x1e
call fcn.00417a14
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417b68
push dword [ebp + 8]
mov ecx, esi
call dword [0x4231b8]
call esi
jmp 0x417b6e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x417bb2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4444a4
push 0x44449c
push str.FlsGetValue
push 0x20
call fcn.00417a14
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417be9
push dword [ebp + 8]
mov ecx, esi
call dword [0x4231b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x419324
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41936f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004194c3
test al, al
jne 0x419369
sub edx, 2
cmp edx, edi
jne 0x41934f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x419391
lea eax, [edi + 2]
cmp edx, eax
je 0x419391
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00419270
add esp, 0x10
jmp 0x41948b
push esi
lea ecx, [ebp - 0x255]
call fcn.004194c3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4193d4
push dword [ebp - 0x25c]
jmp 0x419381
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x419411
cmp word [ebp - 0x226], 0
je 0x419432
cmp word [ebp - 0x226], ax
jne 0x419411
cmp word [ebp - 0x224], 0
je 0x419432
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00419270
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41947e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4193eb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x419466
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41948b
push 0x4190a0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041dd80
add esp, 0x10
jmp 0x41945b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ddb0
leave
ret
Function at 0x419d9a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x419dab
pop esi
ret
push ebx
push edi
push esi
call fcn.00419d63
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041665a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x419dd3
push ebx
push esi
push edi
call fcn.0040f200
add esp, 0xc
push 0
call fcn.00415f48
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x41a197
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419de8
Function at 0x41fca0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41fccd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41fccd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, edi
mov ebp, dword [eax + 0x24]
add ebx, edi
mov eax, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x405e91
mov edx, dword [edx + ecx*4]
add edx, edi
xor esi, esi
jmp 0x405e7a
movzx eax, al
or eax, 0x60
add esi, eax
inc edx
add esi, esi
mov al, byte [edx]
test al, al
jne 0x405e6f
cmp esi, dword [esp + 0x10]
je 0x405e9b
mov edx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x14]
jb 0x405e66
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx eax, word [ebp + ecx*2]
mov eax, dword [ebx + eax*4]
add eax, edi
jmp 0x405e93

Function at 0x406d80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5ffff8]
test eax, eax
jne 0x406d92
pop ebp
jmp fcn.004091e0
cmp eax, 1
jne 0x406d9d
pop ebp
jmp fcn.00406db0
xor al, al
pop ebp
ret 8
Function at 0x40af50
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
push 0x587878
push eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.0054b69a
mov edi, eax
add esp, 8
test edi, edi
jne 0x40afb9
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0054b87d
add esp, 0x10
test eax, eax
je 0x40affe
push eax
lea eax, [ebp - 0x404]
mov ecx, esi
push eax
call fcn.0040aba0
push edi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0054b87d
add esp, 0x10
test eax, eax
jne 0x40afd4
mov ecx, esi
call fcn.0040a330
push edi
call fcn.0054b476
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x68]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4

Function at 0x40b030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, edx
push esi
mov esi, ecx
push edi
lea edi, [eax + 1]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b068
sub eax, edi
mov ecx, esi
push eax
push edx
call fcn.0040aba0
mov ecx, esi
call fcn.0040a330
pop edi
lea eax, [esi + 0x68]
pop esi
pop ebp
ret 4
Function at 0x40b270
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x40b296
cmp eax, 1
jne 0x40b41b
push 0
push 0
push 0xe
push 0x78b
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40b408
push esi
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052bd85
add esp, 4
mov edi, eax
mov dword [ebp - 0xb4], edi
push esi
push edi
push 0x78b
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
call fcn.0040b9e0
push 0
push 0xffffffffffffffff
push 0xfde9
push edi
mov ecx, eax
call fcn.00427d90
mov edx, eax
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x40b379
push edx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xb0], 0x67452301
mov dword [ebp - 0xac], 0xefcdab89
mov dword [ebp - 0xa8], 0x98badcfe
mov dword [ebp - 0xa4], 0x10325476
call fcn.0040b030
push eax
push 0x78d
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
call fcn.0052bd8e
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x40b3ee
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b383
sub ecx, esi
lea eax, [ebp - 0x24]
push ecx
push edx
push eax
call fcn.0040c620
push 0x82
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00544020
add esp, 0x18
lea edi, [ebp - 0xa8]
xor esi, esi
movzx eax, byte [ebp + esi - 0x24]
push eax
push str._02x
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
inc esi
add esp, 0xc
add edi, 4
cmp esi, 0x20
jb 0x40b3b5
lea eax, [ebp - 0xa8]
push eax
push 0x78d
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [ebp - 0xb4]
push edi
call fcn.0052bd8e
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
push 0x586904
push 0x78d
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret
Function at 0x40c0d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e388
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5fc150]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
sub eax, 0x110
je 0x40c261
sub eax, 1
jne 0x40c25a
mov esi, dword [ebp + 0x10]
mov eax, esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
shr eax, 0x10
cmp eax, 0x300
jne 0x40c164
mov eax, 0x78b
cmp si, ax
jne 0x40c164
push 0
push 0
push 0xf0
push 0x78c
push dword [ebx + 0xc]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebx
cmp eax, 1
jne 0x40c15f
call fcn.0040b430
jmp 0x40c164
call fcn.0040b270
cmp esi, 0x78c
ja 0x40c1c3
je 0x40c18e
sub esi, 1
je 0x40c305
sub esi, 1
jne 0x40c25a
push esi
push esi
mov ecx, ebx
call fcn.004e92f0
jmp 0x40c305
push 0
push 0
push 0xf0
push 0x78c
push dword [ebx + 0xc]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebx
cmp eax, 1
jne 0x40c1b9
call fcn.0040b430
jmp 0x40c305
call fcn.0040b270
jmp 0x40c305
cmp esi, 0x78e
jne 0x40c25a
push 0
push 0
push 0xe
push 0x78d
push dword [ebx + 0xc]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40c305
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052bd85
add esp, 4
mov edi, eax
push esi
push edi
push 0x78d
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push edi
lea ecx, [ebp - 0x28]
call fcn.004029a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push dword [ebx + 0xc]
push eax
call fcn.00426ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004038c0
push edi
call fcn.0052bd8e
add esp, 4
jmp 0x40c305
xor eax, eax
jmp 0x40c30a
call fcn.0040baa0
push 0x60
push dword [eax + 0x10]
push 0xd
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x58787c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 0x78b
push dword [ebx + 0xc]
call esi
mov ebx, eax
mov eax, dword [ebp - 0x2c]
push 0x78d
push dword [eax + 0xc]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push edi
push 0x30
push ebx
mov dword [ebp - 0x30], eax
call esi
push 1
push edi
mov edi, dword [ebp - 0x30]
push 0x30
push edi
call esi
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffeb
push ebx
call esi
push 0x40a430
push 0xfffffffffffffffc
push ebx
call esi
mov ebx, dword [ebp - 0x2c]
push ebx
push 0xffffffffffffffeb
push edi
mov dword [ebx + 0x24], eax
call esi
push 0x40a460
push 0xfffffffffffffffc
push edi
call esi
mov dword [ebx + 0x28], eax
mov eax, 1
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.0052c233
mov esp, ebp
pop ebp
ret 0x10