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

Disassembly:
push 0xffffffffffffffff
push 0x42c4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push str._d__d__d__d:_d:_d
push esi
call fcn.004214b2
mov edx, dword [esp + 0x28]
add esp, 0x20
cmp edx, 0x7b2
jl 0x406bcc
cmp edx, 0xbb8
jle 0x406bd5
mov edx, 0xbb7
mov dword [esp + 8], edx
mov ecx, dword [esp + 0xc]
cmp ecx, 1
jl 0x406be3
cmp ecx, 0xc
jle 0x406bec
mov ecx, 1
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
cmp eax, 1
jl 0x406bfa
cmp eax, 0x1f
jle 0x406c03
mov eax, 1
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x14]
push 0xffffffffffffffff
push edi
mov edi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x28]
push edi
push eax
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00403610
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x406c52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x40a310
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
sub esp, 0x24
push esi
push edi
push 0x40a300
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov esi, dword [esp + 0x38]
push esi
lea ecx, [esp + 0xc]
call fcn.00408670
push str.WanNengSoftOnlineServiceOnlyOne
lea ecx, [esp + 0x10]
call fcn.00408670
mov eax, dword [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x40a42d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a39d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x40a397
push str._mConfig
push eax
call fcn.004213e7
add esp, 8
test eax, eax
je 0x40a397
sub eax, dword [esp + 8]
cmp eax, 0xffffffff
jne 0x40a39d
push edi
jmp 0x40a42f
push 0
push 0
push 0
push 0x67
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamA]
test eax, eax
jne 0x40a3cd
lea ecx, [esp + 0xc]
call fcn.00401340
lea ecx, [esp + 8]
call fcn.00401340
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 0x10
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x10]
call fcn.004094c0
push esi
lea ecx, [esp + 0x14]
call fcn.00408720
lea ecx, [esp + 0x10]
call fcn.00406dd0
lea ecx, [esp + 0x10]
call fcn.00408020
push esi
lea ecx, [esp + 0x14]
call fcn.00408a50
lea ecx, [esp + 0x10]
call fcn.00409490
lea ecx, [esp + 0xc]
call fcn.00401340
lea ecx, [esp + 8]
call fcn.00401340
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 0x10
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call fcn.00401340
lea ecx, [esp + 8]
call fcn.00401340
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x24
ret 0x10

Function at 0x40aa40
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x437250]
push edi
mov dword [esp + 0x114], eax
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x40
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40aabc
push 0x104
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 4]
mov ecx, dword [ebp + 8]
push eax
push str._.8X
push ecx
call fcn.00421571
add esp, 0xc
mov ecx, dword [esp + 0x114]
call fcn.0042001e
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x40abc0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
push edi
push 0x2000000
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x40abe9
pop edi
pop esi
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x40abfb
shr eax, 0x14
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x40ac10
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ac46
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
add esp, 8
ret 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0x10], eax
ja 0x40ac65
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
add esp, 8
ret 8
push esi
push eax
call fcn.004215c9
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0xc], esi
je 0x40ad84
mov ecx, dword [esp + 0x14]
push ebp
push ecx
call fcn.004215c9
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x40ad83
mov ecx, dword [esp + 0x18]
mov edx, ecx
push edi
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40acfa
push esi
call fcn.00420f8d
push ebp
call fcn.00420f8d
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret 8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x10]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x18]
push edx
add eax, ebp
push eax
call fcn.0041bcf0
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
jbe 0x40ad73
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x14]
push ecx
add edx, eax
push edx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00420f8d
push ebp
call fcn.00420f8d
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x40afe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42c848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push str._d__d__d__d:_d:_d
push esi
call fcn.004214b2
mov edx, dword [esp + 0x28]
add esp, 0x20
cmp edx, 0x7b2
jl 0x40b05c
cmp edx, 0xbb8
jle 0x40b065
mov edx, 0xbb7
mov dword [esp + 8], edx
mov ecx, dword [esp + 0xc]
cmp ecx, 1
jl 0x40b073
cmp ecx, 0xc
jle 0x40b07c
mov ecx, 1
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
cmp eax, 1
jl 0x40b08a
cmp eax, 0x1f
jle 0x40b093
mov eax, 1
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x14]
push 0xffffffffffffffff
push edi
mov edi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x28]
push edi
push eax
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00403610
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x40b0e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x40b130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42c808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00401800
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401360
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b1c2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40e580
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x42cc68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.0040e310
mov edx, dword [0x438664]
mov ecx, 0x438664
mov dword [esp + 0x18], 0
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x18], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
cmp eax, 1
mov byte [esp + 0x18], 2
jne 0x40e5fb
push 9
push str.wnnzVer
lea ecx, [esp + 0xc]
call fcn.00401890
jmp 0x40e63d
cmp eax, 2
jne 0x40e612
push 9
push str.wnwgVer
lea ecx, [esp + 0xc]
call fcn.00401890
jmp 0x40e63d
cmp eax, 3
jne 0x40e61e
push str.wnpyVer
jmp 0x40e634
cmp eax, 5
jne 0x40e62a
push str.wnieVer
jmp 0x40e634
cmp eax, 7
jne 0x40e63d
push str.wnsrfVer
lea ecx, [esp + 8]
call fcn.00401ea0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [esp + 8]
push ecx
push edi
push edx
push str.wnOldVer
push eax
push str.http:__wn.tt98.com_wnwb_update.aspx_
lea ecx, [esp + 0x24]
push str._s_s_s_s_s_s
push ecx
call fcn.004019c0
mov esi, dword [esp + 0x2c]
add esp, 0x20
push 0
push 0
push 0
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileA
lea eax, [edi - 0x10]
mov byte [esp + 0x1c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
jg 0x40e69e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x40e6be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e6e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x40e700
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40e771
push edi
push 0x104
call fcn.004215c9
mov esi, eax
add esp, 4
xor eax, eax
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
push esi
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.Start_Page
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
je 0x40e78a
mov esi, dword [esp + 0x14]
push 0x42e760
mov ecx, esi
call fcn.00408670
mov eax, esi
pop esi
add esp, 0xc
ret 4
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.0040da00
mov eax, esi
pop esi
add esp, 0xc
ret 4
Function at 0x4185f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d6fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov dword [esi], 0x430098
mov dword [esp + 0x18], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
lea edi, [esi + 0x20]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x1c], 2
call fcn.0041b830
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0041b830
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4189f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42d75b
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x34]
push ebx
mov ecx, esi
call fcn.00418510
test eax, eax
je 0x418a3e
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [eax + 0x20]
call fcn.0041b830
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
push 0x34
call fcn.00421034
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x418a67
mov edx, dword [esp + 0x20]
push edx
push ebx
mov ecx, eax
call fcn.004185f0
jmp 0x418a69
xor eax, eax
test eax, eax
mov dword [esp + 0x14], 0xffffffff
je 0x418a9b
mov dword [eax + 0x30], esi
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x2c], ecx
mov edx, dword [esi + 0x2c]
mov dword [edx + 0x30], eax
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
test edi, edi
mov ecx, edi
je 0x418ad0
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x418ac3
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x418aa1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
push 0
push 0
push 0
push 3
call fcn.00419fc0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x418e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42d783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 8], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x3c]
mov dword [esi], 0x42e2c4
mov dword [esp + 0x14], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
push 0x42e760
mov byte [esp + 0x18], 1
mov dword [esi + 0x48], 4
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
call fcn.0041b830
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x419590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d833
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor edx, edx
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 4], edi
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], edx
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
mov dword [esp + 8], esi
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 1
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
lea eax, [esi + 0x34]
mov dword [esi], 0x430148
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax], 0x430098
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x28], edx
mov dword [esp + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x30], eax
mov dword [eax + 0x2c], eax
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x18], 1
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], edx
call fcn.0041b830
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41a170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
lea ebp, [edx + 1]
mov dword [eax], ebx
mov al, byte [ebp]
cmp al, bl
je 0x41a32b
cmp al, 0x23
jne 0x41a32b
mov al, byte [edx + 2]
cmp al, bl
lea ecx, [edx + 2]
je 0x41a32b
cmp al, 0x78
mov esi, 1
jne 0x41a282
mov cl, byte [edx + 3]
cmp cl, bl
lea eax, [edx + 3]
je 0x41a2cb
push 0x3b
push eax
call fcn.004226a0
add esp, 8
cmp eax, ebx
je 0x41a2cb
cmp byte [eax], bl
je 0x41a2cb
mov ecx, dword [esp + 0x2c]
mov edi, eax
sub edi, ecx
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x78
je 0x41a262
nop
cmp cl, 0x30
jl 0x41a222
cmp cl, 0x39
jg 0x41a222
movsx ecx, cl
sub ecx, 0x30
jmp 0x41a251
cmp cl, 0x61
jl 0x41a239
cmp cl, 0x66
jg 0x41a239
movsx edx, cl
sub edx, 0x57
imul edx, esi
add ebx, edx
jmp 0x41a256
cmp cl, 0x41
jl 0x41a2cb
cmp cl, 0x46
jg 0x41a2cb
movsx ecx, cl
sub ecx, 0x37
imul ecx, esi
add ebx, ecx
mov cl, byte [eax - 1]
shl esi, 4
dec eax
cmp cl, 0x78
jne 0x41a210
cmp dword [esp + 0x38], 1
mov eax, dword [esp + 0x34]
jne 0x41a2f1
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebx
call fcn.00419b30
add esp, 0xc
jmp 0x41a2fd
push 0x3b
push ecx
call fcn.004226a0
add esp, 8
cmp eax, ebx
je 0x41a2cb
cmp byte [eax], bl
je 0x41a2cb
mov ecx, dword [esp + 0x2c]
mov edi, eax
sub edi, ecx
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x23
je 0x41a262
cmp cl, 0x30
jl 0x41a2cb
cmp cl, 0x39
jg 0x41a2cb
movsx edx, cl
mov cl, byte [eax - 1]
sub edx, 0x30
imul edx, esi
lea esi, [esi + esi*4]
add ebx, edx
shl esi, 1
dec eax
cmp cl, 0x23
jne 0x41a2a6
jmp 0x41a262
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004012a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [esp + 0x30]
mov byte [edx], bl
mov dword [eax], 1
mov ecx, dword [esp + 0x2c]
lea esi, [edi + ecx + 1]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004012a0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
xor edi, edi
mov esi, 0x4370ec
jmp 0x41a338
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push edx
push ecx
call fcn.00422650
add esp, 0xc
test eax, eax
je 0x41a379
add esi, 0xc
inc edi
cmp esi, 0x437128
jl 0x41a334
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
mov edx, dword [esp + 0x30]
pop edi
pop esi
mov eax, ebp
pop ebp
mov byte [edx], cl
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x30]
lea eax, [edi + edi*2]
shl eax, 2
mov dl, byte [eax + 0x4370f4]
mov byte [ecx], dl
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [edx], 1
mov eax, dword [eax + 0x4370f0]
pop esi
add eax, ecx
mov ecx, dword [esp + 0x14]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41fcc4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0041ffb0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41fd5f
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4386cc]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x41fd5f
cmp eax, 1
je 0x41fd80
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41fd5f
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x41fd2c
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x41fd5b
xor eax, eax
inc eax
jmp 0x41fd9f
cmp edi, eax
jae 0x41fd63
xor eax, eax
jmp 0x41fd9f
cmp eax, esi
jae 0x41fd6a
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4386cc]
jmp 0x41fd83
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret