joyce8/EMBER2024-capa huggingface dataset:
Function at 0x94ad20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x94ad58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x94ad60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x94ad94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x94ad94
push eax
push esi
call fcn.0094d20b
add esp, 8
pop esi
ret 0x10

Function at 0x94ada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x94ae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x94ae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x963320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0094cdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x94adda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x94ae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x94aec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x94aeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x963320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0094cdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x94aeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x94ae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x94b000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x94b131
push esi
call fcn.0094e145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0093d080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x94b131
push 0
push ebp
call fcn.0093d3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0093d260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x94b08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0093d2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x94b121
push 0x963918
push edi
call fcn.0094c3f0
push eax
push ebx
push esi
call fcn.0094af60
push 0x9638f8
push edi
call fcn.0094c3f0
push eax
push ebx
push esi
call fcn.0094af60
push 0x9638d8
push edi
call fcn.0094c3f0
push eax
push ebx
push esi
call fcn.0094af60
push 0x9638c0
push edi
call fcn.0094c3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0094af60
push 0x9638a0
push edi
call fcn.0094c3f0
push eax
push ebx
push esi
call fcn.0094af60
push 0x963888
push edi
call fcn.0094c3f0
push eax
push ebx
push esi
call fcn.0094af60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x94c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0094c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0094c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0094c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0094c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x94cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x94cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x95e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x94cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x94cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x50b580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x50b59a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50b5a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b590
mov eax, 1
add ebx, ebx
jne 0x50b5b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50b5a8
jne 0x50b5c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5a8
xor ecx, ecx
sub eax, 3
jb 0x50b5d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50b64a
mov ebp, eax
add ebx, ebx
jne 0x50b5e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50b5f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50b614
inc ecx
add ebx, ebx
jne 0x50b600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50b5f5
jne 0x50b611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50b634
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50b625
jmp 0x50b596
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50b634
add edi, ecx
jmp 0x50b596
pop esi
mov edi, esi
mov ecx, 0x1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50b652
cmp byte [edi], 6
jne 0x50b652
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50b657
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x50b6c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50b684
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdb2c]
or eax, eax
je 0x50b6c0
mov dword [ebx], eax
add ebx, 4
jmp 0x50b6a1
call dword [esi + 0xdb28]
mov ebp, dword [esi + 0xdb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50b6fa
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x43b64c
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
dec eax
sub eax, 1
sub edx, 0x9ada2ee6
call fcn.0043b692
and eax, edx
or edx, eax
sub esp, 4
mov dword [esp], edx
pop edx
xor dword [esi], ebx
or edx, eax
add eax, eax
and edx, edx
inc esi
add eax, 0x628faa22
add eax, 0xa247d535
dec edx
cmp esi, edi
jne fcn.0043b64c
add edx, 0x3cb11f79
ret
Function at 0x41b0b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x41b0c8
pop dword [ebp - 4]
mov eax, 0x41b0c8
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x4d84a
push 0
mov eax, 0x560023f6
sub eax, 0x55bb713a
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x411e696b
sub ecx, 0x411e2af5
mov esi, eax
mov edx, 0x487e00
add edx, dword [ebp - 4]
mov ebx, 0xbb41d42f
add ebx, 0x70b56d9b
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
add esi, 4
add edx, 4
loop 0x41b11c
add eax, 0xecab
mov ebx, eax
add eax, 0xb1450100
add eax, 0x4ebaff05
mov ecx, 0x6114da13
add ecx, 0x9f2b25ed
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x404230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50f74b
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54a050]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24]
lea esi, [ebx + 8]
mov dword [ebx], 0x52ea98
xor ebp, ebp
mov dword [esi], method.CArray_int__int_const__.virtual_0
mov dword [esi + 4], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
mov dword [esp + 0x1c], ebp
mov edi, 0x50
mov dword [ebx + 4], ebp
mov dword [ebx + 0x84], 1
call fcn.00404d10
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4042a3
push eax
call fcn.004a2106
add esp, 4
mov dword [esi + 4], ebp
fld1
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
fstp dword [ebx + 0x80]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x7c], ebp
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x406510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406529
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406564
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406560
lea ebx, [ebx]
cmp esi, eax
jae 0x406564
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406550
cmp esi, eax
jb 0x40656a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40cca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x6c4]
cmp eax, 0x897
push esi
ja 0x40cd5f
mov ecx, dword [ebx + eax*4 + 0x724]
imul ecx, ecx, 0x34
cmp dword [ecx + 0x70e1ec], 1
je 0x40cce6
cmp eax, 0x897
ja 0x40cd5f
mov edx, dword [ebx + eax*4 + 0x724]
imul edx, edx, 0x34
cmp dword [edx + 0x70e1ec], 2
jne 0x40cd5f
xor ecx, ecx
mov dword [0x9d81d0], ecx
mov dword [0xa7ecb8], 0xffffffff
mov eax, dword [ebx + 0x6c4]
mov eax, dword [ebx + eax*4 + 0x724]
imul eax, eax, 0x34
mov dword [ebx + 0xa4], ecx
add eax, 0x70e1ec
mov dword [ebx + 0xa0], 0xa
mov dword [ebx + 0xa8], eax
mov edx, dword [eax + 4]
cmp dword [eax], 1
mov dword [edx], ecx
mov edx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [eax + 4]
mov dword [edx + 8], ecx
mov byte [eax + 0x10], 3
mov ecx, dword [ebx + 0x6c4]
call fcn.0040a2a0
mov esi, dword [ebx + 0x6c4]
push ebx
call fcn.00409ab0
mov ecx, dword [0xa7f2e8]
pop esi
pop ebx
jmp fcn.00454960
pop esi
pop ebx
ret
Function at 0x411c10
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x513633
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x54a050]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
push esi
push edi
mov eax, dword [0x54a050]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [0xa7ecb8]
lea eax, [eax + eax*8]
mov eax, dword [eax*8 + 0x744354]
cmp eax, 0x20
je 0x411dfd
cmp eax, 0x60
je 0x411dfd
push 0xef4c
call fcn.004ac0dc
test eax, eax
je 0x411c8d
push 0xef4c
push eax
mov ecx, 0x54ef94
call fcn.00406400
mov eax, dword [0x54ef94]
add eax, 0xfffffff0
push eax
call fcn.00401a80
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebp
push 0x5302fc
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], 0
call fcn.00407ac0
lea ecx, [esp + 0x20]
push ecx
push 0x106
mov byte [esp + 0x138], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x1c8
call fcn.004a20db
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0x130], 2
je 0x411d27
call fcn.004b597f
test eax, eax
je 0x411d09
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x411d0b
xor eax, eax
push 0
push eax
mov eax, dword [esp + 0x18]
push ebp
push 0x1004
push eax
push eax
push 1
mov ecx, esi
call fcn.004ab1c6
mov esi, eax
jmp 0x411d29
xor esi, esi
push 0xef4d
mov byte [esp + 0x134], 1
call fcn.004ac0dc
test eax, eax
je 0x411d4f
push 0xef4d
push eax
mov ecx, 0x54ef94
call fcn.00406400
mov edi, dword [0x54ef94]
mov ecx, esi
call fcn.004aada3
mov ecx, esi
mov dword [eax + 0x30], edi
call fcn.004aada3
mov dword [eax + 0x2c], str..Objekte
mov edx, dword [esi]
mov eax, dword [edx + 0x144]
mov ecx, esi
call eax
cmp eax, 1
jne 0x411da1
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, esi
call fcn.004ab372
mov ecx, dword [esp + 0x18]
call fcn.00411e60
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov byte [esp + 0x130], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411dd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x130], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x411e2b
push 0xef4b
call fcn.004ac0dc
test eax, eax
je 0x411e1b
push 0xef4b
push eax
mov ecx, 0x54ef94
call fcn.00406400
mov ecx, dword [0x54ef94]
push 0
push 0x10
push ecx
call fcn.004b3f81
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004d1930
add esp, 0x124
ret
Function at 0x41d6d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [edi + 0x6c0]
test eax, eax
push ebx
push esi
jl 0x41d832
cmp eax, 0x10
jge 0x41d832
mov eax, dword [edi + eax*4 + 0x6c4]
cmp eax, 0xf
ja 0x41d832
mov ecx, eax
imul ecx, ecx, 0x34
cmp dword [ecx + 0x6ea644], 0
jl 0x41d832
imul eax, eax, 0x34
mov eax, dword [eax + 0x6ea644]
push 0
push 0
lea edx, [eax + eax*8]
mov eax, dword [edi + 0x9cc]
mov esi, dword [edx*8 + 0x744354]
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 0x31
cmp esi, 0x800
mov dword [esp + 8], eax
fild dword [esp + 8]
fmul qword [str.PERT]
jg 0x41d7aa
je 0x41d7a2
cmp esi, 0x400
jg 0x41d782
je 0x41d77a
cmp esi, 0x100
je 0x41d812
cmp esi, 0x200
je 0x41d812
cmp esi, 0x300
jne 0x41d7cc
fstp dword [edi + 0x90]
jmp 0x41d7ce
cmp esi, 0x500
je 0x41d82a
cmp esi, 0x600
je 0x41d82a
cmp esi, 0x700
jne 0x41d7cc
fstp dword [edi + 0x98]
jmp 0x41d7ce
cmp esi, 0xc00
jg 0x41d81a
je 0x41d82a
cmp esi, 0x900
je 0x41d812
cmp esi, 0xa00
je 0x41d812
cmp esi, 0xb00
je 0x41d82a
fstp st(0)
fld dword [edi + 0x98]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ebx, 0x54ef98
fld dword [edi + 0x94]
fstp dword [esp + 8]
fld dword [edi + 0x90]
fstp dword [esp + 4]
fld dword [edi + 0x8c]
fstp dword [esp]
call fcn.0041d2f0
mov ecx, dword [0xa7f2e8]
pop esi
pop ebx
add esp, 4
jmp fcn.00454960
fstp dword [edi + 0x8c]
jmp 0x41d7ce
cmp esi, 0xd00
je 0x41d82a
cmp esi, 0xe00
jne 0x41d7cc
fstp dword [edi + 0x94]
jmp 0x41d7ce
pop esi
pop ebx
pop ecx
ret

