joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007a7d0
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x100afd38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.1007b1e0
mov eax, dword [esp + 0x24]
push 0x10108300
push eax
xor edi, edi
xor ebx, ebx
call fcn.1008cb54
add esp, 8
test eax, eax
je 0x1007a81d
mov ebx, dword [esp + 0x24]
mov edi, 3
push 0
push 0
push ebx
push edi
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi], eax
je 0x1007a867
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [esp + 0xc]
push 4
push ecx
push 2
push eax
mov dword [esp + 0x1c], 0x15f90
call edi
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 5
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push 4
push ecx
push 6
push edx
call edi
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.100a0be6
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x1007ad80
Capabilities:
Get http response content encoding
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afdc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea eax, [esi + 0x28]
mov dword [ebp - 4], ebx
push eax
push 0x13
call fcn.1007afa0
lea ecx, [esi + 0x30]
push ecx
push 5
mov ecx, esi
call fcn.1007b030
lea edx, [esi + 0x20]
mov ecx, esi
push edx
push 0x21
call fcn.1007aef0
lea eax, [esi + 0x14]
mov ecx, esi
push eax
push 0x16
call fcn.1007aef0
lea ecx, [esi + 0x18]
push ecx
push 1
mov ecx, esi
call fcn.1007aef0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea edx, [ebp - 0x14]
push ebx
push edx
push ebx
push 0x1d
push eax
mov dword [esi + 0x24], ebx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x1007ae5d
push eax
call fcn.100a0927
mov edx, dword [esi + 8]
add esp, 4
lea ecx, [ebp - 0x14]
mov ebx, eax
push 0
push ecx
push ebx
push 0x1d
push edx
call edi
push str.gzip
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1007ae3b
mov dword [esi + 0x24], 1
jmp 0x1007ae52
push str.deflate
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1007ae52
mov dword [esi + 0x24], 2
push ebx
call fcn.100a0950
add esp, 4
xor ebx, ebx
lea ecx, [esi + 0x1c]
push 0x10108300
call fcn.100a0d23
mov dword [ebp - 0x18], ebx
mov edx, dword [esi + 8]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 1
jb 0x1007aed4
push eax
call fcn.100a0927
mov edx, dword [esi + 8]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
call edi
cmp dword [ebp - 0x18], 1
jbe 0x1007aeb8
push 0x100f58b0
lea ecx, [esi + 0x1c]
call fcn.100a0f76
push ebx
lea ecx, [esi + 0x1c]
call fcn.100a0f76
push ebx
call fcn.100a0950
add esp, 4
xor ebx, ebx
jmp 0x1007ae6d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007b0d0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afe28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x1007b10e
push eax
call fcn.1008d58e
add esp, 4
mov dword [esi + 0xc], ebx
push 0x400
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], ebx
call fcn.100a85dc
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x43f]
mov byte [ebp - 0x440], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], ebx
je 0x1007b18d
mov edx, dword [esi + 8]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x440]
push 0x400
push ecx
push edx
call edi
cmp eax, ebx
je 0x1007b14a
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x1007b14a
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x40]
call fcn.100a87c3
jmp 0x1007b14a
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.100a15f2
mov edi, eax
cmp edi, ebx
jbe 0x1007b1ac
lea ecx, [ebp - 0x40]
call fcn.100a8653
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp ecx, edi
lea ecx, [ebp - 0x40]
sbb esi, esi
neg esi
call fcn.100a8665
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1007b580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100afeba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 6
call fcn.100a0be6
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.100a0be6
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 4
call fcn.100a0be6
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.100a0be6
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.100a0be6
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.100a0be6
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.100a0be6
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.100a0be6
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1007d190
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1007d19b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1007d29e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100d6c20]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100d6c20]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100d6c20]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100d6c20]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100d6c20]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100d6c20]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100d6c20]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100d6c20]
xor eax, edx
inc ecx
dec edi
jne 0x1007d1b6
pop edi
test esi, esi
je 0x1007d2c0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100d6c20]
xor eax, edx
inc ecx
dec esi
jne 0x1007d2a2
pop esi
pop ebx
not eax
ret
Function at 0x10082e30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x10082e96
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x10082e96
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x10082e77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x10083220
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x10083258
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x10083ed0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x10083f19
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x10084390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b0290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10083f40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.10083fc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.10083fc0
lea ecx, [esi + 0xc]
call fcn.100a0b71
lea ecx, [esi + 0x10]
call fcn.100a0b71
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.10085550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.10085550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.10085550
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100a0be6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100a0be6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100864e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x10086583
test eax, eax
jbe 0x10086583
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x10086583
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1008652e
xor esi, esi
jmp 0x10086534
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1008655f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.1001aa40
add esi, eax
push esi
mov ebx, esi
call fcn.1001aa40
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x10086540
pop ebp
test edi, edi
pop edi
jne 0x10086583
test ebx, ebx
je 0x10086583
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.1008d490
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x100866a0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100867bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100867bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.100a25f9
mov esi, eax
test esi, esi
je 0x100867bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x100867bd
mov ecx, esi
call fcn.10086630
cmp edi, eax
jge 0x100867bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x10086743
mov dword [esp + 0x34], 1
jmp 0x1008679e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100867bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10085be0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x1008aa80
Capabilities:
Create process on windows

