joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov byte [esi], cl
mov byte [esi + 4], cl
cmp byte [eax + 4], 1
jne 0x45c1a6
test esi, esi
je 0x45c227
xor ecx, ecx
mov dword [esi], ecx
mov ebx, dword [eax]
mov dword [eax], ecx
lea edi, [ebx + 1]
cmp edi, 2
jb 0x45c178
call fcn.00501530
cmp dword [esi], ebx
je 0x45c1a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x45c1b2
cmp edi, 2
jb 0x45c199
mov dword [esi], ebx
call fcn.00501530
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x45c1eb
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1cc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x45c18d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45c22a
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x45c221
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x45c1c5
push 1
push 0
jmp 0x45c217
int3
xor eax, eax
push eax
jmp 0x45c216

Function at 0x45e310
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.0044bf00
mov eax, dword [esi]
test eax, eax
je 0x45e363
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x45e36a
lea ecx, [ebp - 0x14]
call fcn.0044b6d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x45e345
cmp dword [ebx + 0x50], 2
jne 0x45e389
cmp byte [ebx + 0x1b], 0
js 0x45e37b
lea eax, [ebx + 0x10]
jmp 0x45e37e
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x45e38e
add ebx, 0x58
jmp 0x45e341
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jae 0x45e3b4
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.005d4050
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x45e389
mov ecx, dword [ebp + 8]
push ebx
call fcn.005d3f40
mov ecx, eax
jmp 0x45e3ac

Function at 0x4e9c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.004e9c17

Function at 0x4ecf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.004ecf17
Function at 0x4f35a0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xa34], 0x8000
jne 0x4f368f
movzx eax, word [0x646160]
shl eax, 5
cmp dword [esi + eax + 0x54], 0x200
jne 0x4f3692
push 0x646120
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4f3698
cmp byte [0x6551f8], 0
jne 0x4f3622
cmp dword [0x657cdc], 0
jne 0x4f36a7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4f36aa
mov dword [0x6551a4], eax
mov dword [0x657ce0], eax
mov dword [0x657cdc], 0x444190
mov byte [0x6551f8], 1
push 0x646120
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg dword [0x6551fc], esi
jne 0x4f3695
add esi, 0x48
mov dword [0x657ce4], 0x4f36b0
mov eax, 0xffffffb0
jmp 0x4f365f
mov cl, 0x40
jmp 0x4f3653
mov cl, 0x80
mov byte [eax + 0x6551f8], cl
add esi, 0x20
inc eax
je 0x4f3688
cmp dword [esi], 0
je 0x4f368b
mov ecx, dword [esi + 0xc]
cmp ecx, 0x81
jb 0x4f3651
cmp ecx, 0x101
jb 0x4f364d
cmp ecx, 0x201
setb cl
shl cl, 4
add cl, 0x10
jmp 0x4f3653
pop esi
pop ebp
ret
xor ecx, ecx
jmp 0x4f3653
int3
int3
int3
mov ecx, 0x646120
call fcn.00521240
jmp 0x4f35e2
int3
int3

Function at 0x4f45a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x4f45b7
test eax, eax
je 0x4f45b7
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
sete al
mov ecx, dword [0x657ce4]
test ecx, ecx
setne dl
and dl, al
cmp dl, 1
je 0x4f460a
cmp dword [0x657cdc], 0
je 0x4f45b1
mov esi, dword [0x657ce0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x4f4614
test esi, esi
je 0x4f45b1
mov ecx, dword [0x657cdc]
call dword [0x63e1cc]
push esi
call ecx
add esp, 4
jmp 0x4f45b1
call dword [0x63e1cc]
call ecx
jmp 0x4f45ce
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4f45f2
Function at 0x501450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ecx], 0
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x501479
call fcn.00501530
cmp dword [esi], ebx
je 0x5014a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x5014af
cmp edi, 2
jb 0x50149a
mov dword [esi], ebx
call fcn.00501530
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x5014e8
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1cc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x50148e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x501524
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x50151e
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x5014c2
push 1
push 0
jmp 0x501514
xor eax, eax
push eax
jmp 0x501513
Function at 0x527f00
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x6496ec]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x527f44
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [0x6496e8]
test ecx, ecx
je 0x527f8c
call dword [0x63e1cc]
push edi
push esi
call ecx
test eax, eax
je 0x527f89
pop esi
pop edi
pop ebp
ret
push 0x6496ec
call fcn.00562c08
add esp, 4
cmp dword [0x6496ec], 0xffffffff
jne 0x527f22
push str.bcryptprimitives.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x527f9e
push str.ProcessPrng
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6496e8], eax
push 0x6496ec
call fcn.00562c57
add esp, 4
jmp 0x527f22
int3
test edi, edi
je 0x527f40
push edi
push esi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x527f40
int3
int3
Function at 0x5351e0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005351f0

