joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406bb0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x448d68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4619f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], vtable.CPen.0
mov ecx, dword [esp + 0x40]
push ecx
push 1
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x10]
call fcn.0041b387
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0041b4e8
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0041adc9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.0041a9b5
push edi
mov ecx, esi
call fcn.0041b4e8
lea ecx, [esp + 0xc]
call fcn.0041b3df
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.CPen.0
call fcn.004069f0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0x18

Function at 0x407330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4619f8]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4073a9
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.004337cf
add esp, 0x110
ret 0xc

Function at 0x4130cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x413113
call fcn.0041c490
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x413113
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41312f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00412c46
mov esi, eax
test edi, edi
je 0x41312d
test ebx, ebx
je 0x41312d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4152a4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44ab6c
call fcn.00434d9b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4152c9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41530f
lea ecx, [ebp - 0x10]
call fcn.00402690
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414a68
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401050
mov eax, esi
call fcn.00434e73
ret 8

Function at 0x41819e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041c490
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4181d7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00417def
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x418235
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x418259
cmp dword [edi + 0x54], 0
jne 0x418259
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041c490
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004181f6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x418379
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 8
Function at 0x419708
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x419750
call fcn.0041c490
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x419750
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x419793
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41977c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41977c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x419790
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4337cf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4619f8]
jne 0x4337d9
repz ret
jmp fcn.0043980c
Function at 0x44401a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004391f3
and dword [ebp - 4], 0
cmp dword [0x465a34], 0
mov ebx, eax
jne 0x4440cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44417c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x455a38
push edi
call esi
test eax, eax
je 0x44417c
push eax
call fcn.00439181
mov dword [esp], 0x455a28
push edi
mov dword [0x465a34], eax
call esi
push eax
call fcn.00439181
mov dword [esp], 0x455a14
push edi
mov dword [0x465a38], eax
call esi
push eax
call fcn.00439181
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x465a3c], eax
call esi
push eax
call fcn.00439181
pop ecx
mov dword [0x465a44], eax
test eax, eax
je 0x4440cb
push 0x4559e0
push edi
call esi
push eax
call fcn.00439181
pop ecx
mov dword [0x465a40], eax
mov eax, dword [0x465a40]
cmp eax, ebx
je 0x444123
cmp dword [0x465a44], ebx
je 0x444123
push eax
call fcn.004391fc
push dword [0x465a44]
mov esi, eax
call fcn.004391fc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x444123
test edi, edi
je 0x444123
call esi
test eax, eax
je 0x44411a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44411a
test byte [ebp - 0xc], 1
jne 0x444123
or dword [ebp + 0x10], 0x200000
jmp 0x44415c
mov eax, dword [0x465a38]
cmp eax, ebx
je 0x44415c
push eax
call fcn.004391fc
pop ecx
test eax, eax
je 0x44415c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44415c
mov eax, dword [0x465a3c]
cmp eax, ebx
je 0x44415c
push eax
call fcn.004391fc
pop ecx
test eax, eax
je 0x44415c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x465a34]
call fcn.004391fc
pop ecx
test eax, eax
je 0x44417c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44417e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x197fec2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x19d9c53
push dword [esp]
lea esp, [esp + 0x10]
je 0xf547a8
push 0xd15e3f33
test eax, 0x80000000
pushfd
jmp 0x19db614
lea esp, [esp + 8]
je 0x197fe71
clc
cmc
pushal
and eax, 0xffff
pushal
mov byte [esp + 0xc], 0xad
lea esp, [esp + 0x40]
jmp 0x197fe85

Function at 0x19878ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.019db8c8
in eax, dx
push 0xffffffffffffffa8
add ch, ch
stc
dec ecx
sbb eax, 0xdd45c161
dec ebp
stc
dec ebp
dec ecx
jmp 0xf54e80
jns 0xf54e8b
jecxz 0xf54e33
xor ecx, dword [ecx + ebx*2]
add byte [eax], al
inc esi
ret 0x4760
pushal
inc edi
adc ebx, dword [ebx + 0xb772088]
cli
xchg byte [esi], cl
xchg byte [edx + 0x6b], bh
daa
invalid
cmp ah, 0xa5
test eax, eax
mov word [esp + 4], ax
push esp
lea esp, [esp + 0x28]
je 0xf547a8
push ebx
jmp 0xf54e31
Function at 0x401a80
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable

Function at 0x401ae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x406054]
test esi, esi
jle 0x401bcd
mov edi, dword [0x406058]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401b14
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401bc6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x401b00
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401c0a
lea ebx, [esi + esi*2]
mov esi, dword [0x406058]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x406058]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401bea
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401bbf
sub eax, 0x40
and eax, 0xffffffbf
je 0x401bbf
mov eax, dword [esp + 0x20]
add ebx, dword [0x406058]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401bd4
add dword [0x406054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x401b1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x406058]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
Function at 0x4020d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x406400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402125
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40211e
test esi, esi
je 0x40211e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402100
mov dword [esp], 0x406408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402340
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402378
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x40236e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40237a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402360
xor eax, eax
pop ebx
pop esi
ret

