joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ed90
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebp, ecx
mov ebx, edx
mov ecx, dword [edi + 0x9c]
lea esi, [edi + 0x40]
cmp ecx, 0xffffffff
je 0x41ee63
cmp ecx, 0x40
jbe 0x41edcb
mov edx, esi
mov ecx, edi
call fcn.00421330
mov dword [edi + 0x9c], 0x14
mov ecx, 0x14
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.00423eb0
movups xmm0, xmmword [edi]
mov edx, 0x40
mov ecx, edi
movaps xmm2, xmmword [0x4439e0]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi], xmm1
push esi
movups xmm0, xmmword [edi + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + 0x10], xmm1
movups xmm0, xmmword [edi + 0x20]
pxor xmm0, xmm2
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
pxor xmm2, xmm0
movups xmmword [edi + 0x30], xmm2
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
call fcn.00421120
add esp, 0x10
mov dword [edi + 0x9c], 0xffffffff
test ebx, ebx
je 0x41ee74
push esi
mov edx, ebx
mov ecx, ebp
call fcn.00421120
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41ee80
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x18
mov eax, dword [0x448008]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push edi
mov edi, dword [esp + 0x28]
mov ebx, edx
mov ebp, ecx
cmp dword [edi + 0x9c], 0xffffffff
je 0x41eeaf
push edi
xor edx, edx
xor ecx, ecx
call fcn.0041ed90
add esp, 4
push esi
lea esi, [edi + 0x40]
mov edx, esi
lea ecx, [esp + 0x10]
call fcn.00421330
movups xmm0, xmmword [edi]
mov edx, 0x40
mov ecx, edi
movaps xmm2, xmmword [0x443a00]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi], xmm1
push esi
movups xmm0, xmmword [edi + 0x10]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
pxor xmm1, xmm0
movups xmmword [edi + 0x20], xmm1
movups xmm0, xmmword [edi + 0x30]
pxor xmm0, xmm2
movups xmmword [edi + 0x30], xmm0
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
call fcn.00421120
push esi
mov edx, 0x14
lea ecx, [esp + 0x18]
call fcn.00421120
add esp, 8
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00421330
pop esi
test ebx, ebx
je 0x41ef67
push ebx
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00423930
add esp, 0xc
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004219ad
add esp, 0x18
ret
Function at 0x420760
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0x4207b0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x420d80
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x420dca
cmp edx, 0x40
je 0x420db6
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.00423eb0
add esp, 0xc
mov eax, dword [esi]
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov edx, ebx
push 1
mov ecx, ebp
call eax
xor edx, edx
jmp 0x420dd0
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.00423eb0
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, ebx
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebp
push 1
call eax
mov edx, ebp
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x420e10
pop edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
mov dword [ebp], 0x6a09e667
pop ebp
pop ebx
ret
Function at 0x422426
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x43c248]
test eax, eax
je 0x422465
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422465
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422465
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x422465
cmp dword [ecx + 0x74], 0xe
jbe 0x422465
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43842d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43842d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x41e00c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x100
lea eax, [ebp - 0x22c]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00405a44
push 0x200
push 0
push esi
call fcn.00404630
lea eax, [ebp - 0x28]
push eax
push 0x100
push esi
call fcn.00405a95
push 0x41a8a0
push 0x100
push esi
call fcn.00405af9
add esp, 0x48
mov dword [ebp - 0x240], 0
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
push dword [ebp - 0x240]
push 0x100
push esi
call fcn.00405af9
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
push str..iss
push 0x100
push esi
call fcn.00405af9
mov ecx, dword [ebp - 8]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.00402695
mov esp, ebp
pop ebp
ret

Function at 0x401110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x41e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x44
lea eax, [ebp - 0x850]
mov edi, ecx
push 0
push eax
call fcn.00404630
add esp, 0xc
mov dword [ebp - 0x850], 0x44
lea eax, [ebp - 0x864]
xorps xmm0, xmm0
movups xmmword [ebp - 0x864], xmm0
push eax
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4011f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
mov esi, eax
lea eax, [ebp - 0x854]
push eax
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x854]
lea eax, [ebp - 0x808]
push esi
push esi
push edi
push str._s_nfailed_with_error_0x_08X___u_:__s
push 0x400
push eax
call fcn.00402400
add esp, 0x1c
lea eax, [ebp - 0x808]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x854]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402695
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x864]
test eax, eax
je 0x4011df
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00402695
mov esp, ebp
pop ebp
ret
Function at 0x401220
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x41e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x2a
push 0x65
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x401258
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402695
mov esp, ebp
pop ebp
ret
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4012a1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4012a1
push 0x41a6a0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push ebx
push eax
call fcn.00407024
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x4012b4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402695
mov esp, ebp
pop ebp
ret
push eax
push dword [ebp - 0xc]
push 1
push esi
call fcn.004072a3
push dword [ebp - 8]
call fcn.00407371
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402695
mov esp, ebp
pop ebp
ret
Function at 0x401630
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415396
mov eax, dword fs:[0]
push eax
sub esp, 0x9b4
mov eax, dword [0x41e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x830]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDB37BCFF_2390_4D25_B6D3_20E07D8632F9
push 0x80000002
call edi
test eax, eax
jne 0x401857
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x400
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push str.UninstallString
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401857
lea eax, [ebp - 0x8b4]
mov dword [ebp - 0x8b8], eax
lea ecx, [ebp - 0x8b8]
push 3
lea eax, [ebp - 0x810]
push eax
call fcn.00401dd0
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x8b8]
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], esi
mov byte [ebp - 0x82c], 0
cmp byte [edx], 0
jne 0x401712
xor ecx, ecx
jmp 0x401720
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401717
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x82c]
call fcn.004019c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8b4]
mov eax, dword [ebp - 0x8b8]
cmp eax, ecx
je 0x40174a
push eax
call fcn.00405801
add esp, 4
push 7
push str.__quiet
lea ecx, [ebp - 0x82c]
call fcn.00401be0
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
lea ecx, [ebp - 0x9bc]
cmovae eax, dword [ebp - 0x82c]
push 3
mov dword [ebp - 0x9c0], ecx
lea ecx, [ebp - 0x9c0]
push eax
call fcn.00401eb0
mov ecx, dword [ebp - 0x9c0]
call fcn.00401110
mov eax, dword [ebp - 0x9c0]
lea ecx, [ebp - 0x9bc]
cmp eax, ecx
je 0x4017ae
push eax
call fcn.00405801
add esp, 4
lea eax, [ebp - 0x830]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDB37BCFF_2390_4D25_B6D3_20E07D8632F9
push 0x80000002
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
test eax, eax
jne 0x401807
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x3e8
call ebx
lea eax, [ebp - 0x830]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDB37BCFF_2390_4D25_B6D3_20E07D8632F9
push 0x80000002
call edi
inc esi
cmp esi, 0x64
jl 0x4017d0
mov eax, dword [ebp - 0x818]
cmp eax, 0x10
jb 0x401857
mov ecx, dword [ebp - 0x82c]
inc eax
cmp eax, 0x1000
jb 0x40184e
test cl, 0x1f
je 0x40182a
call fcn.004057b1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x401836
call fcn.004057b1
sub ecx, eax
cmp ecx, 4
jae 0x401842
call fcn.004057b1
cmp ecx, 0x23
jbe 0x40184c
call fcn.004057b1
mov ecx, eax
push ecx
call fcn.00402690
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402695
mov esp, ebp
pop ebp
ret
Function at 0x10002970
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x10039080]
xor eax, esp
mov dword [esp + 0x194], eax
call fcn.1000af70
test eax, eax
jne 0x10002b19
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10002aaf
call fcn.10002360
cmp byte [0x1003ae2c], 0
je 0x100029f1
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call fcn.10011a83
add esp, 4
push eax
push 0x10036060
push str.CONOUT_
call fcn.100116db
add esp, 0xc
push 0
call fcn.10011a83
add esp, 4
push eax
push 0x1003606c
push str.CONIN_
call fcn.100116db
add esp, 0xc
push 0x190
lea eax, [esp + 4]
push 0
push eax
call fcn.1000e770
add esp, 0xc
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push str.Silkroad_Online_Launcher
push 0
push 0
call dword [0x1003ae38]
push str.Ready
push 0
push 0
call dword [0x1003ae38]
call fcn.1000ad60
call fcn.10009f50
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1000a430
push 0x10001ee0
push 0x1003ae38
call fcn.100097d0
push 0x10001fa0
push 0x10039b14
call fcn.100097d0
push 0x10002180
push 0x1003ae54
call fcn.100097d0
push 0x10001fe0
push 0x1003ae34
call fcn.100097d0
push 0x100020b0
push 0x1003ae30
call fcn.100097d0
push 0x10002230
push 0x10039b1c
call fcn.100097d0
call fcn.10009fb0
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x10002b19
test eax, eax
jne 0x10002b19
call fcn.1000ad60
call fcn.10009f50
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1000a430
push 0x10001ee0
push 0x1003ae38
call fcn.10009c60
push 0x10001fa0
push 0x10039b14
call fcn.10009c60
push 0x10002180
push 0x1003ae54
call fcn.10009c60
push 0x10001fe0
push 0x1003ae34
call fcn.10009c60
push 0x100020b0
push 0x1003ae30
call fcn.10009c60
call fcn.10009fb0
mov ecx, dword [esp + 0x194]
mov eax, 1
xor ecx, esp
call fcn.1000cb92
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005c80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d0cf
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10039080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x70]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
mov dword [ebx], 0x100361ac
call fcn.10005e50
sub esp, 8
mov dword [ebp - 4], 0
lea esi, [ebx + 0x10]
mov dword [ebp - 0x24], 1
mov ecx, ebx
mov dword [ebp - 0x18], esi
push esi
call fcn.100069b0
mov dword [ebp - 4], 1
mov eax, dword [ebx]
mov dword [ebp - 0x14], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + ebx - 4], eax
mov ecx, esi
call fcn.10006850
lea eax, [ebx + 0x10]
lea ebx, [eax + 4]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea esi, [eax + 8]
mov byte [eax + 0x48], 0
lea edi, [eax + 0x14]
mov byte [eax + 0x3d], 0
lea edx, [eax + 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x1003ae78]
mov dword [eax], 0
mov eax, dword [0x1003ae74]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x18]
mov dword [edi], 0
mov dword [edx], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 2
cmp dword [ebx + 0x4c], 0
jne 0x10005e16
push 0x40
push 0x21
push dword [ebp - 0x1c]
call fcn.1000c589
add esp, 0xc
test eax, eax
je 0x10005e16
push 1
push eax
mov ecx, ebx
call fcn.10005a90
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.10007120
add esp, 4
mov ecx, ebx
push eax
call fcn.10005930
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10005dff
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10005dff
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x10]
push 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, esi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001cd0
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 0x10
Function at 0x10006850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d1a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10039080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1000cba5
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1000c206
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100067f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100069b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10039080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.10001cd0
push 8
call fcn.1000cba5
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 1
call fcn.1000c206
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.10006ca0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + 0xb], al
test ecx, ecx
je 0x10006ada
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x10006ada
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x10006af6
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.10001cd0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100084a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10008670
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000857d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100084ea
mov eax, dword [ebp - 4]
cmp eax, dword [0x10039004]
ja 0x100084ea
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100084ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000e770
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000850f
jmp 0x1000857d
cmp dword [ebp - 0x14], 0x10000
jne 0x10008563
cmp dword [ebp - 0x18], 0x10000
jb 0x10008563
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10008546
mov eax, dword [ebp - 8]
jmp 0x1000857f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10008556
xor eax, eax
jmp 0x1000857f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10008578
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10008670
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100084ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10008590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100086a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10008665
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100085d5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10039004]
ja 0x100085d5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100085a5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000e770
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100085fa
jmp 0x10008665
cmp dword [ebp - 0x14], 0x10000
jne 0x1000864e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000864e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10008631
mov eax, dword [ebp - 8]
jmp 0x10008667
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10008641
xor eax, eax
jmp 0x10008667
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10008660
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100086a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100085a5
xor eax, eax
mov esp, ebp
pop ebp
ret