Disassembly:
push str.Microsoft_Internet_Explorer
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4
Function at 0x100a2f9c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100a2fd4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100a1041
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100a1019
jmp 0x100a2fe0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100a468d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100a46cf
call fcn.100aa73a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100a46cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100a46c6
xor eax, eax
jmp 0x100a46d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100a46dd
pop edi
pop esi
pop ebx
ret 4
Function at 0x10001413
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], eax
test edx, edx
je 0x1000143f
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
push ecx
push 0x40
push edx
push eax
mov dword [esi + 4], edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x10001c6d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x10001cc3
push ebx
push edi
push 0x10057384
push dword [esi + 8]
call fcn.100305d4
mov ebx, eax
xor eax, eax
push eax
push eax
push ebx
call fcn.10031005
push ebx
push dword [esi]
xor edi, edi
inc edi
push edi
push dword [ebp + 8]
call fcn.10039cd0
xor ecx, ecx
add esp, 0x24
cmp ecx, dword [esi + 4]
ja 0x10001cb4
jb 0x10001cb6
cmp eax, dword [esi]
jbe 0x10001cb6
mov edi, ecx
push ebx
call fcn.10030a79
pop ecx
mov eax, edi
pop edi
pop ebx
jmp 0x10001cc5
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x10003cf0
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x10002b28
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10005321
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
push 4
mov esi, ecx
not edx
pop edi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005aed8]
inc esi
sub edi, 1
jne 0x10005331
pop edi
not edx
pop esi
mov eax, edx
leave
ret

Function at 0x10005351
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x100053b5
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1000537d
cmp edi, 2
jb 0x1000537d
cmp byte [esi], al
jne 0x1000537d
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005aed8]
test edi, edi
jne 0x10005366
jmp 0x100053bc
cmp al, 0x23
jne 0x100053a3
cmp byte [esi], al
jne 0x100053a3
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005aed8]
mov al, byte [esi]
inc esi
test al, al
jne 0x10005395
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x100054f1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10005514
push 0x628
push str.E:Visual_Studio_ProjectsMGRRMGRModLoaderMGRModLoaderimguiimgui.cpp
push str.filename__mode
call fcn.1003a4c4
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x1000551e
and dword [edi], 0
mov edx, 0x10057384
mov ecx, esi
call fcn.100053c5
mov esi, eax
test esi, esi
je 0x10005586
mov ecx, esi
call fcn.10005498
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000557f
mov ecx, ebx
call fcn.1000729b
mov dword [ebp + 8], eax
test eax, eax
je 0x1000557f
push esi
push ebx
push 1
push eax
call fcn.10039cd0
add esp, 0x10
push esi
cmp eax, ebx
je 0x1000556e
call fcn.10030a79
pop ecx
mov ecx, dword [ebp + 8]
call fcn.100072b2
jmp 0x10005586
call fcn.10030a79
pop ecx
test edi, edi
je 0x1000557a
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x10005588
push esi
call fcn.10030a79
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001ffde
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10067040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.1000733f
mov edi, eax
xor ebx, ebx
mov ecx, dword [edi + 0x90]
cmp dword [ecx + 0x34], ebx
jle 0x1002000f
cmp dword [ecx + 0x14], ebx
jne 0x10020026
cmp dword [ecx + 0x18], ebx
jne 0x10020026
push 0xd9
push str.E:Visual_Studio_ProjectsMGRRMGRModLoaderMGRModLoaderimguiimgui_impl_win32.cpp
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_back_end._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call fcn.1003a4c4
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [0x1006b544]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm1, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x1006b548]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x1006b54c]
call fcn.1004e6e0
mov edx, dword [0x1006b554]
mov ecx, dword [0x1006b550]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.1004e6e0
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x1006b548], eax
mov dword [0x1006b54c], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], bl
mov byte [edi + 0xfa], al
call fcn.1001fc88
cmp byte [edi + 0xa8], bl
je 0x10020103
or eax, 0xffffffff
jmp 0x1002010e
mov eax, dword [0x1006b4e4]
mov eax, dword [eax + 0x1d8c]
cmp dword [0x10069240], eax
je 0x10020120
mov dword [0x10069240], eax
call fcn.1001fbdc
call fcn.1001fd54
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c4d5
leave
ret
Function at 0x10029ff3
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x1006bd5c]
push esi
xor esi, esi
jmp 0x1002a005
cmp dword [edx + 4], esi
jne 0x1002a051
mov edx, dword [edx]
test edx, edx
jne 0x10029ffe
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x1002a05e
push edi
push 0x20
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop edi
mov dword [ecx], esi
mov eax, ecx
mov dword [edx + 4], ecx
add edi, 0x20
add ecx, 0x20
mov esi, eax
cmp edi, 0xfe0
jbe 0x1002a02c
mov eax, dword [0x1006bd5c]
pop edi
mov dword [edx], eax
mov dword [0x1006bd5c], edx
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
xor eax, eax
pop esi
ret

Function at 0x1002a8b8
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10067040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1002a998
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1002a991
push ebx
cmp dword [ebp - 0x20], 0x10
jb 0x1002a976
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1002a976
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1002a976
mov edx, dword [esi]
test edx, edx
jne 0x1002a944
push 0x200
push edx
push dword [0x1006b4ec]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1002a990
lea ebx, [esi + 8]
jmp 0x1002a96c
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x1002a96c
shl eax, 3
push eax
push edx
push 0
push dword [0x1006b4ec]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1002a990
shl dword [esi + 4], 1
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1002a8fc
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002c4d5
leave
ret