joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3d5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
mov dword [esp + 0x30], 1
lea eax, [esp + 0x40]
push 0x4e88c0
push eax
call fcn.00406fd0
add esp, 8
test al, al
jne 0x427fa3
lea ecx, [esp + 0x48]
push 0x4e88c0
push ecx
call fcn.00406fd0
add esp, 8
test al, al
jne 0x427fa3
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], 0
test eax, eax
je 0x427e16
lea edx, [esp + 8]
push edx
push eax
mov edi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x427e4f
mov eax, dword [esi]
mov edx, dword [eax + 0x304]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
lea edx, [esp + 0x18]
push edx
call eax
mov ecx, dword [eax]
mov dword [esp + 8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x427e94
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
test eax, eax
je 0x427e94
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x310]
call edx
cmp eax, edi
je 0x427e94
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x427e8a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
cmp dword [esi + 0xa4], 0
jne 0x427ecd
push 0x1a5
call fcn.0045d88f
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x30], 2
test eax, eax
je 0x427ec0
mov ecx, eax
call fcn.0043a310
jmp 0x427ec2
xor eax, eax
mov byte [esp + 0x30], 1
mov dword [esi + 0xa4], eax
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
test eax, eax
jne 0x427ef7
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3bc]
push 0
push 0
push 0
push 0
push edi
call edx
mov edi, dword [esp + 8]
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x24]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x3a8]
call eax
sub esp, 8
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.004176e0
mov byte [esp + 0x38], 3
sub esp, 8
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004176e0
mov byte [esp + 0x40], 4
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx]
mov byte [esp + 0x40], 1
mov edx, dword [eax + 0x3b0]
call edx
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x40]
call fcn.00417490
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.00417490
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret 0x1c
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x40]
call fcn.00417490
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.00417490
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret 0x1c
Function at 0x428810
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4e3ddf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0042c7d0
xor edi, edi
mov dword [esp + 0x134], edi
lea ecx, [esi + 0xa8]
mov dword [esi], 0x4ee5d0
call fcn.004173e0
mov byte [esp + 0x134], 1
lea ecx, [esi + 0xb0]
call fcn.004173e0
mov ebx, 2
mov byte [esp + 0x134], bl
lea ecx, [esi + 0xf4]
call fcn.00421900
mov byte [esp + 0x134], 3
lea ecx, [esi + 0x15c]
call fcn.004173e0
mov byte [esp + 0x134], 4
lea eax, [esp + 0x18]
mov ebp, 1
push eax
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0xec], ebp
mov dword [esi + 0xf0], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x13c], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0x140], edi
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp dword [esp + 0x28], ebx
sete cl
mov dword [esi + 0x170], ecx
cmp eax, 5
ja 0x428989
jne 0x428985
cmp dword [esp + 0x20], ebp
jae 0x428989
xor ecx, ecx
jmp 0x42898b
mov ecx, ebp
cmp eax, 6
sbb edx, edx
inc edx
mov dword [esi + 0x174], ecx
mov dword [esi + 0x178], edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 0xc
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push ebx
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x170]
mov dword [0x5220c0], eax
mov ecx, dword [esi + 0x174]
mov dword [0x5220c4], ecx
mov edx, dword [esi + 0x178]
mov dword [0x5342ec], edx
cmp dword [esi + 0x174], edi
je 0x428a01
cmp dword [esp + 0x10], 0x18
jl 0x428a01
mov eax, 1
mov dword [0x5220c8], eax
jmp 0x428a0c
mov dword [0x5220c8], edi
mov eax, 1
mov dword [esi + 0xcc], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0xd8], eax
mov dword [esi + 0x154], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], eax
mov dword [esi + 0x84], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x168], edi
mov dword [esp + 0x134], 0xffffffff
mov ecx, dword [esp + 0x12c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x4296d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push ecx
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42973a
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push esi
push ecx
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
push ebx
push ebx
push esi
push ecx
call edi
pop edi
pop esi
test eax, eax
jne 0x42973a
lea ebx, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x4299d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e40f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x30]
cmp esi, ebx
jne 0x429a15
mov esi, dword [ecx + 8]
cmp esi, ebx
je 0x429a1d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
jmp 0x429a1d
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x429a56
mov esi, dword [esp + 0x2c]
push 0x4e88c0
mov ecx, esi
call fcn.00418470
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], bl
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov ecx, dword [esi]
mov eax, dword [ecx + 0x68]
push edi
lea edx, [esp + 0x10]
push edx
push esi
call eax
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00418470
mov byte [esp + 0x28], 2
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004176e0
mov dword [esp + 0x14], 1
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
call fcn.00417490
mov byte [esp + 0x28], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

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

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
lea edi, [ecx + 4]
push edi
push str._sOperaOperaprofileopera6.ini
push 0x104
push esi
call fcn.0047bdad
add esp, 0x10
test eax, eax
jge 0x42aaa8
pop edi
xor eax, eax
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
cmp eax, 0xffffffff
je 0x42aac2
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
push edi
push 0x4eeb8c
push 0x104
push esi
call fcn.0047bdad
add esp, 0x10
test eax, eax
jge 0x42aae2
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
push esi
call ebx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop ebx
pop edi
pop esi
mov eax, ecx
ret 4
Function at 0x42ae20
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov eax, 0x400c
call fcn.0047af40
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x42ae5e
lea ecx, [esp]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x42af21
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor esi, esi
mov dword [esp + 0xc], 0x1000
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2028]
push ecx
push esi
push edx
call edi
cmp eax, 0x103
je 0x42af14
test eax, eax
jne 0x42af08
cmp dword [esp + 0x10], 1
jne 0x42af08
jmp 0x42aeb0
movzx ecx, word [esp + eax + 0x2014]
mov word [esp + eax + 0x14], cx
add eax, 2
test cx, cx
jne 0x42aeb0
lea eax, [esp + 0x14]
push eax
call fcn.0047e9b7
mov ecx, dword [esp + 0x401c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0047a849
lea ecx, [esp + 0x20]
add esp, 0xc
cmp eax, ecx
jne 0x42aeff
mov eax, dword [esp + 8]
lea edx, [esp + 0x2014]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esp + 0xc], 0x1000
inc esi
cmp esi, 0x186a0
jle 0x42ae70
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x400c
ret 4

