joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b030]
jne 0x401116
repz ret
jmp fcn.00401b11

Function at 0x408edc
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.004047d5
and dword [ebp - 4], 0
cmp dword [0x42d78c], 0
mov ebx, eax
jne 0x408f8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40903e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40903e
push eax
call fcn.00404763
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d78c], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d790], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d794], eax
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x42d79c], eax
test eax, eax
je 0x408f8d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x42d798], eax
mov eax, dword [0x42d798]
cmp eax, ebx
je 0x408fe5
cmp dword [0x42d79c], ebx
je 0x408fe5
push eax
call fcn.004047de
push dword [0x42d79c]
mov esi, eax
call fcn.004047de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408fe5
test edi, edi
je 0x408fe5
call esi
test eax, eax
je 0x408fdc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408fdc
test byte [ebp - 0xc], 1
jne 0x408fe5
or dword [ebp + 0x10], 0x200000
jmp 0x40901e
mov eax, dword [0x42d790]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40901e
mov eax, dword [0x42d794]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d78c]
call fcn.004047de
pop ecx
test eax, eax
je 0x40903e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409040
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b120
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x42b030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ae61cc]
push ebx
mov ebx, dword [0x2ae5eec]
push esi
mov esi, dword [0x42bf60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b161
push str.wozekajevirifegavonetucusiva
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2ae61cc]
mov dword [0x2ae5ee8], esi
cmp eax, 0x114e
jne 0x40b189
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push str.gavipokucohuj
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2ae61cc]
cmp eax, 0x2f
jne 0x40b1ab
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040b050
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x100021d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10038890
push 0x10011400
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003b080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x10002240
mov byte [esi + eax], 0x60
inc eax
jmp 0x10002232
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000225a
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret

Function at 0x10002280
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100388b0
push 0x10011400
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1003b080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov bl, dl
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edi], bl
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100022ed
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret

Function at 0x10002310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100388d0
push 0x10011400
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1003b080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edi], ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000237d
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret
Function at 0x10003560
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e460
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1003b080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x11], cl
mov dword [ebp - 4], 0
mov edx, 0x20
mov eax, dword [0x1004e1f4]
add eax, 0x64
mov dword [0x1004e04c], eax
lea ecx, [eax - 0xc]
call fcn.10002310
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call ebx
push 0
mov edi, eax
call ebx
movzx ebx, byte [ebp - 0x11]
add eax, 0x12650a8
push 0
push eax
call fcn.1000abd0
lea edx, [edi + 0x1265038]
mov esi, eax
push 0
push edx
call fcn.1000abd0
add esi, 0x18
mov ecx, ebx
add eax, esi
push 0
push eax
call fcn.1000ad10
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0x18
push 0
call esi
push 0
mov edi, eax
call esi
add eax, 0x12650a8
push 0
push eax
call fcn.1000abd0
lea ecx, [edi + 0x1265038]
mov esi, eax
push 0
push ecx
call fcn.1000abd0
add eax, 0x30
add eax, esi
push 0
push eax
call fcn.1000adb0
mov edx, dword [ebp + 8]
add esp, 0x18
test edx, edx
je 0x10003640
mov ecx, 0x1c
call fcn.100034f0
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10003651
mov ecx, 0x20
call fcn.100034f0
mov ecx, 0x18
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
add ecx, 0xffffffd4
mov dword [0x1004e0e0], eax
call fcn.10002310
mov ecx, 0x3c
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
add ecx, 0xffffffdc
mov dword [0x1004e0e0], eax
call fcn.10002310
mov ecx, 0x40
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
add ecx, 0xffffffe0
mov dword [0x1004e0e0], eax
call fcn.10002310
mov ecx, 0x30
call fcn.1000aec0
movzx ecx, al
mov dl, al
mov dword [0x1004e184], ecx
mov ecx, dword [0x1004e04c]
add ecx, 0xffffffd8
call fcn.10002280
mov ecx, 0x31
call fcn.1000aec0
movzx ecx, al
mov dl, al
mov dword [0x1004e184], ecx
mov ecx, dword [0x1004e04c]
add ecx, 0xffffffe4
call fcn.10002280
mov ecx, 0x51
call fcn.1000aec0
mov ecx, dword [0x1004e04c]
movzx edx, al
mov dword [0x1004e184], edx
mov dl, al
lea ecx, [ecx - 0x1b]
call fcn.10002280
mov ecx, 0x1c
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
mov dword [0x1004e0e0], eax
lea ecx, [ecx - 0x18]
call fcn.10002310
mov ecx, 0x20
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
add ecx, 0xffffffec
mov dword [0x1004e0e0], eax
call fcn.10002310
mov ecx, 0x24
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
add ecx, 0xfffffff0
mov dword [0x1004e0e0], eax
call fcn.10002310
mov ecx, 0x28
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
add ecx, 0xfffffff8
mov dword [0x1004e0e0], eax
call fcn.10002310
mov ecx, 0x2c
call fcn.1000ae50
mov ecx, dword [0x1004e04c]
mov edx, eax
add ecx, 0xfffffffc
mov dword [0x1004e0e0], eax
call fcn.10002310
mov eax, dword [0x1004e04c]
sub eax, 0x2c
push eax
call dword [0x1004e1ec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100049f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x1003b080]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x48]
push 0x2c
push eax
push dword [0x1004ccf4]
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
lea eax, [esp + 8]
mov dword [esp + 8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [esp + 0x10]
mov ecx, esi
sub ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, edx
sbb eax, dword [esp + 0x1c]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [edi + 0x10], edx
sub edx, dword [esp + 0x28]
mov dword [edi + 0x14], ecx
sbb ecx, dword [esp + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [edi + 0x20], eax
mov eax, edi
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 0x28], esi
mov dword [edi + 0x24], 0
mov dword [edi], edx
mov dword [edi + 0xc], 0
pop edi
pop esi
xor ecx, esp
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret 4
Function at 0x10005d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1003b080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ch, 0x39
mov byte [ebp - 0x42], 0
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
mov bl, 0x49
mov ah, bl
mov byte [ebp - 0x48], ch
mov al, 0x69
mov byte [ebp - 0x42], 0
xor al, ch
xor ah, ch
push edi
mov cl, 0x7b
mov byte [ebp - 0x47], al
mov dl, 0x78
mov byte [ebp - 0x43], ah
push 0
lea eax, [ebp - 0x47]
xor cl, ch
xor dl, ch
mov byte [ebp - 0x46], cl
xor bl, ch
mov byte [ebp - 0x45], dl
push eax
mov byte [ebp - 0x44], bl
call esi
test eax, eax
jne 0x10005d91
mov ch, 0x76
mov byte [ebp - 0x42], 0
mov bl, 6
mov byte [ebp - 0x48], ch
mov ah, bl
mov byte [ebp - 0x42], 0
mov al, 0x26
xor ah, ch
xor al, ch
mov byte [ebp - 0x43], ah
mov cl, 0x34
mov byte [ebp - 0x47], al
mov dl, 0x37
lea eax, [ebp - 0x47]
push 0
xor cl, ch
xor dl, ch
xor bl, ch
mov byte [ebp - 0x46], cl
push eax
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x44], bl
call esi
test eax, eax
je 0x10005d55
cmp dword [0x1003bfe0], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
je 0x10005dab
push str.d3d12.dll
call esi
test eax, eax
jne 0x10005def
cmp dword [0x1003bfdc], 0
je 0x10005dbf
push str.d3d11.dll
call esi
test eax, eax
jne 0x10005def
cmp dword [0x1003bfd8], 0
je 0x10005dd3
push str.d3d10.dll
call esi
test eax, eax
jne 0x10005def
cmp dword [0x1003bfd4], 0
je 0x10005e9d
push 0x10036f4c
call esi
test eax, eax
je 0x10005e9d
push 0
push dword [0x1004e194]
push 0
push 0
push 0x12c
push 0x12c
push 0x80000000
push 0x80000000
push 0xa0000
push 0x10036f58
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
test edi, edi
je 0x10005e9d
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov esi, eax
test esi, esi
je 0x10005e96
lea ecx, [ebp - 8]
mov dword [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xc], 0
push ecx
push 0x20
xorps xmm0, xmm0
mov dword [ebp - 0x20], 1
push edi
push 1
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], 0
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x40]
test eax, eax
je 0x10005eb0
mov eax, dword [esi]
push esi
call dword [eax + 8]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
test eax, eax
je 0x10005e90
mov eax, dword [eax]
mov eax, dword [eax + 0xa8]
mov dword [0x1004e08c], eax
call fcn.1000fac0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1000ffa0
push 0x10005c70
push 0x1004e08c
call fcn.1000f540
call fcn.1000fb20
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret
Function at 0x10005f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1003b080]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100371c0]
xor ecx, ecx
push ebx
push esi
push edi
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0xe
jb 0x10005f40
lea edx, [ebp - 0x2f]
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x1c]
call fcn.10004d60
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
lea ebx, [ebp - 0x1c]
cmp esi, 0xf
push 0x20
cmova eax, edx
add eax, dword [ebp - 0xc]
cmp esi, 0xf
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
cmova ebx, edx
add ebx, dword [ebp - 0xc]
cmp esi, 0xf
push ebx
cmova eax, edx
push eax
call fcn.1000c480
mov edi, eax
cmp eax, ebx
je 0x10005faf
inc eax
cmp eax, ebx
je 0x10005faf
nop word [eax + eax]
mov cl, byte [eax]
cmp cl, 0x20
je 0x10005faa
mov byte [edi], cl
inc edi
inc eax
cmp eax, ebx
jne 0x10005fa0
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
mov esi, edi
sub esi, eax
sub ebx, edi
mov edi, dword [ebp - 0xc]
mov eax, edi
sub eax, esi
cmp eax, ebx
cmovb ebx, eax
cmp dword [ebp - 8], 0xf
cmova ecx, dword [ebp - 0x1c]
sub edi, ebx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.10011680
movaps xmm0, xmmword [0x10037260]
add esp, 0xc
movups xmmword [ebp - 0x54], xmm0
xor ecx, ecx
mov dword [ebp - 0xc], edi
movaps xmm0, xmmword [0x10037210]
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x6c
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x20
jb 0x10006012
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x53]
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x33], 0
cmova eax, dword [ebp - 0x1c]
push ecx
push eax
call fcn.1001c4ce
mov ecx, dword [ebp - 8]
add esp, 8
test eax, eax
setne bl
cmp ecx, 0xf
jbe 0x10006070
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006083
push ecx
push edx
call fcn.1000d711
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret
call fcn.1001a594
int3
Function at 0x10006360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop dword [eax]
call esi
mov ecx, dword [0x1004e214]
add ecx, 0x3e8
test edx, edx
jb 0x100063c0
ja 0x10006398
cmp eax, ecx
jbe 0x100063c0
call esi
mov dword [0x1004e214], eax
mov eax, dword [0x1004e048]
test eax, eax
je 0x100063b6
push eax
push str._n_TOTAL_DE_DISPAROS_POR_SEGUNDO:__i
call fcn.10001380
add esp, 8
mov dword [0x1004e048], 0
call esi
mov ecx, dword [0x1004e200]
add ecx, 0x64
test edx, edx
jb 0x100063e8
ja 0x100063d5
cmp eax, ecx
jbe 0x100063e8
call esi
mov dword [0x1004e200], eax
mov byte [0x1004e0c4], 0
call fcn.10006090
call esi
mov ecx, dword [0x1004e1fc]
add ecx, 0x3e8
test edx, edx
jb 0x1000640c
ja 0x10006400
cmp eax, ecx
jbe 0x1000640c
call esi
mov dword [0x1004e1fc], eax
call fcn.10002740
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x126e65c
push 0
push eax
call fcn.1000abd0
push 0
push eax
call fcn.1000abd0
add esp, 0x10
push 9
call edi
push 0x75
call edi
shr ax, 0xf
push 0xa
mov byte [0x1004e054], al
call ebx
jmp 0x10006380

Function at 0x10006640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10006668
push 0
push 0
push 0x10006590
call fcn.10015d3d
push 0
push 0
push 0x10004d40
call fcn.10015d3d
add esp, 0x18
mov eax, 1
pop ebp
ret 0xc
Function at 0x10006cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10006d02
jl 0x10006cf5
test ecx, ecx
jne 0x10006d02
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10006dc2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10009ac0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10006d6e
jg 0x10006d2d
test esi, esi
je 0x10006d6e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10006d45
mov eax, dword [esp + 0x10]
jl 0x10006d3f
cmp eax, esi
jae 0x10006d45
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10011680
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x10006d8f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10006dab
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x10006d14
jl 0x10006dab
test ecx, ecx
jne 0x10006d14
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x10006e06
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x10006e06
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.10011680
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x10006e77
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10006e2c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x10006e62
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10019f48
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10006e77
cmp edi, eax
ja 0x10006e40
test edi, edi
je 0x10006e77
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10019f48
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a2b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e930
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1003b080]
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.1000d3c7
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1000c923
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000a250
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 0x1000abd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10039050
push 0x10011400
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003b080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x1000ac52
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret

Function at 0x1000ac70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10039070
push 0x10011400
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003b080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov bl, byte [edi]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
mov al, bl
jmp 0x1000acf2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000d2ff
mov esp, ebp
pop ebp
ret