joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026a83
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x6c]
imul edi, dword [eax + 0x60]
mov ebx, dword [eax + 0x20]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x10026b9b
push esi
mov esi, 0xf0
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x68]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x10026b7b
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0xf
mov edx, eax
and edx, 0xf
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0xf
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0xf
lea edx, [edx + ebx + 2]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x20]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0xf
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x10026adb
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x60]
mov eax, dword [eax]
mov edx, dword [eax + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x10026abd
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x10038136
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x10038162
test ecx, ecx
jne 0x1003816c
test esi, esi
jne 0x1003816c
mov eax, edx
jmp 0x100381dd
cmp eax, 0xffffffff
jne 0x1003816c
push 0xfffffffffffffffe
pop eax
jmp 0x100381dd
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x100381dd
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x100381a2
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x100381c1
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x1003828a
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x10038202
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003820c
xor ecx, ecx
jmp 0x1003824b
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x1003822e
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.100389c7
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x10038276
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x1003828a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x10038144
pop edi
pop esi
leave
ret

Function at 0x10039f0a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10059cc0]
jne 0x10039f14
repz ret
jmp fcn.1003a4eb
Function at 0x100021b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100356e0
push 0x1000df00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10038080]
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 0x10002220
mov byte [esi + eax], 0x60
inc eax
jmp 0x10002212
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000223a
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.1000c98f
mov esp, ebp
pop ebp
ret

Function at 0x10002260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10035700
push 0x1000df00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10038080]
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 0x100022cd
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.1000c98f
mov esp, ebp
pop ebp
ret

Function at 0x100022f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10035720
push 0x1000df00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10038080]
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 0x1000235d
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.1000c98f
mov esp, ebp
pop ebp
ret
Function at 0x10003300
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002aed0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10038080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov edx, 0x20
mov eax, dword [0x1004a3f8]
add eax, 0x64
mov dword [0x1004a2e4], eax
lea ecx, [eax - 0xc]
call fcn.100022f0
mov edx, esi
mov ecx, 0x18
call fcn.10003290
xor edx, edx
lea ecx, [edx + 0x30]
call fcn.10003290
mov edx, dword [ebp + 8]
test edx, edx
je 0x10003373
mov ecx, 0x1c
call fcn.10003290
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10003384
mov ecx, 0x20
call fcn.10003290
mov ecx, 0x18
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
add ecx, 0xffffffd4
mov dword [0x1004a350], eax
call fcn.100022f0
mov ecx, 0x38
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
add ecx, 0xffffffdc
mov dword [0x1004a350], eax
call fcn.100022f0
mov ecx, 0x3c
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
mov dword [0x1004a350], eax
lea ecx, [ecx - 0x20]
call fcn.100022f0
mov ecx, 0x30
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov dl, al
add ecx, 0xffffffd8
mov dword [0x1004a3b4], eax
call fcn.10002260
mov ecx, 0x31
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov dl, al
add ecx, 0xffffffe4
mov dword [0x1004a3b4], eax
call fcn.10002260
mov ecx, 0x4d
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov dl, al
mov dword [0x1004a3b4], eax
lea ecx, [ecx - 0x1b]
call fcn.10002260
mov ecx, 0x1c
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
mov dword [0x1004a350], eax
lea ecx, [ecx - 0x18]
call fcn.100022f0
mov ecx, 0x20
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
add ecx, 0xffffffec
mov dword [0x1004a350], eax
call fcn.100022f0
mov ecx, 0x24
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
add ecx, 0xfffffff0
mov dword [0x1004a350], eax
call fcn.100022f0
mov ecx, 0x28
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
add ecx, 0xfffffff8
mov dword [0x1004a350], eax
call fcn.100022f0
mov ecx, 0x2c
call fcn.1000a6f0
mov ecx, dword [0x1004a2e4]
mov edx, eax
add ecx, 0xfffffffc
mov dword [0x1004a350], eax
call fcn.100022f0
mov eax, dword [0x1004a2e4]
sub eax, 0x2c
push eax
call dword [0x1004a3ec]
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 0x10004680
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x10038080]
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 [0x10048fbc]
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.1000c98f
mov esp, ebp
pop ebp
ret 4
Function at 0x10005bc0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push esi
call fcn.10003d40
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
mov ecx, dword [0x1004a404]
add ecx, 0x64
test edx, edx
jb 0x10005bf4
ja 0x10005be1
cmp eax, ecx
jbe 0x10005bf4
call esi
mov dword [0x1004a404], eax
mov byte [0x1004a30a], 0
call fcn.10005900
call esi
mov ecx, dword [0x1004a400]
add ecx, 0x3e8
test edx, edx
jb 0x10005c19
ja 0x10005c0c
cmp eax, ecx
jbe 0x10005c19
call esi
mov dword [0x1004a400], eax
pop esi
jmp fcn.10002720
pop esi
ret
Function at 0x10005c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x10038080]
xor eax, esp
mov dword [esp + 0x50], eax
movaps xmm0, xmmword [str._yF_G_kEHGB_aLQL]
xor ecx, ecx
push ebx
push esi
push edi
movups xmmword [esp + 0x10], xmm0
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x10005c55
lea edx, [esp + 0x11]
mov byte [esp + 0x1f], 0
lea ecx, [esp + 0x44]
call fcn.100049f0
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x44]
mov edx, dword [esp + 0x44]
lea ebx, [esp + 0x44]
cmp esi, 0xf
push 0x20
cmova eax, edx
add eax, dword [esp + 0x58]
cmp esi, 0xf
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
cmova ebx, edx
add ebx, dword [esp + 0x58]
cmp esi, 0xf
push ebx
cmova eax, edx
push eax
call fcn.1000bb10
mov edi, eax
cmp eax, ebx
je 0x10005ccf
inc eax
cmp eax, ebx
je 0x10005ccf
nop dword [eax + eax]
mov cl, byte [eax]
cmp cl, 0x20
je 0x10005cca
mov byte [edi], cl
inc edi
inc eax
cmp eax, ebx
jne 0x10005cc0
cmp dword [esp + 0x58], 0xf
lea eax, [esp + 0x44]
mov ebx, dword [esp + 0xc]
lea ecx, [esp + 0x44]
cmova eax, dword [esp + 0x44]
mov esi, edi
sub esi, eax
sub ebx, edi
mov edi, dword [esp + 0x54]
mov eax, edi
sub eax, esi
cmp eax, ebx
cmovb ebx, eax
cmp dword [esp + 0x58], 0xf
cmova ecx, dword [esp + 0x44]
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.1000e180
movaps xmm0, xmmword [0x10034090]
add esp, 0xc
movups xmmword [esp + 0x20], xmm0
xor ecx, ecx
mov dword [esp + 0x54], edi
movaps xmm0, xmmword [0x100340c0]
movups xmmword [esp + 0x30], xmm0
mov word [esp + 0x40], 0x5a
nop
mov al, byte [esp + 0x20]
xor byte [esp + ecx + 0x21], al
inc ecx
cmp ecx, 0x20
jb 0x10005d40
cmp dword [esp + 0x58], 0xf
lea ecx, [esp + 0x21]
lea eax, [esp + 0x44]
mov byte [esp + 0x41], 0
cmova eax, dword [esp + 0x44]
push ecx
push eax
call fcn.10018fce
add esp, 8
test eax, eax
jne 0x10005ddc
mov ecx, dword [0x1004a3f0]
mov edx, 0x10005c20
push 5
call fcn.100021b0
mov ecx, dword [0x1004a3e0]
add esp, 4
mov edx, 0x10003210
push 6
call fcn.100021b0
mov ecx, dword [0x1004a3c8]
add esp, 4
mov edx, 0x10003230
push 6
call fcn.100021b0
mov ecx, dword [0x1004a3c4]
add esp, 4
mov edx, 0x10003030
push 6
call fcn.100021b0
mov ecx, dword [0x1004a3e4]
add esp, 4
mov edx, 0x10003510
push 6
call fcn.100021b0
add esp, 4
mov ecx, dword [esp + 0x58]
cmp ecx, 0xf
jbe 0x10005e0e
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005e04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005e20
push ecx
push edx
call fcn.1000cda1
add esp, 8
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000c98f
mov esp, ebp
pop ebp
ret
call fcn.10017094
int3