Function at 0x42ba50
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0xa4]
xor ecx, ecx
cmp eax, 0x897
mov edx, 3
ja 0x42bb1a
mov esi, dword [edi + eax*4 + 0x724]
imul esi, esi, 0x34
cmp dword [esi + 0x70e1ec], ecx
je 0x42ba9b
cmp eax, 0x897
ja 0x42bb1a
mov eax, dword [edi + eax*4 + 0x724]
imul eax, eax, 0x34
cmp dword [eax + 0x70e1ec], edx
jne 0x42bb1a
mov dword [0x9d81d0], ecx
mov dword [0xa7ecb8], 0xffffffff
mov eax, dword [edi + 0xa4]
mov eax, dword [edi + eax*4 + 0x724]
imul eax, eax, 0x34
add eax, 0x70e1ec
mov dword [edi + 0xa8], 0xd
mov dword [edi + 0xac], ecx
mov dword [edi + 0xb0], eax
cmp dword [eax], ecx
jne 0x42baf0
mov esi, dword [eax + 0xc]
mov dword [esi], ecx
mov esi, dword [eax + 0xc]
mov dword [esi + 4], ecx
mov esi, dword [eax + 0xc]
mov dword [esi + 8], ecx
mov byte [eax + 0x10], dl
jmp 0x42baf6
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [edi + 0xa4]
call fcn.0042a200
push edi
mov edi, dword [edi + 0xa4]
call fcn.004298e0
mov ecx, dword [0xa7f2e8]
pop edi
pop esi
jmp fcn.00454960
pop edi
pop esi
ret
Function at 0x430170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4301ba
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jbe 0x4301ba
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4301ba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4301ba
mov edx, dword [esp + 0xc]
push ebx
push edi
push eax
push edx
call fcn.0046da65
test eax, eax
jl 0x4301ca
mov eax, dword [ebx]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop edi
pop esi
ret
Function at 0x447800
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5114c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54a050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, 0x6f6090
mov dword [esp + 0x14], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x447837
sub eax, ecx
cmp eax, 5
jb 0x4478bd
mov eax, dword [0x6f619c]
sub eax, dword [0x6f6194]
js 0x4478bd
mov ecx, dword [0x6f61a0]
sub ecx, dword [0x6f6198]
js 0x4478bd
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push 0x6f6090
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x38
mov esi, eax
call fcn.004d5f80
add esp, 4
push 0
lea edx, [esp + 0x20]
push edx
push 0x38
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [edi + 0x1c], 8
je 0x4478b4
mov dword [esp + 0x14], 1
push edi
call fcn.004d6cd0
add esp, 4
call fcn.004a7b93
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4478d9
push 0x80004005
call fcn.00401710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
cmp dword [0x6fbf40], ebx
jle 0x44796e
push ebx
lea ecx, [esp + 0x1c]
push str.TEXTEX_d.BMP
push ecx
call fcn.004018d0
mov ebp, dword [esp + 0x24]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x38
mov edi, eax
call fcn.004d5f80
add esp, 4
push 0
lea edx, [esp + 0x20]
push edx
push 0x38
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [esi + 0x1c], 8
je 0x44795a
mov dword [esp + 0x14], 1
push esi
call fcn.004d6cd0
add ebx, 1
add esp, 4
cmp ebx, dword [0x6fbf40]
jl 0x4478f5
add ebp, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447993
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x44a500
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x310
mov eax, dword [0x54a050]
xor eax, esp
mov dword [esp + 0x30c], eax
mov eax, dword [0x54ee50]
test eax, eax
push esi
mov esi, ecx
jl 0x44a537
mov eax, dword [eax*4 + 0x9d7d68]
push eax
push 0x104
lea ecx, [esp + 0x214]
push ecx
jmp 0x44a549
push 0x52ea50
push 0x104
lea edx, [esp + 0x214]
push edx
call fcn.004d4c80
mov edx, dword [0x533920]
mov eax, dword [str.help.deindex.htm]
mov ecx, dword [0x53391c]
add esp, 0xc
push edi
mov dword [esp + 8], eax
mov eax, dword [0x533924]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x154]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov cx, word [0x533928]
lea eax, [esp + 0x110]
push 0x104
push eax
mov word [esp + 0x24], cx
call fcn.004d4c80
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push edx
call edi
lea eax, [esp + 0x10c]
push 0x53392c
push eax
call fcn.004d8570
add esp, 8
test eax, eax
jne 0x44a60f
push str.help.deindex.htm
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.004d4c80
mov edx, dword [esi + 0x154]
push edx
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.004d4c80
add esp, 0x18
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push edx
call edi
jmp 0x44a618
push eax
call fcn.004d5700
add esp, 4
mov esi, dword [esi + 0x20]
test esi, esi
pop edi
jne 0x44a624
xor esi, esi
jmp 0x44a627
mov esi, dword [esi + 0x20]
push 1
push 0
push 0
lea eax, [esp + 0x114]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x310]
pop esi
xor ecx, esp
call fcn.004d1930
add esp, 0x310
ret