Function at 0x42aff0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e4328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0x4eeb74
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esp + 0x10], 0
mov dword [esi], 0x4eeb80
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42b0b0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1a18
call fcn.0047af40
push ebp
lea eax, [esp + 4]
push eax
mov ebp, ecx
call fcn.0042aa80
test eax, eax
jne 0x42b0d5
pop ebp
add esp, 0x1a18
ret 8
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0xa28]
push edx
push 0
push 0x4eed88
push 0x4eed80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x42b1d7
xor edi, edi
lea ebx, [edi + 0x20]
lea esp, [esp]
lea eax, [esp + 0x21c]
push eax
push edi
lea ecx, [esp + 0xa28]
push ecx
mov ecx, ebp
call fcn.0042a8a0
mov esi, eax
lea eax, [esp + 0x21c]
cmp word [esp + 0x21c], bx
jne 0x42b148
jmp 0x42b140
add eax, 2
cmp word [eax], bx
je 0x42b140
push 3
push 0x4eae68
push eax
call fcn.0047e7bb
add esp, 0xc
test eax, eax
je 0x42b18e
mov edi, esi
test esi, esi
jg 0x42b110
mov edx, dword [esp + 0x1a2c]
push edx
lea eax, [esp + 0xa24]
push eax
push str._s___s
lea ecx, [esp + 0x1230]
push 0x400
push ecx
call fcn.0047bdad
add esp, 0x14
jmp 0x42b1f4
mov ebx, dword [esp + 0x1a2c]
push ebx
lea edx, [esp + 0x220]
push edx
mov ecx, ebp
call fcn.0042a8f0
test eax, eax
jne 0x42b1bb
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x1a18
ret 8
lea eax, [esp + 0x1224]
push eax
push ebx
push esi
push edi
lea ecx, [esp + 0xa30]
push ecx
mov ecx, ebp
call fcn.0042a940
jmp 0x42b1f4
mov edx, dword [esp + 0x1a2c]
push edx
lea eax, [esp + 0x1228]
push 0x401
push eax
call fcn.0047ea27
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1228]
push edx
push 0x4eed88
push 0x4eed80
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x1a18
ret 8

