joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416610
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x416682
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x416682
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41663c
shr eax, 4
pop edi
and al, 1
pop esi
pop ebp
ret
push esi
call fcn.0051f978
mov edi, eax
push 0x5c
push edi
call fcn.004f0a07
add esp, 0xc
test eax, eax
je 0x41667c
push ebx
xor ecx, ecx
push edi
mov word [eax], cx
call fcn.00416610
push edi
mov bl, al
call fcn.004faf71
add esp, 8
test bl, bl
pop ebx
je 0x416682
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x416682
pop edi
mov al, 1
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x4186d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4186fc
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x418774
push 0x228
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.004f0120
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41876d
nop
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0051f9d9
add esp, 8
test eax, eax
je 0x418767
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418740
jmp 0x41876d
mov ebx, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.00484a0d
mov esp, ebp
pop ebp
ret

Function at 0x41bf90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558de0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5be984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004845cc
mov edi, eax
add esp, 4
test edi, edi
je 0x41c03b
push 1
mov dword [ebp - 4], 0
call fcn.0046a5a7
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ce80
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558ef6
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x24]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41cfb5
lea eax, [ebp - 0x2c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41cfb5
mov eax, dword [ebp - 0x2c]
push 0
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41cfb5
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
cmp eax, 1
sete bl
cmp dword [0x5bd52c], 3
jl 0x41cfae
call fcn.00419fd0
cmp dword [eax], 0
je 0x41cfae
push 0xa0
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.004f0120
add esp, 0xc
mov dword [ebp - 0xcc], vtable.CLog_class_COutput2FILE_.0
lea ecx, [ebp - 0xc4]
push 1
push 2
call fcn.00413a20
mov dword [ebp - 0xcc], vtable.CFileLog.0
push str._ExitWindowsEx_suc
push str.globalfuction::_ShutdownSystem
push 0
push 3
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0
call fcn.00416ef0
mov ecx, eax
call fcn.00415300
mov ecx, eax
call fcn.00415300
lea ecx, [ebp - 0xcc]
call fcn.00414710
mov al, bl
jmp 0x41d055
cmp dword [0x5bd52c], 3
jl 0x41d053
call fcn.00419fd0
cmp dword [eax], 0
je 0x41d053
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa0
mov esi, eax
lea eax, [ebp - 0x16c]
push 0
push eax
call fcn.004f0120
add esp, 0xc
mov dword [ebp - method.CLog_class_COutput2FILE_.virtual_0], vtable.CLog_class_COutput2FILE_.0
lea ecx, [ebp - 0x164]
push 1
push 2
call fcn.00413a20
mov dword [ebp - method.CFileLog.virtual_0], vtable.CFileLog.0
push str._update_process_privilege_failed_errorcode:
push str.globalfuction::_ShutdownSystem
push 0
push 3
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 1
call fcn.00416ef0
mov ecx, eax
call fcn.00415300
mov ecx, eax
call fcn.00415300
push esi
lea ecx, [eax + 8]
call fcn.004156c0
lea ecx, [ebp - 0x16c]
call fcn.00414710
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
Function at 0x421210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x430]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x434], 1
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x430], 0x206
lea edi, [esi + 0x410]
push edi
push eax
push 0x5753f4
push 0x5753fc
push SysReAllocStringLen
call ebx
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421270
sub ecx, edx
sar ecx, 1
jne 0x421294
push str.Home
push 0x104
push edi
call fcn.0051eaef
add esp, 0xc
lea eax, [ebp - 0x430]
mov dword [ebp - 0x438], 0
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x434], 4
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x430], 4
push eax
push str.userid
push str.Software360Safe
push SysReAllocStringLen
call ebx
mov eax, dword [ebp - 0x438]
mov ecx, 1
test eax, eax
cmove eax, ecx
push eax
push 0x574530
mov dword [ebp - 0x438], eax
lea eax, [esi + 0x618]
push 0x104
push eax
call fcn.00404ae0
add esp, 0x10
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0040c250
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42133a
mov eax, dword [eax]
push eax
push 0x104
push esi
call fcn.0051eaef
mov edx, dword [ebp - 0x418]
add esp, 0xc
cmp edx, 8
jb 0x421389
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42137f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421432
push edx
push ecx
call fcn.004845fc
add esp, 8
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421390
sub ecx, edx
sar ecx, 1
jne 0x4213b4
push str.1.0.0.1001
push 0x104
push esi
call fcn.0051eaef
add esp, 0xc
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f0120
add esp, 0xc
mov dword [ebp - 0x430], 0x103
lea eax, [ebp - 0x430]
mov dword [ebp - 0x434], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x434]
push eax
push 0x575480
push str.SOFTWARE360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
lea eax, [ebp - 0x20c]
push eax
push 0x574488
lea eax, [esi + 0x208]
push 0x20
push eax
call fcn.00421550
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00484a0d
mov esp, ebp
pop ebp
ret
call fcn.004faed4
int3