Function at 0x10005ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10005ee8
push 0
push 0
push 0x10005e30
call fcn.1001283d
push 0
push 0
push 0x100049d0
call fcn.1001283d
add esp, 0x18
mov eax, 1
pop ebp
ret 0xc
Function at 0x10006550
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 0x10006582
jl 0x10006575
test ecx, ecx
jne 0x10006582
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 0x10006642
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10009340
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100065ee
jg 0x100065ad
test esi, esi
je 0x100065ee
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x100065c5
mov eax, dword [esp + 0x10]
jl 0x100065bf
cmp eax, esi
jae 0x100065c5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.1000e180
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 0x1000660f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1000662b
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 0x10006594
jl 0x1000662b
test ecx, ecx
jne 0x10006594
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 0x10006686
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x10006686
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.1000e180
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 0x100066f7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100066ac
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 0x100066e2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10016a48
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100066f7
cmp edi, eax
ja 0x100066c0
test edi, edi
je 0x100066f7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10016a48
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 0x10009b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b3a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10038080]
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.1000ca57
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1000bfb3
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10009ad0
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 0x1000a450
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10035e80
push 0x1000df00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10038080]
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 0x1000a4d2
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.1000c98f
mov esp, ebp
pop ebp
ret

Function at 0x1000a4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10035ea0
push 0x1000df00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10038080]
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
movss dword [ebp - 0x2c], xmm1
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
wait
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 0x2c]
movss dword [edi], xmm0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
wait
jmp 0x1000a570
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.1000c98f
mov esp, ebp
pop ebp
ret
Function at 0x1000a5a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10035ec0
push 0x1000df00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10038080]
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
wait
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [edi]
movss dword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
wait
mov dword [ebp - 4], 0xfffffffe
movss xmm0, dword [ebp - 0x2c]
jmp 0x1000a62e
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.1000c98f
mov esp, ebp
pop ebp
ret

Function at 0x1000a650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10035ee0
push 0x1000df00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10038080]
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 0x1000a6d2
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.1000c98f
mov esp, ebp
pop ebp
ret

Function at 0x10018423
Capabilities:
Parse pe header

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

Function at 0x1001bfe5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100300ac
push 0x100300a4
push str.FlsAlloc
push 0x1f
call fcn.1001be6d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c019
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002c1fc]
call esi
jmp 0x1001c01f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4