Function at 0x42b220
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1a18
call fcn.0047af40
push ebx
lea eax, [esp + 4]
push eax
mov ebx, ecx
call fcn.0042aa80
test eax, eax
je 0x42b307
lea ecx, [esp + 4]
push ecx
push 0x400
lea edx, [esp + 0xa1c]
push edx
push 0
push 0x4eed88
push 0x4eed80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x42b307
push edi
xor edi, edi
push esi
nop
lea eax, [esp + 0x218]
push eax
push edi
lea ecx, [esp + 0xa24]
push ecx
mov ecx, ebx
call fcn.0042a8a0
cmp word [esp + 0x218], 0x20
mov esi, eax
lea eax, [esp + 0x218]
jne 0x42b2a9
lea esp, [esp]
add eax, 2
cmp word [eax], 0x20
je 0x42b2a0
push 3
push 0x4eae68
push eax
call fcn.0047e7bb
add esp, 0xc
test eax, eax
je 0x42b2cf
mov edi, esi
test esi, esi
jg 0x42b270
pop esi
pop edi
pop ebx
add esp, 0x1a18
ret 4
lea edx, [esp + 0x1220]
push edx
push esi
push edi
lea eax, [esp + 0xa28]
push eax
mov ecx, ebx
call fcn.0042aa00
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1224]
push edx
push 0x4eed88
push 0x4eed80
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop esi
pop edi
pop ebx
add esp, 0x1a18
ret 4
Function at 0x42b320
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e4328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0x4eeb74
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esp + 0x10], 0
mov dword [esi], 0x4eec0c
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42b3e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e4328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0x4eeb74
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esp + 0x10], 0
mov dword [esi], 0x4eec18
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42bc60
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e442b
push eax
mov dword fs:[0], esp
sub esp, 0x464
add ecx, 4
push ecx
push 0x4eee04
lea eax, [esp + 0x260]
push 0x104
push eax
call fcn.0047bdad
add esp, 0x10
test eax, eax
jl 0x42be1f
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 8], esi
cmp esi, 0xffffffff
je 0x42be1e
lea eax, [esp + 0x25c]
push edi
lea edx, [eax + 2]
xor edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42bcd1
sub eax, edx
lea edx, [esp + 0x10]
push edx
sar eax, 1
xor ecx, ecx
push esi
mov word [esp + eax*2 + 0x266], cx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42be16
push ebx
mov ebx, dword [esp + 0x480]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ecx]
cmp dword [esp + 0x18], edi
je 0x42be00
mov ecx, 0x4eac18
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42bd49
cmp dx, di
je 0x42bd45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42bd49
add eax, 4
add ecx, 4
cmp dx, di
jne 0x42bd23
xor eax, eax
jmp 0x42bd4e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x42be00
mov ecx, 0x4eee00
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42bd86
cmp dx, di
je 0x42bd82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42bd86
add eax, 4
add ecx, 4
cmp dx, di
jne 0x42bd60
xor eax, eax
jmp 0x42bd8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x42be00
push 0x20a
call fcn.0045d88f
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x480], edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x270]
push ecx
push str._s_sprefs.js
push 0x104
push esi
call fcn.0047bdad
add esp, 0x18
test eax, eax
jl 0x42bde4
push esi
call ebp
cmp eax, 0xffffffff
je 0x42bde4
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.0042bc20
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x47c], 0xffffffff
push esi
call fcn.0045d8c9
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
add esp, 4
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42bd10
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
add esp, 0x470
ret 4
Function at 0x42c7d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e4553
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0042ff80
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ecx, [esi + 0x20]
mov dword [esi], 0x4eee90
call fcn.004173e0
mov al, 1
mov byte [esp + 0x14], al
or ecx, 0xffffffff
mov byte [esi + 0x5d], bl
mov dword [esi + 0x59], ebx
mov dword [esi + 0x55], ebx
mov dword [esi + 0x51], ebx
mov dword [esi + 0x4d], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x3c], al
mov dword [esi + 0x49], ebx
mov dword [esi + 0x45], ebx
mov dword [esi + 0x41], ebx
mov dword [esi + 0x3d], ebx
mov byte [esi + 0x5e], al
mov byte [esi + 0x5f], bl
mov byte [esi + 0x60], bl
mov byte [esi + 0x67], bl
mov byte [esi + 0x66], bl
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6d], ebx
mov dword [esi + 0x76], 4
mov byte [esi + 0x75], bl
mov dword [esi + 0x71], ebx
mov byte [esi + 0x7a], al
mov byte [esi + 0x7b], al
mov dword [esi + 0x61], ebx
mov byte [esi + 0x6c], al
mov byte [esi + 0x65], bl
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x431ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
mov edx, dword [esp + 0xc]
push 0x4e4718
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
xor eax, eax
push edi
mov ebx, ecx
cmp edx, 0x36
jb 0x431ce9
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebp + 0xe]
mov esi, dword [ebp + 0x2e]
add ebp, 0xe
add ecx, 0xe
lea ecx, [ecx + esi*4]
mov dword [esp + 0x10], ecx
cmp edx, ecx
jb 0x431ce9
push 0x7c
push eax
lea edi, [ebx + 0x90]
push edi
call fcn.0047a4b0
mov esi, ebp
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 4]
mov dword [ebx + 0x114], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x118], ecx
mov dx, word [ebp + 0xe]
shr dx, 3
mov byte [ebx + 0x11c], dl
movzx eax, word [ebp + 0xe]
imul eax, dword [ebp + 4]
add eax, 0x1f
and eax, 0xffffffe0
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x44]
add eax, 0xe
sar ebp, 3
imul ebp, dword [eax + 8]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + ebp]
add esp, 0xc
cmp dword [esp + 0x3c], ecx
jb 0x431ce7
push 0x7c
xor edi, edi
push edi
lea esi, [ebx + 0x90]
push esi
call fcn.0047a4b0
mov edx, dword [ebx + 0x114]
mov eax, dword [ebx + 0x118]
mov dword [ebx + 0x94], edx
movzx dx, byte [ebx + 0x11c]
neg eax
add dx, dx
mov dword [ebx + 0x98], eax
add dx, dx
lea eax, [ebp + 0x7c]
mov ecx, 1
add dx, dx
push eax
mov dword [esi], 0x7c
mov word [ebx + 0x9c], cx
mov word [ebx + 0x9e], dx
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0xc8], edi
call fcn.0047afeb
mov dword [ebx + 0x10c], eax
mov ecx, 0x1f
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movzx esi, byte [ebx + 0x11c]
imul esi, dword [ebx + 0x114]
mov edi, dword [ebx + 0x10c]
add esi, 3
and esi, 0xfffffffc
sub ebp, esi
add ebp, dword [esp + 0x20]
add esp, 0x10
add ebp, dword [esp + 0x38]
add edi, 0x7c
cmp dword [ebx + 0x118], 0
mov dword [esp + 0x38], 0
jle 0x431c70
push esi
push ebp
push edi
call fcn.0047b980
mov eax, dword [esp + 0x44]
inc eax
add esp, 0xc
add edi, esi
sub ebp, esi
cmp eax, dword [ebx + 0x118]
mov dword [esp + 0x38], eax
jl 0x431c50
mov ecx, dword [ebx + 0x118]
mov edx, dword [ebx + 0x114]
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x24]
call fcn.00438800
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp eax, ecx
je 0x431c98
lea ecx, [eax + 4]
mov esi, dword [ecx]
mov edx, dword [ebx]
mov edx, dword [edx + 0x5c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, ebx
call edx
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004387f0
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8
Function at 0x433370
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e47d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push ebx
push ebp
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push eax
mov dword [esp + 0x2c], ecx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4333c7
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
mov esi, eax
call fcn.0045d88f
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], 1
cmp eax, ebx
je 0x4333f8
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
jmp 0x4333fa
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], 3
lea edx, [esp + 0x44]
push edx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call fcn.00411db0
mov dword [esp + 0x3c], 4
mov dword [esp + 0x10], ebx
cmp esi, 0x36
jb 0x4334be
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
jne 0x433445
call fcn.0047a3ff
mov edx, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4334be
cmp dword [esp + 0x10], esi
jne 0x4334be
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
jne 0x433471
call fcn.0047a3ff
mov ecx, dword [esp + 0x28]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00431ae0
mov ebp, eax
mov dword [esp + 0x3c], 5
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x43349b
push eax
call fcn.0045d8c9
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], 0xffffffff
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045d8c9
add esp, 4
jmp 0x4334cf
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0041c810
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4