joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c400
Capabilities:
Print debug messages
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x472cf0]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1bc]
push str.VFS:_del_file_start_n
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.0041bad0
push 0
lea eax, [esi + 0x90]
push eax
push edi
call fcn.0041d400
mov edi, eax
mov eax, dword [esi + 0x78]
add esp, 0xc
test eax, eax
je 0x41c45f
cmp dword [esi + 0x1b0], 0
jne 0x41c45f
push eax
mov ecx, esi
call fcn.0041c2d0
test edi, edi
je 0x41c471
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.0041d5a0
add esp, 8
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
lea ebp, [esi + 0x19c]
push eax
mov ecx, ebp
call fcn.0041ad80
mov ebx, dword [esp + 0x10]
test ebx, ebx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x1c], ecx
je 0x41c49b
cmp ebx, ebp
je 0x41c4a0
call fcn.0043a87e
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x1c]
jne 0x41c4b4
mov eax, 3
jmp 0x41c609
mov edx, dword [esi + 0x5c]
push edx
call fcn.0043c765
add esp, 4
cmp dword [esi + 0x18], 0x10
jb 0x41c4cb
mov eax, dword [esi + 4]
jmp 0x41c4ce
lea eax, [esi + 4]
push 0x46047c
push eax
call fcn.0043df8b
add esp, 8
test ebx, ebx
mov dword [esi + 0x5c], eax
jne 0x41c4e8
call fcn.0043a87e
cmp edi, dword [ebx + 4]
jne 0x41c4f2
call fcn.0043a87e
cmp edi, dword [ebx + 4]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], eax
jne 0x41c503
call fcn.0043a87e
mov ecx, dword [edi + 0x20]
mov edx, dword [esi + 0x5c]
push 0
push 0
push ecx
push edx
call fcn.0043f42f
push 0xe4
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.0043a0d0
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0xf4]
push 0xe4
push edx
call fcn.0043f37b
push 0x50
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.0043a0d0
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0xc0]
push 0x50
push edx
call fcn.0043f37b
add dword [esi + 0x64], 0xffffffff
add esp, 0x48
push edi
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0041af80
lea ecx, [esp + 0x20]
push ecx
push pe_nt_image_headers32
mov ecx, esi
call fcn.0041a0c0
lea edx, [esp + 0xd0]
push edx
mov ecx, esi
call fcn.0041b510
push 0x50
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0043a0d0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.0041a410
mov ecx, dword [esi + 0x5c]
push 0
push 0
push 0
push ecx
call fcn.0043f42f
mov edi, dword [esi + 0x5c]
push edi
push 1
push pe_nt_image_headers32
add esi, 0x60
push esi
call fcn.0043c4b8
push edi
call fcn.0043c1ff
add esp, 0x24
push str.VFS:_del_file_finsihed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a2e3
add esp, 0x1a8
ret 4
Function at 0x41e68c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x472cf0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x41e6cc
push 0x4608f8
push 4
push eax
call fcn.0043fb32
push eax
call fcn.004046e0
add esp, 0x10
jmp 0x41e6de
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x41e74c
push edi
call fcn.0043faee
mov edi, dword [eax]
call fcn.0043faee
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0043ab2f
add esp, 0x18
mov ebx, eax
call fcn.0043faee
cmp dword [eax], 0
je 0x41e72c
call fcn.0043faee
push dword [eax]
call fcn.0041dde7
pop ecx
jmp 0x41e733
call fcn.0043faee
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41e74c
cmp ebx, esi
jae 0x41e74c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x41e74e
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a2e3
leave
ret
Function at 0x420c69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x459901
call fcn.0043f8c4
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0042274e
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x420cb4
call fcn.0042274e
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x420cc5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x420cd2
or eax, 0xffffffff
jmp 0x420e2e
mov ecx, esi
call fcn.004207b0
mov dword [ebp - 0x14], eax
call fcn.0042649c
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x420d50
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x420d50
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x420d50
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041e657
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x420d50
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x420d50
mov ecx, ebx
call fcn.004235a5
test eax, eax
je 0x420d50
push 0
mov ecx, ebx
call fcn.004235c0
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00427e89
push dword [ebp - 0x14]
call fcn.004263f4
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00420a71
xor edi, edi
cmp eax, edi
je 0x420dad
test byte [esi + 0x3c], 0x10
je 0x420d97
push 4
pop edi
mov ecx, esi
call fcn.0042348c
test ax, 0x100
je 0x420d8d
push 5
pop edi
push edi
mov ecx, esi
call fcn.00425f8a
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x420dad
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00423793
or dword [ebp - 4], 0xffffffff
jmp 0x420dd8
cmp dword [ebp - 0x28], edi
je 0x420de6
push 1
mov ecx, ebx
call fcn.004235c0
cmp dword [ebp - 0x2c], edi
je 0x420df6
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x420e0f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x420e0f
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004207ea
cmp dword [esi + 0x58], edi
je 0x420e2b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043f969
ret
Function at 0x421517
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42155d
call fcn.0042274e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42155d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4215a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x421589
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x421589
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42159d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x427454
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42748d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00427417
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041fc78
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x428fa6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x428fe9
call fcn.0042274e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x428fe9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x429004
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00428b5d
test ebx, ebx
mov esi, eax
je 0x429002
test edi, edi
je 0x429002
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x429df0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x429e1e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x429e3c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00429d5a
jmp 0x429e3c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x429e3c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00429d5a
test edi, edi
mov eax, edi
jne 0x429e26
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x476990]
test ecx, ecx
je 0x429eff
jmp 0x429def
ret 8
Function at 0x43a2e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x472cf0]
jne 0x43a2ed
repz ret
jmp fcn.004455a8

Function at 0x43a2f2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43a31f
call fcn.0043fb01
mov dword [eax], esi
call fcn.0043faee
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0043a85a
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x43a2fb
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43a34e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043fb14
pop ecx
call fcn.0043faee
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x43a375
test al, 1
je 0x43a375
test byte [esp + 0xc], 2
je 0x43a375
call fcn.0043fb01
mov dword [eax], 5
call fcn.0043faee
mov dword [eax], 0xd
jmp 0x43a345
xor eax, eax
pop esi
ret
Function at 0x43f0df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43f11c
cmp dword [ebp + 0x14], edi
je 0x43f11c
cmp ecx, edi
jne 0x43f123
call fcn.0043faee
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043a85a
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43f137
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43f158
cmp ebx, 0xffffffff
je 0x43f147
push ebx
push edi
push ecx
call fcn.0043a0d0
add esp, 0xc
cmp esi, edi
je 0x43f104
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43f104
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43f174
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43f17b
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43f26c
test word [esi + 0xc], 0x10c
je 0x43f1cf
mov eax, dword [esi + 4]
test eax, eax
je 0x43f1cf
jl 0x43f2cd
cmp ebx, eax
mov edi, ebx
jb 0x43f1a0
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43f274
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00439f43
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43f264
cmp ebx, dword [ebp - 0xc]
jb 0x43f23c
cmp dword [ebp - 0xc], 0
je 0x43f1f9
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43f1ee
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43f1f5
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43f204
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43f204
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43f2a0
push eax
push dword [ebp - 8]
push esi
call fcn.0044a8cd
pop ecx
push eax
call fcn.0044d5a6
add esp, 0xc
test eax, eax
je 0x43f2df
cmp eax, 0xffffffff
je 0x43f2cd
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43f264
push esi
call fcn.0044a559
cmp eax, 0xffffffff
pop ecx
je 0x43f2d1
cmp dword [ebp - 4], 0
je 0x43f2a0
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43f183
mov eax, dword [ebp + 0x14]
jmp 0x43f11e
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43f28b
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043a0d0
add esp, 0xc
call fcn.0043faee
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43f114
cmp dword [ebp + 0xc], 0xffffffff
je 0x43f2b6
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043a0d0
add esp, 0xc
call fcn.0043faee
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43f114
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43f11e
or dword [esi + 0xc], 0x10
jmp 0x43f2d1
Function at 0x44899f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x473720]
je 0x4489ba
inc edi
cmp edi, 0x17
jb 0x4489ab
cmp edi, 0x17
jae 0x448b3a
push ebp
push 3
call fcn.004510bf
cmp eax, 1
pop ecx
je 0x448b06
push 3
call fcn.004510bf
test eax, eax
pop ecx
jne 0x4489ee
cmp dword [0x472dd0], 1
je 0x448b06
cmp ebx, 0xfc
je 0x448b39
push 0x464cc0
mov ebx, 0x314
push ebx
mov ebp, 0x477300
push ebp
call fcn.0043fb32
add esp, 0xc
test eax, eax
je 0x448a24
push esi
push esi
push esi
push esi
push esi
call fcn.0043a75e
add esp, 0x14
push 0x104
mov esi, 0x477319
push esi
push 0
mov byte [0x47741d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x448a68
push 0x464ca8
push 0x2fb
push esi
call fcn.0043fb32
add esp, 0xc
test eax, eax
je 0x448a68
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043a75e
add esp, 0x14
push esi
call fcn.0043f9d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x448aad
push esi
call fcn.0043f9d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x477614
push 0x464ca4
sub ecx, eax
push ecx
push eax
call fcn.004413f6
add esp, 0x14
test eax, eax
je 0x448aad
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043a75e
add esp, 0x14
jmp 0x448aaf
xor esi, esi
push 0x464ca0
push ebx
push ebp
call fcn.0043fc1e
add esp, 0xc
test eax, eax
je 0x448acf
push esi
push esi
push esi
push esi
push esi
call fcn.0043a75e
add esp, 0x14
push dword [edi*8 + 0x473724]
push ebx
push ebp
call fcn.0043fc1e
add esp, 0xc
test eax, eax
je 0x448af1
push esi
push esi
push esi
push esi
push esi
call fcn.0043a75e
add esp, 0x14
push 0x12010
push 0x464c78
push ebp
call fcn.00450f02
add esp, 0xc
jmp 0x448b39
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x448b39
cmp ebp, 0xffffffff
je 0x448b39
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x473724]
push dword [esi]
call fcn.0043f9d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x450f02
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00445786
xor ebx, ebx
cmp dword [0x477860], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x450fd8
push 0x465e2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4510b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x465e20
push edi
call esi
cmp eax, ebx
je 0x4510b8
push eax
call fcn.00445718
mov dword [esp], 0x465e10
push edi
mov dword [0x477860], eax
call esi
push eax
call fcn.00445718
mov dword [esp], 0x465dfc
push edi
mov dword [0x477864], eax
call esi
push eax
call fcn.00445718
mov dword [0x477868], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043b6cd
test eax, eax
pop ecx
pop ecx
je 0x450fa6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043a75e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x450fd8
push 0x465de0
push edi
call esi
push eax
call fcn.00445718
cmp eax, ebx
pop ecx
mov dword [0x477870], eax
je 0x450fd8
push 0x465dc8
push edi
call esi
push eax
call fcn.00445718
pop ecx
mov dword [0x47786c], eax
mov eax, dword [0x47786c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45105d
cmp dword [0x477870], ecx
je 0x45105d
push eax
call fcn.0044578f
push dword [0x477870]
mov esi, eax
call fcn.0044578f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45105d
cmp edi, ebx
je 0x45105d
call esi
cmp eax, ebx
je 0x45102a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45102a
test byte [ebp - 0x18], 1
jne 0x45105d
lea eax, [ebp - 0x10]
push eax
call fcn.0043b704
test eax, eax
pop ecx
je 0x451045
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043a75e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x451054
or dword [ebp + 0x10], 0x200000
jmp 0x451098
or dword [ebp + 0x10], 0x40000
jmp 0x451098
mov eax, dword [0x477864]
cmp eax, dword [ebp - 8]
je 0x451098
push eax
call fcn.0044578f
cmp eax, ebx
pop ecx
je 0x451098
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x451098
mov eax, dword [0x477868]
cmp eax, dword [ebp - 8]
je 0x451098
push eax
call fcn.0044578f
cmp eax, ebx
pop ecx
je 0x451098
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x477860]
call fcn.0044578f
cmp eax, ebx
pop ecx
je 0x4510b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4510ba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x456ca0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x456cc0
push 0x88
push str..md5.c
push str.md___NULL
call fcn.00457010
add esp, 0xc
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
ret
Function at 0x4572b7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x472cf0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045724c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043a0d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x457306
cmp dword [ebp - 0x1c], 5
jb 0x45731e
jmp 0x45731a
cmp dword [ebp - 0x10], 1
jne 0x45731e
cmp dword [ebp - 0x1c], 4
ja 0x45731a
jne 0x45731e
cmp dword [ebp - 0x18], 0
jbe 0x45731e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x466318
call fcn.0045713d
test eax, eax
jge 0x45733f
mov byte [0x474204], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043a2e3
add ebp, 0x78
leave
ret
Function at 0x411d62
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x417678], 0
push ebx
push esi
mov esi, 0x417680
jne 0x411d8e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x417698], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x417678], 1
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x411e2b
push 0x14
push 8
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x411e55
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x41767c]
test eax, eax
je 0x411dd0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x41767c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x411e5a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411e55
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x1004b65
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jbe 0x1004b8f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
movzx dx, byte [eax + 1]
xor ebx, ebx
mov bh, byte [eax]
xor edx, ebx
mov word [ecx], dx
inc ecx
inc ecx
inc eax
inc eax
dec esi
jne 0x1004b79
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x405d7e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1244], 0
push esi
jne 0x405db5
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d8f
mov dword [ecx*4 + 0x7a1240], eax
inc ecx
cmp ecx, 0x100
jl 0x405d8a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405de6
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1240]
xor eax, esi
inc ecx
dec edx
jne 0x405dc8
pop edi
not eax
pop esi
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219