joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419720
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4d509c]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0041d020
add esp, 8
test eax, eax
jne 0x41978b
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004873c2
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x4197a0
push esi
lea ecx, [esp + 0x14]
call fcn.0041f150
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.0041f1f0
test edi, edi
je 0x4197be
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004873c2
add esp, 0x6c
ret

Function at 0x419820
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x4d509c]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0041d220
add esp, 4
test eax, eax
jne 0x41987e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004873c2
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.0041f1f0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004873c2
add esp, 0x64
ret

Function at 0x4198a0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x4d509c]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.0041d310
add esp, 8
test eax, eax
jne 0x41991f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004873c2
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.0041e800
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004873c2
add esp, 0x74
ret

Function at 0x41af40
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41af72
push str.ReadFile__
push 0xfc
push str..QHImageHlp.c
xor edx, edx
call fcn.00420230
add esp, 0xc
xor eax, eax
pop ecx
ret
cmp esi, dword [esp]
je 0x41af97
push 0x4c968c
push 0xfe
push str..QHImageHlp.c
mov edx, 1
call fcn.00420630
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret
Function at 0x41afa0
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41afd2
push str.WriteFile__
push 0x111
push str..QHImageHlp.c
xor edx, edx
call fcn.00420230
add esp, 0xc
xor eax, eax
pop ecx
ret
cmp esi, dword [esp]
je 0x41aff7
push 0x4c96b8
push 0x113
push str..QHImageHlp.c
mov edx, 1
call fcn.00420630
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret

Function at 0x41b070
Capabilities:
Clear file content

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41b097
push str.SetEndOfFile__
push 0x132
push str..QHImageHlp.c
xor edx, edx
call fcn.00420230
add esp, 0xc
xor eax, eax
ret
mov eax, 1
ret