Function at 0x421590
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x60
push 0
mov dword [esi], 0
lea eax, [esi + 0x5c]
push eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.004f0120
add esp, 0xc
mov eax, esi
pop esi
ret
Function at 0x4215e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
jns 0x4215f6
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
cmp dword [esi], 0
jne 0x421635
push 0x60
lea eax, [esi + 0x5c]
mov dword [esi + 4], 0x67452301
push 0
push eax
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.004f0120
add esp, 0xc
mov dword [esi], 1
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
lea eax, [ecx + ebx*8]
mov dword [esi + 0x14], eax
cmp eax, ecx
jae 0x42164c
inc edx
mov eax, ebx
shr ecx, 3
shr eax, 0x1d
add eax, edx
mov dword [esi + 0x18], eax
push edi
and ecx, 0x3f
je 0x4216a8
mov eax, 0x40
lea edx, [esi + 0x1c]
sub eax, ecx
add edx, ecx
mov dword [ebp + 0xc], eax
cmp ebx, eax
jae 0x42168b
push ebx
push dword [ebp + 8]
push edx
call fcn.004ef620
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov edi, dword [ebp + 8]
push eax
push edi
push edx
call fcn.004ef620
add esp, 0xc
mov ecx, esi
call fcn.00421c30
add edi, dword [ebp + 0xc]
sub ebx, dword [ebp + 0xc]
jmp 0x4216ab
mov edi, dword [ebp + 8]
lea eax, [esi + 0x1c]
mov dword [ebp + 0xc], eax
cmp ebx, 0x40
jb 0x4216f7
mov ecx, ebx
shr ecx, 6
mov dword [ebp + 8], ecx
nop
movups xmm0, xmmword [edi]
mov ecx, esi
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [eax + 0x30], xmm0
call fcn.00421c30
add edi, 0x40
lea eax, [esi + 0x1c]
sub ebx, 0x40
sub dword [ebp + 8], 1
jne 0x4216c0
mov eax, dword [ebp + 0xc]
push ebx
push edi
push eax
call fcn.004ef620
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x421710
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x42184d
mov edx, esi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x421730
sub edx, ecx
sar edx, 1
push ebx
lea ebx, [edx + edx]
test ebx, ebx
jns 0x421752
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [edi], 0
jne 0x421791
push 0x60
lea eax, [edi + 0x5c]
mov dword [edi + 4], 0x67452301
push 0
push eax
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.004f0120
add esp, 0xc
mov dword [edi], 1
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
lea eax, [ecx + ebx*8]
mov dword [edi + 0x14], eax
cmp eax, ecx
jae 0x4217a8
inc edx
mov eax, ebx
shr ecx, 3
shr eax, 0x1d
add eax, edx
mov dword [edi + 0x18], eax
and ecx, 0x3f
je 0x4217fe
mov eax, 0x40
lea edx, [edi + 0x1c]
sub eax, ecx
add edx, ecx
mov dword [ebp + 8], eax
cmp ebx, eax
jae 0x4217e6
push ebx
push esi
push edx
call fcn.004ef620
add esp, 0xc
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
push esi
push edx
call fcn.004ef620
add esp, 0xc
mov ecx, edi
call fcn.00421c30
add esi, dword [ebp + 8]
sub ebx, dword [ebp + 8]
lea eax, [edi + 0x1c]
mov dword [ebp - 4], eax
cmp ebx, 0x40
jb 0x421848
mov ecx, ebx
shr ecx, 6
mov dword [ebp + 8], ecx
movups xmm0, xmmword [esi]
mov ecx, edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [eax + 0x30], xmm0
call fcn.00421c30
add esi, 0x40
lea eax, [edi + 0x1c]
sub ebx, 0x40
sub dword [ebp + 8], 1
jne 0x421811
mov eax, dword [ebp - 4]
push ebx
push esi
push eax
jmp 0x4217d0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x422df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
or eax, 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x422e1c
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5bd578]
sub edi, 1
jne 0x422e02
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x423a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
je 0x423ad5
mov ecx, dword [ebp + 0x10]
add esi, 0x48
push ebx
push edi
lea ebx, [ecx + 4]
lea edi, [ecx + 0x1c]
nop
mov eax, dword [ecx]
mov dword [esi - 0x48], eax
lea eax, [esi - 0x44]
cmp eax, ebx
je 0x423a52
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x423a46
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [esi - 0x44]
push eax
call fcn.004048f0
lea eax, [esi - 0x2c]
cmp eax, edi
je 0x423a6f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x423a63
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [esi - 0x2c]
push eax
call fcn.004048f0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x38]
mov dword [esi - 0x10], eax
mov eax, dword [ecx + 0x3c]
mov dword [esi - 0xc], eax
mov eax, dword [ecx + 0x40]
mov dword [esi - 8], eax
mov eax, dword [ecx + 0x44]
mov dword [esi - 4], eax
mov ax, word [ecx + 0x48]
mov word [esi], ax
mov eax, dword [ecx + 0x4c]
mov dword [esi + 4], eax
mov eax, dword [ecx + 0x50]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x54]
mov dword [esi + 0xc], eax
lea eax, [ecx + 0x58]
push eax
lea ecx, [esi + 0x10]
call fcn.00423d90
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x68]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x6c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x70]
mov dword [esi + 0x28], eax
add esi, 0x78
lea eax, [esi - 0x48]
cmp eax, dword [ebp + 0xc]
jne 0x423a30
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x427f10
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5be984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0xd], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x427f5e
mov eax, dword [eax]
test eax, eax
je 0x428033
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x428033
push ecx
push eax
push dword [0x5c89e8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x428033
push edi
push dword [0x5c89e8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x5c89e8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x428033
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x428033
mov eax, 0x11
push esi
mov word [ebp - 0x20], ax
call fcn.0048460a
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x428033
push esi
push edi
push eax
call fcn.004ef620
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp + 8], 0
cmp dword [eax + 0x14], 8
jb 0x427ff0
mov eax, dword [eax]
push 0x574084
push eax
lea eax, [ebp + 8]
push eax
call fcn.004fb202
add esp, 0xc
test eax, eax
jne 0x428028
mov eax, dword [ebp + 8]
test eax, eax
je 0x428028
push eax
push esi
push 1
push dword [ebp - 0x18]
call fcn.0050d63e
push dword [ebp + 8]
call fcn.0050c934
add esp, 0x14
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call fcn.00484613
add esp, 4
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428960
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559ecd
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
mov dword [ebp - 0x44c], esi
push eax
mov dword [ebp - 0x444], 0
push dword [0x5c89e8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4289e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004048f0
push 7
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov ecx, esi
push str.0.0.0.0
mov dword [ebp - 4], 1
mov word [esi], ax
call fcn.004048f0
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x448]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x444], 2
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x43c], eax
test eax, eax
je 0x428b38
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048460a
add esp, 4
mov dword [ebp - 0x440], 0
cmp dword [ebp - 0x424], 8
mov edi, eax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push edi
push dword [ebp - 0x43c]
push dword [ebp - 0x448]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x440]
push eax
push 0x57446c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x428b2f
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x428b2f
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push 0x103
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004123e0
lea ecx, [ebp - 0x420]
add esp, 0x20
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428b11
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004048f0
push edi
call fcn.00484613
add esp, 4
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x428b74
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428b6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b91
push edx
push ecx
call fcn.004845fc
add esp, 8
mov eax, esi
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.00484a0d
mov esp, ebp
pop ebp
ret
call fcn.004faed4
int3
Function at 0x42bab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a310
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
sub esi, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x42bb16
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00408200
mov eax, dword [ebp - 0x34]
jmp 0x42bc6f
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
cmp edx, eax
jge 0x42bb2a
test byte [ecx + 0x44], 2
jne 0x42bc8c
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 4], 1
test esi, esi
je 0x42bb6d
nop dword [eax]
add ecx, dword [edi + 0x14]
cmp dword [edi], 0xfffffffe
jne 0x42bb62
mov eax, dword [edi + 0x38]
cmp ecx, eax
cmovae eax, ecx
mov ecx, eax
add ecx, dword [edi + 0x2c]
add edi, 0x78
sub esi, 1
jne 0x42bb50
push ecx
lea ecx, [ebp - 0x28]
call fcn.00412150
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x40], 8
lea ecx, [esi + 0x2c]
jb 0x42bb85
mov ecx, dword [esi + 0x2c]
push dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404770
mov edi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov eax, 0x88888889
mov ecx, dword [esi + 4]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42bc49
xor eax, eax
mov dword [ebp - 0x2c], eax
nop dword [eax + eax]
add eax, edi
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x42bbce
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404770
mov eax, dword [ebp - 0x2c]
cmp dword [edi + eax], 0xfffffffe
jne 0x42bc02
mov ecx, dword [edi + eax + 0x38]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jbe 0x42bc02
movzx eax, word [edi + eax + 0x48]
sub ecx, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004298b0
mov eax, dword [ebp - 0x2c]
add eax, edi
cmp dword [eax + 0x30], 8
lea ecx, [eax + 0x1c]
jb 0x42bc10
mov ecx, dword [eax + 0x1c]
push dword [eax + 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404770
mov ecx, dword [esi + 4]
mov eax, 0x88888889
mov edi, dword [esi]
sub ecx, edi
inc dword [ebp - 0x30]
add dword [ebp - 0x2c], 0x78
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
jb 0x42bbc0
mov eax, dword [ebp - 0x34]
movups xmm0, xmmword [ebp - 0x28]
mov byte [esi + 0x28], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
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.00484a0d
mov esp, ebp
pop ebp
ret 4
push eax
push edx
lea ecx, [ebp - 0x24]
call fcn.00426500
push eax
mov dword [ebp - 4], 0
call fcn.004257a0
int3