Function at 0x5358d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x5359ba
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x535945
lea eax, [edi + 1]
cmp eax, 2
jb 0x535922
mov dword [esi], edi
call fcn.00501530
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 0
inc eax
cmp eax, 1
jbe 0x5359be
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x53597e
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1cc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x535913
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5359c1
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x5359b4
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x535958
push 1
push 0
jmp 0x5359aa
mov byte [esi + 4], 0
int3
xor eax, eax
push eax
jmp 0x5359a9
Function at 0x543880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
mov dword [ebx], 0
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
cmp eax, 2
jb 0x5438a6
call fcn.00501530
mov dword [esi], 0
test edi, edi
je 0x5438d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x54391c
cmp dword [ebp - 0x20], 2
jb 0x5438ce
mov dword [esi], edi
call fcn.00501530
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
cmp byte [ebx + 0xf], 0
jns 0x543909
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0050b0a0
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov al, byte [ebx + 0x18]
mov byte [esi + 0x18], al
mov al, byte [ebx + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebx + 4]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x5438eb
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x543958
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1cc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x5438c1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x543994
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x54398e
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x54392f
push 1
push 0
jmp 0x543984
xor eax, eax
push eax
jmp 0x543983
Function at 0x54d020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x54d058
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x54d062
lea eax, [ebx + 1]
cmp eax, 2
jb 0x54d051
mov dword [esi], ebx
call fcn.00501530
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00501530
mov eax, dword [esi]
cmp dword [0x655038], 0
mov dword [ebp - 0x18], eax
je 0x54d09b
mov eax, dword [0x655038]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e1cc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x54d042
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6318bd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54d0d7
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x54d0d1
call dword [0x63e1cc]
call ecx
push 0
push eax
call fcn.004292e0
add esp, 8
jmp 0x54d075
push 1
push 0
jmp 0x54d0c7
xor eax, eax
push eax
jmp 0x54d0c6
Function at 0x5517d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x200c
call fcn.005662d0
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x6460b0]
cmp eax, 0xffffffff
jne 0x551819
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
add esp, 0x200c
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
push dword [ebp - 0x2018]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x5517f4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x5517f4
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.005670c0
add esp, 0xc
mov ecx, dword [0x6460b0]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x2018], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test ebx, ebx
je 0x551866
push ebx
call fcn.005643dd
add esp, 4
mov edi, 0x101
lea esi, [ebp - 0x2010]
mov eax, dword [0x64a718]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5519a6
mov ebx, dword [0x64a714]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5519fc
push 0x1000
push 0x649710
lea eax, [ebp - 0x1810]
push eax
call fcn.005670c0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push 0x800
push 0xff
push esi
call fcn.00567640
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x1804]
mov edx, dword [ecx]
mov dword [ebp + eax*8 - 0x2010], edx
mov word [ebp + eax*8 - 0x200c], ax
inc eax
add ecx, 0x10
cmp eax, 0x100
jne 0x5518e2
mov ecx, esi
lea edx, [ebp - 0x1810]
push 1
push 0x10
call fcn.00551a10
add esp, 8
mov ebx, 4
xor eax, eax
movzx edx, word [ebp + ebx - 0x2010]
mov esi, dword [ebp + edx*8 - 0x810]
test esi, esi
jne 0x551951
add ebx, 8
cmp ebx, 0x804
jne 0x551919
dec edi
je 0x5519e7
test al, 1
lea esi, [ebp - 0x2010]
je 0x551809
jmp 0x551871
mov dword [ebp - 0x2014], eax
mov ecx, edx
shl ecx, 4
cmp dword [ebp + ecx - 0x1810], 0
je 0x5519f1
add ecx, ebp
add ecx, 0xffffe7f0
mov eax, dword [ebp + edx*8 - 0x80c]
cmp eax, dword [ecx + 8]
jne 0x5519f1
mov ecx, dword [ecx + 4]
test ecx, ecx
mov eax, dword [ebp - 0x2014]
je 0x55192c
mov dword [ebp + edx*8 - 0x810], 0
call dword [0x63e1cc]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x55192c
push 0x64a718
call fcn.00562c08
add esp, 4
cmp dword [0x64a718], 0xffffffff
jne 0x551892
push 4
call fcn.00562bc5
add esp, 4
mov dword [eax], 0
mov dword [0x64a714], eax
push 0x64a718
call fcn.00562c57
add esp, 4
jmp 0x551892
call fcn.00592180
jmp 0x551809
mov eax, dword [ebp - 0x2014]
jmp 0x55192c
mov ecx, ebx
call fcn.0050a710
jmp 0x5518a7
Function at 0x57f390
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x57f3bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x57f3bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x580456
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x616c14
push str.FlsAlloc
push 0x1f
call fcn.00580909
mov esi, eax
add esp, 0x10
test esi, esi
je 0x58048a
push dword [ebp + 8]
mov ecx, esi
call dword [0x63e1cc]
call esi
jmp 0x580490
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5804d4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x616c38
push str.FlsGetValue
push 0x21
call fcn.00580909
mov esi, eax
add esp, 0x10
test esi, esi
je 0x58050b
push dword [ebp + 8]
mov ecx, esi
call dword [0x63e1cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x580513
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x616c4c
push str.FlsSetValue
push 0x22
call fcn.00580909
mov esi, eax
add esp, 0x10
test esi, esi
je 0x58054d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x63e1cc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5d2560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x78], eax
lea esi, [esp + 0x1c]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.0044bf00
mov ebx, dword [esi]
mov edi, 3
mov esi, dword [ebp + 8]
test ebx, ebx
jne 0x5d25cd
lea ecx, [esp + 0x1c]
call fcn.0044b6d0
test esi, esi
je 0x5d25b6
mov ecx, esi
call fcn.005e3050
push esi
call fcn.00562bc0
add esp, 4
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00565ea5
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea edi, [ebp + 8]
mov al, byte [esi + 0x1c]
mov byte [esp + 0xc], al
xor eax, eax
push eax
call fcn.00578bab
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov esi, dword [edi]
lea eax, [esi + 0xc]
mov dword [esp + 0x10], eax
lea edi, [esp + 0x20]
mov ecx, edi
call fcn.005e2f60
movups xmm0, xmmword [esi + 0x38]
movaps xmmword [edi], xmm0
lea edi, [esp + 0x30]
mov ecx, edi
push dword [esp + 0x10]
call fcn.00543610
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x40], eax
mov al, byte [esp + 0xc]
mov byte [edi + 0x35], al
lea ecx, [ebx + 0x28]
lea edx, [esp + 0x20]
call fcn.005d3cd0
mov byte [ebx + 0x24], 1
cmp byte [edi + 0x17], 0
jns 0x5d2650
push dword [esp + 0x3c]
call fcn.00562bc0
add esp, 4
cmp byte [esp + 0x3b], 0
jns 0x5d2663
push dword [esp + 0x30]
call fcn.00562bc0
add esp, 4
lea ecx, [esi + 8]
lea eax, [esp + 0x20]
push eax
call fcn.005d2720
cmp byte [esp + 0x2b], 0
jns 0x5d2683
push dword [esp + 0x20]
call fcn.00562bc0
add esp, 4
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
jmp 0x5d2695
mov ecx, dword [edi]
call fcn.005e4510
add edi, 4
cmp edi, ebx
jne 0x5d268b
lea eax, [esi + 0x38]
mov dword [esp + 0xc], eax
mov ebx, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
jmp 0x5d26ca
mov ecx, ebx
lea eax, [esp + 0x20]
push eax
call fcn.005d2720
cmp byte [esp + 0x2b], 0
jns 0x5d26c7
push dword [esp + 0x20]
call fcn.00562bc0
add esp, 4
add ebx, 0x14
cmp ebx, edi
jne 0x5d26a8
mov eax, dword [esp + 0xc]
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0xc]
movups xmmword [eax], xmm0
xor edi, edi
push edi
call fcn.005d7d30
add esp, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea ebx, [eax + ecx]
add ebx, 4
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
call dword [0x63e1cc]
mov ecx, ebx
push 2
push edi
push edi
call dword [esp + 0x18]
push edx
push eax
call fcn.005d7d90
add esp, 8
jmp 0x5d2599
Function at 0x5eb7e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx + 8], edi
mov eax, dword [0x658734]
mov ecx, dword [0x64784c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5eba3e
mov ecx, dword [0x658730]
test ecx, ecx
je 0x5eb8f6
lea ebx, [ebp - 0x14]
mov dword [ebx], 0xffffffff
call dword [0x63e1cc]
push ebx
push edi
call ecx
test eax, eax
je 0x5eb8af
cmp dword [ebp - 0x14], 0
setne byte [esi + 0x5d]
je 0x5eb8fa
mov byte [esi + 0x5c], 0
lea eax, [esi + 0x30]
lea ebx, [esi + 0x28]
mov ecx, edi
mov edx, esi
push eax
push ebx
call fcn.005eba90
add esp, 8
test al, al
jne 0x5eb988
push 2
call fcn.00538880
add esp, 4
test al, al
je 0x5eb96d
lea esi, [ebp - 0xb4]
mov ecx, esi
push 2
push 0x244
push str.process_info.cc
call fcn.0040b630
lea eax, [ebp - 0xac]
push 0x21
push str.GetProcessBasicInformation_failed
jmp 0x5eb95d
push 2
call fcn.00538880
add esp, 4
test al, al
je 0x5eb8f6
call fcn.004f27f0
lea ebx, [ebp - 0xb4]
mov ecx, ebx
push eax
push 2
push 0x4e
push str.process_info.cc
call fcn.0045af70
lea eax, [ebp - 0xac]
push 0xe
push 0x633b2c
push eax
call fcn.00538a30
add esp, 0xc
mov ecx, ebx
call fcn.0044fb10
mov byte [esi + 0x5d], 0
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0xb4]
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x20], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebx], 9
sete byte [esi + 0x5c]
jne 0x5eb856
push 2
call fcn.00538880
add esp, 4
test al, al
je 0x5eb96d
lea esi, [ebp - 0xb4]
mov ecx, esi
push 2
push 0x236
push str.process_info.cc
call fcn.0040b630
lea eax, [ebp - 0xac]
push 0x32
push str.Reading_x64_process_from_x86_process_not_supported
push eax
call fcn.00538a30
add esp, 0xc
mov ecx, esi
call fcn.0040ae00
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, ebx
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
cmp byte [esi + 0x5c], 1
je 0x5eb99f
mov ecx, edi
push esi
push eax
call fcn.005ec1c0
jmp 0x5eb9a8
mov ecx, edi
push esi
push eax
call fcn.005ebbb0
add esp, 8
test al, al
jne 0x5eb9e8
push 2
call fcn.00538880
add esp, 4
test al, al
je 0x5eb96d
lea esi, [ebp - 0xb4]
mov ecx, esi
push 2
push 0x24d
push str.process_info.cc
call fcn.0040b630
lea eax, [ebp - 0xac]
push 0x16
push str.ReadProcessData_failed
jmp 0x5eb95d
movzx edx, byte [esi + 0x5c]
mov ecx, edi
push esi
call fcn.005eae20
add esp, 4
mov bl, 1
test al, al
jne 0x5eb96f
push 2
call fcn.00538880
add esp, 4
test al, al
je 0x5eb96d
lea esi, [ebp - 0xb4]
mov ecx, esi
push 2
push 0x252
push str.process_info.cc
call fcn.0040b630
lea eax, [ebp - 0xac]
push 0x15
push str.ReadMemoryInfo_failed
jmp 0x5eb95d
push 0x658734
call fcn.00562c08
add esp, 4
cmp dword [0x658734], 0xffffffff
jne 0x5eb81f
push 0
push str.::IsWow64Process
push 0x62339e
call fcn.004f4c00
add esp, 0xc
mov dword [0x658730], eax
push 0x658734
call fcn.00562c57
add esp, 4
jmp 0x5eb81f
Function at 0x6109f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0xc]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ecx], ebx
mov eax, dword [edi]
sub esp, 0x1c
mov dword [esp + 0x18], ebx
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
lea esi, [ebp - 0x14]
mov dword [esi], ebx
mov ecx, esi
push eax
call fcn.0054d020
mov esi, dword [esi]
lea eax, [esi + 1]
cmp eax, 1
ja 0x610a78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, 2
jb 0x610a64
call fcn.00501530
push dword [ebp - 0x14]
call fcn.00554260
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push dword [ebp + 0x1c]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea esi, [ecx + ecx*4]
jmp 0x610a4b