Function at 0x41b0a0
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x41b0ca
push str.GetFileSizeEx__
push 0x11e
jmp 0x41b1df
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
cmp esi, edi
ja 0x41b1bc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
jb 0x41b0ec
cmp ecx, edx
jae 0x41b1bc
mov eax, edx
sub eax, ecx
mov ecx, edi
sbb ecx, esi
mov ebx, eax
shrd ebx, ecx, 0xf
shr ecx, 0xf
and eax, 0x7fff
mov dword [esp + 0x10], ebx
mov esi, eax
jne 0x41b111
mov esi, 0x8000
jmp 0x41b116
inc ebx
mov dword [esp + 0x10], ebx
xor eax, eax
sub edx, esi
sbb edi, eax
mov eax, dword [esp + 0x38]
mov ebp, edi
xor edi, edi
mov ebx, edx
add eax, ebx
adc edi, ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
jbe 0x41b1bc
lea ecx, [ecx]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x41b1c9
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
call fcn.0041af40
test eax, eax
je 0x41b1ee
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push 0
push 0
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x41b1d5
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
call fcn.0041afa0
test eax, eax
je 0x41b1ee
mov eax, dword [esp + 0x14]
add ebx, 0xffff8000
adc ebp, 0xffffffff
add dword [esp + 0x18], 0xffff8000
mov esi, 0x8000
adc edi, 0xffffffff
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jb 0x41b140
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
push str.SetFilePointerEx__
push 0xf9
jmp 0x41b1df
push str.SetFilePointerEx__
push 0x10e
push str..QHImageHlp.c
xor edx, edx
call fcn.00420230
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x41ce60
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edx, edx
test eax, eax
jne 0x41cead
push str.GetFileSizeEx__
push 0x11e
push str..QHImageHlp.c
call fcn.00420230
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x41cf44
jg 0x41ced3
cmp ebx, ecx
jb 0x41cf44
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x41cf09
push str.SetFilePointerEx__
push 0xf9
push str..QHImageHlp.c
xor edx, edx
call fcn.00420230
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.0041af40
test eax, eax
je 0x41ceff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41cf2a
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41cf51
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x41cf51
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x41da00
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4d509c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x41db40
cmp dword [esp + 0x28], ebp
je 0x41db40
push ebx
push 0x2800
call fcn.00487225
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x41da63
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004873c2
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x41da70
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.0041ac20
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41db16
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00487420
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41db09
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x41db09
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.0041d7b0
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x41db20
inc edi
cmp edi, 0x10
jl 0x41da70
push ebx
call fcn.004868af
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004873c2
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.004873c2
add esp, 0x1c
ret
Function at 0x41dbf0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x41dc2a
cmp dword [esp + 0x34], esi
je 0x41dc2a
push 0x200
call fcn.00487225
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x41dc35
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dd94
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x41dd2a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41dc8d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dd03
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41dcf8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.0041db60
cmp edx, edi
jb 0x41dcf8
ja 0x41dcf2
cmp eax, dword [esp + 0x24]
jbe 0x41dcf8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x41dc80
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x41dd40
cmp dword [esp + 0x24], 0
jbe 0x41dd94
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.0041ac20
add esp, 0xc
test eax, eax
jne 0x41dd79
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.004868af
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.0041d7b0
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.004868af
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4230e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8d10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4d509c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4d85b8]
xor edi, edi
cmp ecx, edi
jne 0x42312b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x423138
mov dword [ebp - 0x14], edi
jmp 0x423150
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4231e6
mov ecx, dword [0x4d85b8]
mov eax, dword [ecx]
cmp eax, edi
je 0x423117
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x423117
mov ebx, 0x4d85b8
mov dword [ebp - 4], edi
call fcn.00423200
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x42318e
push 0x4ce1b8
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0048879a
mov ecx, dword [0x4d85b8]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x4231a8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x4231d2
push 0x4ce1b8
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.0048879a
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4231c9
call fcn.00423660
mov eax, 0x4231cf
ret
mov eax, dword [0x4d85b8]
mov eax, dword [eax]
test eax, eax
je 0x4231e4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423200
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x42322d
xor ecx, ecx
jmp 0x423239
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x4232ed
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x423260
mov dword [esp + 0xc], esi
jmp 0x4232c0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x4232b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4232ac
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x4232c0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4232c0
push 0x4c9d58
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4232c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x4232e3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x423252
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x423301
mov ecx, dword [ebx]
add ecx, 8
call fcn.00423590
test eax, eax
je 0x423301
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x423310
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4b8d8b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d509c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00487420
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x4233a8
push 0x4ce1b8
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0048879a
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x423ad0
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 0x423ae9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x423b24
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x423b20
lea ebx, [ebx]
cmp esi, eax
jae 0x423b24
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x423b10
cmp esi, eax
jb 0x423b2a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x42499c
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20bc
push ebx
push esi
push edi
push esi
push edi
add esp, 4
and esi, 0x5a8d
pop esi
push esi
jmp 0x4249bb
or esi, 0xb2b1
pop esi
push ebx
push esi
add esp, 4
and ebx, 0x8c29
xor ebx, 0x200a
and ebx, 0xf60
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ff8], ax
mov ecx, 0x42
mov word [ebp - 0x1ff6], cx
mov edx, 0x53
mov word [ebp - 0x1ff4], dx
mov eax, 0x65
mov word [ebp - 0x1ff2], ax
mov ecx, 0x72
mov word [ebp - 0x1ff0], cx
mov edx, 0x76
mov word [ebp - 0x1fee], dx
mov eax, 0x69
mov word [ebp - 0x1fec], ax
mov ecx, 0x63
mov word [ebp - 0x1fea], cx
mov edx, 0x65
mov word [ebp - 0x1fe8], dx
mov eax, 0x2e
mov word [ebp - 0x1fe6], ax
mov ecx, 0x65
mov word [ebp - 0x1fe4], cx
mov edx, 0x78
mov word [ebp - 0x1fe2], dx
mov eax, 0x65
mov word [ebp - 0x1fe0], ax
xor ecx, ecx
mov word [ebp - 0x1fde], cx
mov dword [ebp - 0x1060], 1
push ebx
push esi
add esp, 4
and ebx, 0x168ad
add ebx, 0x282
add ebx, 0x3160
pop ebx
push edx
push edx
add esp, 4
or edx, 0x1b0a
pop edx
push esi
jmp 0x424ab4
add esi, 0xf1fe
pop esi
imul edx, dword [ebp - 0x1060], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x1060], 0xfe
sub edx, eax
xor edx, 0xaa6272
imul edx, dword [ebp - 0x1060]
imul ecx, dword [ebp - 0x1060], 0xfe
sub edx, ecx
mov dword [ebp - 0x1064], edx
push esi
push edi
add esp, 4
or esi, 0xb462
sub esi, 0xe7b3
pop esi
push ebx
push ecx
add esp, 4
xor ebx, 0x8297
and ebx, 0x12c5c
pop ebx
push edx
add edx, 0x13ff9
add byte [ecx + 0x57b3e2], al
add byte [edx - 0x39], bl
inc ebp
lock add dword [eax], eax
add byte [eax], al
Function at 0x424b20
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add byte [ecx + 0x57b3e2], al
add byte [edx - 0x39], bl
inc ebp
lock add dword [eax], eax
add byte [eax], al
push edi
push edx
add esp, 4
add edi, 0xcb17
xor edi, 0x2345
xor edi, 0xd602
pop edi
push eax
or eax, 0xfc53
sub eax, 0x11384
sub eax, 0x9693
or eax, 0x357a
pop eax
imul edx, dword [ebp - 0x10], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x10], 0xfe
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0xfe
sub edx, ecx
mov dword [ebp - 0x14], edx
push ecx
add ecx, 0x5612
and ecx, 0x14f5c
pop ecx
push eax
push eax
add esp, 4
and eax, 0xa038
call fcn.00424bb3
add byte [ebx + 0x3f], cl
inc edx
dec edx
xor edi, dword [esi + edi]
Function at 0x424d50
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add esi, 0x6b1
add esi, 0xdcac
pop esi
push edi
push ecx
add esp, 4
or edi, 0x117e
add edi, 0x1066f
pop edi
mov edx, dword [ebp - 0x30]
add edx, 0xfe
imul eax, dword [ebp - 0x2c], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x2c], 0xfe
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1d60], edx
push eax
push edi
add esp, 4
call 0x424cc6
add byte [edi + 0x3b], cl
inc edi
aaa
xor eax, 0xc4834c46
add al, 0x81
sal byte [eax + 0x7b], 0
add byte [ecx + 0x11c9fc8], al
add byte [eax + 0x50], bl
xor eax, 0x2065
pop eax
push edi
xor edi, 0x8518
pop edi
mov edx, dword [ebp - 0x1d60]
add edx, 1
mov dword [ebp - 0x159c], edx
push edi
sub edi, 0x537
pop edi
push ecx
push edx
add esp, 4
les eax, [ecx + eax*4]
leave
xchg edx, eax
add byte [eax], al
xor ecx, 0x3bd5
pop ecx
push edx
push eax
add esp, 4
add edx, 0xbdac
jmp 0x424d20
or edx, 0x1281c
pop edx
push edi
push eax
add esp, 4
sub edi, 0x16e5d
and edi, 0x6b50
and edi, 0x170b4
pop edi
push edi
add edi, 0x996d
add edi, 0x16982
xor edi, 0x16dc8
add dword [eax], eax
add edi, 0x133b8
pop edi
imul eax, dword [ebp - 0x2c], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x2c], 0xfe
sub eax, ecx
xor eax, dword [ebp - 0x159c]
imul eax, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x2c], 0xfe
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x159c]
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e28], eax
mov dword [ebp - 0x1628], 1
push eax
push eax
add esp, 4
and eax, 0x8cf5
and eax, 0x14095
jmp 0x424db6
and eax, 0xb015
pop eax
push esi
jmp 0x424dc3
and esi, 0x6c77
xor esi, 0x1561f
pop esi
imul ecx, dword [ebp - 0x1628], 0xfe
add ecx, 0x56f3663b
imul edx, dword [ebp - 0x1628], 0xfe
sub ecx, edx
xor ecx, dword [ebp - 0x1e28]
imul ecx, dword [ebp - 0x1628]
imul eax, dword [ebp - 0x1628], 0xfe
sub ecx, eax
mov dword [ebp - 0x162c], ecx