Function at 0x402b30
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
push ebx
mov esi, eax
sub esp, 0x2e4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
sub esp, 4
cmp eax, 0xffffffff
jne 0x402b60
add esp, 0x2e4
mov eax, 0xffffffff
pop ebx
pop esi
ret
lea eax, [esp + 0x14]
mov dword [esp], esi
mov dword [esp + 0x14], 0x10003
mov ebx, 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
sub esp, 8
test eax, eax
cmovne ebx, dword [esp + 0xcc]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
sub esp, 4
add esp, 0x2e4
mov eax, ebx
pop ebx
pop esi
ret
Function at 0x1064c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1064c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1064c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1064c06a
add dl, dl
jne 0x1064c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1064c0dc
xor eax, eax
add dl, dl
jne 0x1064c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1064c17d
add dl, dl
jne 0x1064c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1064c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1064c075
mov eax, 1
add dl, dl
jne 0x1064c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064c0e1
sub eax, ebx
mov ebx, 1
jne 0x1064c128
mov ecx, 1
add dl, dl
jne 0x1064c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1064c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1064c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1064c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064c136
cmp eax, 0x7d00
jae 0x1064c16d
cmp eax, 0x500
jb 0x1064c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064c075
cmp eax, 0x7f
ja 0x1064c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1064c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1064c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10018a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1017e053
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x14]
call fcn.10020ff0
push 0
push 0x2710
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 8]
push 0x10002
mov dword [esp + 0x58], 0
call fcn.100eb8eb
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], edi
call fcn.100a40f0
mov dx, word [esp + 0x54]
mov word [esi + 0x1fc], dx
mov eax, dword [esi + 0x14]
push 0x38
mov dword [esi + 0x18], eax
call fcn.1015989d
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x48], 1
je 0x10014439
mov ecx, eax
call fcn.10079dc0
jmp 0x1001443b
xor eax, eax
push 0
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], 0x1019a348
call fcn.10035880
mov dword [esp + 0x18], 0x1019a348
mov ecx, dword [esi + 0x60]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x12
lea ecx, [esp + 0x34]
mov dword [esp + 0x54], 2
call fcn.100d4030
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
mov dword [esp + 0x18], 0x1019a348
mov dword [esp + 0x1c], 0x101996a4
call fcn.100a8e90
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
push 3
mov ecx, esi
mov edi, eax
call fcn.100088f0
movzx eax, ax
push eax
push 0
push 0x12
push edi
call fcn.100ed50e
add esp, 0x14
mov byte [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0x65
call fcn.1000c5e0
mov byte [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0x13014
call fcn.1000c810
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esi + 0x248], eax
call fcn.10013280
lea ecx, [esp + 0x34]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x30], 0x1019a348
mov dword [esp + 0x34], 0x101996a4
call fcn.100a8e90
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
ret 8
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10018a3c
jmp 0x100143a0
mov eax, 2
ret 8
Function at 0x10018c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017e00b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 0x2a4]
call fcn.100affd0
push 0x38
call fcn.1015989d
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x10014119
mov ecx, eax
call fcn.10079dc0
jmp 0x1001411b
xor eax, eax
push 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x10], 0x1019a348
call fcn.10035880
mov dword [esp + 8], 0x1019a348
mov ecx, dword [esi + 0x60]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x17
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 1
call fcn.100d4030
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
mov dword [esp + 8], 0x1019a348
mov dword [esp + 0xc], 0x101996a4
call fcn.100a8e90
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.10013280
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x20], 0x1019a348
mov dword [esp + 0x24], 0x101996a4
call fcn.100a8e90
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10018c1c
jmp 0x100140c0
ret 4

Function at 0x10019540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1017e6f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
mov dword [edi + 4], ecx
lea esi, [edi + 8]
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
mov dword [edi], eax
call fcn.1000aef0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
je 0x100195b9
push eax
call fcn.10159534
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x1001b2a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esi + 8]
push eax
push 0x1001b040
push 0
push 0
mov byte [esi + 0x18], 0
mov dword [eax], esi
mov dword [esi + 0xc], ecx
call fcn.1015a189
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x1001b2dc
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x1001b2ed
mov byte [esi + 0x18], 1
xor al, al
pop esi
pop ecx
ret 4
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x1001ee80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1017ef13
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
mov edi, 0xf
push 0x101997b5
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10005610
push ebx
push 0x101997b5
lea ecx, [esp + 0x40]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10005610
push ebx
push 0x101997b5
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10005610
movzx eax, word [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push eax
push ecx
push 1
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
lea edx, [esp + 0x38]
push edx
push ebx
push 0xea60
push 0xa
mov byte [esp + 0xa4], 2
call fcn.10028700
add esp, 0x1c
mov ecx, eax
call fcn.10026ce0
cmp dword [esp + 0x34], 0x10
mov ebp, eax
jb 0x1001ef64
mov eax, dword [esp + 0x20]
push eax
call fcn.10159534
add esp, 4
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x1001ef84
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x78], 0xffffffff
jb 0x1001efac
mov edx, dword [esp + 0x58]
push edx
call fcn.10159534
add esp, 4
cmp ebp, ebx
je 0x1001f00e
push 8
call fcn.1015989d
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x78], 3
je 0x1001efd6
push ebp
mov ecx, eax
call fcn.10021b00
mov edi, eax
jmp 0x1001efd8
xor edi, edi
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp edi, eax
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x14], ecx
je 0x1001efff
cmp eax, ebx
je 0x1001efff
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov dword [esi + 0xc], edi
je 0x1001f00e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret