joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000827c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10008154
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100082b8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1004450c], 0xfffff751
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, eax
add esi, 0x24
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ecx + edx]
mov dword [0x10044510], 0xffffe77b
mov edi, dword [ebp - 0x24]
mov ebx, dword [ecx + edi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
je 0x100083f7
jmp 0x10008384
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], eax
jb 0x10008368
jmp 0x100083f7
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x38], edi
jmp 0x100083f7
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edx
jmp 0x10008396
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
add ecx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
jmp 0x10008368
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], bh
mov byte [ebp - 0x5e], cl
je 0x100083e7
mov eax, dword [ebp - 0x5c]
add eax, 1
mov cl, byte [ebp - 0x5d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x5e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x58], eax
jne 0x10008396
mov al, byte [ebp - 0x5e]
test al, 1
jne 0x1000834a
jmp 0x10008316
mov eax, dword [ebp - 0x38]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000875d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10044510]
add esi, 0xfffff0b4
mov dword [0x10044510], esi
mov dword [0x1004450c], 0x13ed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100087c7
lea eax, [ebp - 0x24]
mov dword [0x10044510], 0x18e3
mov dword [ebp - 0x34], eax
call fcn.1000851e
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10008609
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100088b2
jmp 0x100087f3
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100092d8]
mov dh, byte [eax + 0x100092a9]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x10008793
jmp 0x100087c7
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x1004450c]
add ecx, 0xffffe855
mov dword [0x1004450c], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10007b5f
mov dword [0x10044510], 0x26a5
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x44], eax
mov edx, dword [0x10044510]
mov dword [ebp - 0x40], edx
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x236
mov dword [0x1004450c], ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2711
mov edx, dword [ebp - 0x3c]
cmp edx, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x100088a9
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x10001c10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, ecx
jne 0x10001ca8
mov eax, dword [0x10051aa4]
mov dword [edi + 0x42c], 0
mov byte [eax], 0
mov eax, dword [0x10051a98]
mov dword [eax], 0
cmp byte [edi + 0x430], 0
je 0x10001d7b
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, dword [edi + 0x430]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x434]
mov word [ecx + 4], ax
mov al, byte [edi + 0x436]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x430], 0
jne 0x10001d03
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov ecx, 0x53f424
mov eax, dword [ecx]
mov dword [edi + 0x430], eax
mov ax, word [ecx + 4]
mov word [edi + 0x434], ax
mov al, byte [ecx + 6]
mov ecx, 0x90909090
mov byte [edi + 0x436], al
mov eax, 0x53f424
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
jmp 0x10001d3b
cmp byte [0x53f424], 0x90
je 0x10001d44
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, 0x53f424
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 7
push 0x53f424
call esi
cmp dword [ebp + 8], 2
mov eax, dword [0x10051aa4]
jne 0x10001d6e
mov dword [edi + 0x42c], 2
pop edi
mov byte [eax], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x42c], 1
mov byte [eax], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4
Function at 0x10002cb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c0b5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10051040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.10003720
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10002d3a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10002e81
cmp dword [ebx + 8], 0x4924924
je 0x10002e97
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x28], 0
call fcn.1001aa62
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10047580]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10047580]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10002e34
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.10036770
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10038ae0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10002e16
cmp eax, 0x200
jae 0x10002e14
shl eax, 3
cmp eax, ecx
jae 0x10002e16
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100033c0
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10003720
mov edx, dword [eax]
jmp 0x10002e37
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10002e62
mov dword [ecx + eax*8], esi
jmp 0x10002e74
cmp ebx, edx
jne 0x10002e6b
mov dword [ecx + eax*8], esi
jmp 0x10002e78
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10002e78
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10019631
int3
Function at 0x100033c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10003519
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10002a40
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100034ec
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x10003471
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100034e2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100034ab
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100034a3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x100034df
cmp edi, edx
je 0x100034bc
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100034f5
cmp edi, edx
jne 0x100034b0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10003422
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100034df
push str.invalid_hash_bucket_count
call fcn.10019631
int3
Function at 0x10003ae0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c135
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10051040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x10003b17
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10003b35
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10003b23
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.10003a50
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10003b66
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x10003cd0
lea eax, [ebx + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x10], 0
call fcn.1001aa62
add esp, 4
mov edi, eax
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.10002940
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10047580]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10047580]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10003c61
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.10036770
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10038ae0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10003c45
cmp eax, 0x200
jae 0x10003c43
shl eax, 3
cmp eax, ecx
jae 0x10003c45
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10003530
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10003a50
mov edx, dword [eax]
jmp 0x10003c64
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov dword [ebp - 0x10], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x10003c93
mov dword [ecx + eax*8], edi
jmp 0x10003ca5
cmp esi, edx
jne 0x10003c9c
mov dword [ecx + eax*8], edi
jmp 0x10003ca9
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10003ca9
mov dword [ecx + eax*8 + 4], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [esi], edi
mov byte [esi + 4], 1
call fcn.100032d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10019631
int3
Function at 0x100041a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
cmp dword [eax], 0
jne 0x10004248
cmp dword [edi + 0x42c], 2
jne 0x10004251
mov eax, dword [0x10051aa4]
mov dword [edi + 0x42c], 0
mov byte [eax], 0
mov eax, dword [0x10051a98]
mov dword [eax], 0
cmp byte [edi + 0x430], 0
je 0x10004251
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x430]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x434]
mov word [ecx + 4], ax
mov al, byte [edi + 0x436]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4
push 2
mov ecx, edi
call fcn.10001c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4

Function at 0x100042a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
cmp dword [eax], 0
jne 0x10004348
cmp dword [edi + 0x42c], 1
jne 0x10004351
mov eax, dword [0x10051aa4]
mov dword [edi + 0x42c], 0
mov byte [eax], 0
mov eax, dword [0x10051a98]
mov dword [eax], 0
cmp byte [edi + 0x430], 0
je 0x10004351
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x430]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x434]
mov word [ecx + 4], ax
mov al, byte [edi + 0x436]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4
push 1
mov ecx, edi
call fcn.10001c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 4
Function at 0x10008520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c630
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10051040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 4]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea ebx, [ecx + 0x24]
mov dword [ebp - 0x14], eax
lea edi, [ecx + 0x28]
mov dword [eax], 0
push 8
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.1001aa62
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10019d39
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
mov dword [eax + 0x34], esi
lea esi, [eax + 4]
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
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 0x100091e0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c7b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
jbe 0x1000922d
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 0xf
jbe 0x10009235
mov eax, dword [eax]
cmp dword [edx + 0x14], 0xf
jbe 0x1000923d
mov edx, dword [edx]
push ecx
push pe_nt_image_headers32
lea ecx, [ebp - 0x118]
push ecx
push 0x10046b41
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x10009262
xor al, al
jmp 0x100092fe
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x120], 0
movups xmmword [ebp - 0x134], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009290
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.10003120
mov edx, str.TRUE
lea ecx, [ebp - 0x134]
call fcn.1000a650
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 0x119], al
cmp ecx, 0xf
jbe 0x100092fe
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100092ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000931c
push ecx
push edx
call fcn.1001aa97
mov al, byte [ebp - 0x119]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001aa54
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1001f989
int3
Function at 0x10011830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d355
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, 0
je 0x100118d1
sub eax, 1
jne 0x100118da
cmp dword [0x100544b8], eax
jne 0x100118da
push ecx
mov dword [0x100544b8], ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 4
call fcn.1001aa62
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10011770
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10011930
push 0
push 0
call fcn.100258b4
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10011901
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100118fa
push ecx
push eax
call fcn.1001a692
add esp, 8
test eax, eax
jne 0x100118fa
jmp 0x100118da
mov eax, dword [0x100544bc]
mov byte [eax + 0x6c], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001aa54
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.1001a5ad
push 6
mov dword [ebp - 0x18], 0
call fcn.1001a5ad
int3

Function at 0x10012130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x10051040]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov bl, byte [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor bh, bh
push edi
xor edi, edi
movq qword [esp + 0x10], xmm0
test bl, bl
je 0x100121b6
lea eax, [esp + 0x1c]
push eax
push 0x40
push 0xd
push 0x538672
call esi
mov eax, 0x538672
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
mov bh, byte [eax + 0xc]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov byte [eax + 0xc], 0x90
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
movq qword [esp + 0x18], xmm0
push 0xd
push 0x538672
call esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push 0x1ff
push eax
call fcn.100043a0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.10025353
lea eax, [esp + 0x3c]
push eax
push dword [0x7f94cc]
call dword [0x10051afc]
add esp, 0x24
test bl, bl
je 0x1001222b
lea eax, [esp + 0x1c]
push eax
push 0x40
push 0xd
push 0x538672
call esi
movq xmm0, qword [esp + 0x10]
mov eax, 0x538672
movq qword [eax], xmm0
mov dword [eax + 8], edi
mov byte [eax + 0xc], bh
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push 0xd
push 0x538672
call esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001aa54
mov esp, ebp
pop ebp
ret