joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038960
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9ee4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push ebx
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [edi + 8], 0
call fcn.10039c40
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
lea eax, [ebx + 0xc]
mov dword [ecx + 4], 0
push eax
mov dword [ecx], 0
mov dword [ecx + 8], 0
call fcn.10039ce0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 1
lea eax, [ebx + 0x18]
mov dword [ecx + 4], 0
push eax
mov dword [ecx], 0
mov dword [ecx + 8], 0
call fcn.10039ba0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x40]
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0
mov esi, dword [ebx + 0x40]
lea edx, [eax + 8]
test esi, esi
jle 0x10038a4d
cmp esi, edx
mov eax, esi
cmovl eax, edx
push eax
call fcn.1003a710
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x40]
mov dword [ecx], esi
shl esi, 4
push esi
push dword [ebx + 0x48]
push eax
call fcn.10091a80
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [edi + 0x4c]
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
push dword [ebx + 0x4c]
call fcn.10039110
mov eax, dword [edi + 0x4c]
shl eax, 2
push eax
push dword [ebx + 0x54]
push dword [edi + 0x54]
call fcn.10091a80
add esp, 0xc
mov byte [ebp - 4], 4
xor edx, edx
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
mov ecx, dword [ebx + 0x58]
mov dword [ebp + 8], ecx
test ecx, ecx
jle 0x10038ad9
mov eax, ecx
cmp ecx, 8
mov ecx, 8
cmovl eax, ecx
lea ecx, [edi + 0x58]
push eax
call fcn.10039b20
mov edx, dword [edi + 0x60]
mov ecx, dword [ebp + 8]
lea eax, [ecx*8]
mov dword [edi + 0x58], ecx
push eax
push dword [ebx + 0x60]
push edx
call fcn.10091a80
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [edi + 0x6c]
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x68], eax
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
push dword [ebx + 0x6c]
call fcn.1003a320
mov eax, dword [edi + 0x6c]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [ebx + 0x74]
push dword [edi + 0x74]
call fcn.10091a80
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003e9c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba145
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp dword [edx + 0x14], 0x10
push edi
mov dword [ebp - 0x10], esi
jb 0x1003e9f0
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1003ea12
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1003ea00
push edi
push edx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.1003b920
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003ea42
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x71c71c7
je 0x1003eb86
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.1008f58e
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.1000a1c0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebx + 0x20], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ee850]
mov eax, dword [esi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100ee850]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1003eb23
divss xmm0, xmm3
call fcn.10001310
call fcn.100b45a0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x1003eb07
cmp eax, 0x200
jae 0x1003eb05
shl eax, 3
cmp eax, ecx
jae 0x1003eb07
mov eax, ecx
push eax
mov ecx, esi
call fcn.1003b740
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1003b920
mov edx, dword [eax]
jmp 0x1003eb26
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [esi + 8], eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x18]
and eax, edi
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x1003eb54
mov dword [ecx + eax*8], ebx
jmp 0x1003eb66
cmp esi, edx
jne 0x1003eb5d
mov dword [ecx + eax*8], ebx
jmp 0x1003eb6a
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1003eb6a
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1008dbd4
int3
Function at 0x10040b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10040b43
push 0x5e9
push 0x100e84a0
push 0x100e84e4
call fcn.1009d619
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10040b50
mov dword [edi], 0
mov edx, 0x100eadf4
mov ecx, esi
call fcn.10040960
mov esi, eax
test esi, esi
je 0x10040c3b
push esi
call fcn.1009dfff
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10040c32
push 2
push 0
push esi
call fcn.1009cc25
add esp, 0xc
test eax, eax
jne 0x10040c32
push esi
call fcn.1009dfff
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10040c32
push 0
push dword [ebp + 8]
push esi
call fcn.1009cc25
add esp, 0xc
test eax, eax
jne 0x10040c32
mov eax, dword [0x10100d08]
test eax, eax
je 0x10040bc5
inc dword [eax + 0x374]
push dword [0x10100d00]
push ebx
call fcn.10040070
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x10040c32
push esi
push ebx
push 1
push eax
call fcn.1009c894
add esp, 0x10
push esi
cmp eax, ebx
je 0x10040c1c
call fcn.10098276
mov eax, dword [0x10100d08]
add esp, 4
test eax, eax
je 0x10040c04
dec dword [eax + 0x374]
push dword [0x10100d00]
push dword [ebp + 8]
call fcn.10040080
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10098276
add esp, 4
test edi, edi
je 0x10040c2a
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10098276
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100431d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc4]
test ecx, ecx
jg 0x100431fe
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov ecx, dword [esi + 0xc4]
add esp, 0xc
mov eax, dword [esi + 0xcc]
mov edi, 4
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100e2408]
sub edi, 1
jne 0x10043212
mov ecx, dword [0x10100d08]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a74], eax
jne 0x10043244
mov dword [ecx + 0x1a78], eax
cmp dword [ecx + 0x1aa8], eax
jne 0x10043253
mov byte [ecx + 0x1aac], 1
pop ebp
ret 4

Function at 0x10043260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0xc4]
test edx, edx
jg 0x10043291
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov edx, dword [esi + 0xc4]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, 0x10
movss xmm0, dword [ecx]
subss xmm0, dword [esi + 0xc]
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x10]
mov edx, dword [eax + edx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100e2408]
sub edi, 1
jne 0x100432f0
mov eax, dword [0x10100d08]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a74], edx
jne 0x10043321
mov dword [eax + 0x1a78], edx
cmp dword [eax + 0x1aa8], edx
jne 0x10043330
mov byte [eax + 0x1aac], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004e150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10100d08]
push ebx
mov dword [ebp - 4], ecx
push esi
mov ebx, dword [eax + 0x1a40]
push edi
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
jg 0x1004e18c
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov ecx, dword [ebx + 0xc4]
add esp, 0xc
mov eax, dword [ebx + 0xcc]
lea esi, [ebp - 4]
mov edi, 4
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100e2408]
sub edi, 1
jne 0x1004e1a0
not eax
lea ecx, [ebx + 0xc4]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10054950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10053b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x10100d08]
push edi
cmp byte [esi + 0x2de4], 0
je 0x10053bce
cmp dword [esi + 0x2dec], 0
lea edi, [esi + 0x2df0]
je 0x10053bc0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10053b79
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10039220
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10041290
mov edx, dword [edi]
mov ecx, 0x10100d04
push dword [esi + 0x2dec]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2df8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.10099655
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10041290
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10054180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x10100d08]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [edi + 0x2dbc], 0
test eax, eax
je 0x10054294
lea esi, [edi + 0x2dc0]
mov dword [edi + 0x2dbc], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100541d5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10039220
xor ecx, ecx
mov dword [esi], 0
cmp dword [esi + 4], ecx
jne 0x100541ed
push 8
mov ecx, esi
call fcn.10039220
mov ecx, dword [esi]
mov eax, dword [esi + 8]
xor ebx, ebx
mov byte [ecx + eax], 0
inc dword [esi]
mov eax, dword [edi + 0x2dcc]
mov ecx, dword [esi]
test eax, eax
jle 0x10054250
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10054227
push 0x51e
push 0x100e6f38
push 0x100e8330
call fcn.1009d619
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [edi + 0x2dd4]
add eax, ecx
push esi
push eax
push edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 4]
inc ebx
mov eax, dword [edi + 0x2dcc]
add ecx, 0x18
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10054227
mov ecx, dword [esi]
lea eax, [ecx - 1]
mov edx, 0x100eadfc
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [edi + 0x2dc8]
test eax, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edi, 0x10100d04
cmovne edi, eax
call fcn.10040960
mov esi, eax
test esi, esi
je 0x10054294
push esi
push dword [ebp - 4]
push 1
push edi
call fcn.10099655
push esi
call fcn.10098276
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007d610
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, esi
je 0x1007d68e
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x1007d690
nop word [eax + eax]
cmp eax, edx
je 0x1007d68e
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x1007d670
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
Function at 0x10088cc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba9c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 0x18], 1
mov edx, dword [ecx + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10088d50
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.10004d70
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
cmp dword [eax + 4], 0
jle 0x10088e75
xor esi, esi
mov dword [ebp - 0x14], esi
nop dword [eax + eax]
mov eax, dword [eax]
add esi, eax
mov dword [ebp - 0x1c], esi
je 0x10088e57
mov eax, dword [esi]
movsx eax, byte [eax]
push eax
call fcn.100a05f0
add esp, 4
test eax, eax
jne 0x10088e57
mov eax, dword [esi]
mov ecx, 0x100edf74
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10088dd0
test dl, dl
je 0x10088dcc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10088dd0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10088db0
xor eax, eax
jmp 0x10088dd5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10088e57
cmp dword [esi + 4], 6
jne 0x10088e3a
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10088e3a
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x100fea88
push eax
call fcn.10088cc0
mov ecx, eax
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x30]
push ecx
cmp eax, dword [ebx + 0x34]
je 0x10088e14
mov ecx, eax
call fcn.10088e90
add dword [ebx + 0x30], 0x38
jmp 0x10088e1d
push eax
lea ecx, [ebx + 0x2c]
call fcn.10089540
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.10004c60
mov ecx, dword [ebx + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [ecx - 0x1c], eax
mov eax, dword [ebx + 0x30]
mov dword [eax - 0x20], esi
jmp 0x10088e57
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebx + 0x28]
je 0x10088e4a
mov dword [eax], esi
add dword [ebx + 0x24], 4
jmp 0x10088e57
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebx + 0x20]
call fcn.10018960
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
inc eax
add esi, 0x3c
mov dword [ebp - 0x10], eax
cmp eax, dword [ecx + 4]
mov eax, ecx
mov dword [ebp - 0x14], esi
jl 0x10088d80
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008c910
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x1008c960
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x1008c960
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x1008c960
xor eax, eax
jmp 0x1008c9a1
mov dword [ebp - 4], 1
jmp 0x1008c972
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1008c99c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1008c99a
xor eax, eax
jmp 0x1008c9a1
jmp 0x1008c969
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100a68a0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a6716
Function at 0x401be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401bf9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x401c0d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401c2e
cmp esi, eax
jae 0x401c07
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401c20
cmp esi, eax
jae 0x401c07
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x408cb3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.0040b7c6
xor esi, esi
inc esi
cmp dword [0x4490d0], esi
pop ecx
jne 0x408cdb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x4490cc], esi
mov byte [0x4490c8], al
jne 0x408d41
mov ecx, dword [0x44a9e8]
test ecx, ecx
je 0x408d22
mov eax, dword [0x44a9e4]
sub eax, 4
cmp eax, ecx
jmp 0x408d1b
mov eax, dword [eax]
test eax, eax
je 0x408d0d
call eax
mov eax, dword [0x44a9e4]
sub eax, 4
cmp eax, dword [0x44a9e8]
mov dword [0x44a9e4], eax
jae 0x408d05
mov eax, 0x445084
mov esi, 0x44508c
cmp eax, esi
mov edi, eax
jae 0x408d41
mov eax, dword [edi]
test eax, eax
je 0x408d3a
call eax
add edi, 4
cmp edi, esi
jb 0x408d32
mov eax, 0x445090
mov esi, 0x445098
cmp eax, esi
mov edi, eax
jae 0x408d60
mov eax, dword [edi]
test eax, eax
je 0x408d59
call eax
add edi, 4
cmp edi, esi
jb 0x408d51
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x408d71
push 8
call fcn.0040b732
jmp 0x408d83
push dword [ebp + 8]
mov dword [0x4490d0], 1
call fcn.00408c0c
pop ecx
pop ebp
ret
Function at 0x40d99e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x446440]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x446930]
je 0x40d9cb
inc eax
cmp eax, 0x12
jb 0x40d9bc
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x446930]
jne 0x40daff
mov eax, dword [0x449088]
cmp eax, 1
je 0x40dada
cmp eax, edx
jne 0x40d9fb
cmp dword [0x446414], 1
je 0x40dada
cmp ecx, 0xfc
je 0x40daff
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40da34
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.0040b420
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00408a00
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40da76
lea eax, [ebp - 0x10c]
push eax
call fcn.00408a00
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x43c4a8
push edi
call fcn.0040b570
add esp, 0x10
push edi
call fcn.00408a00
push dword [esi + 0x446934]
mov ebx, eax
call fcn.00408a00
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004085e0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.0040b420
push edi
push ebx
call fcn.0040b430
push 0x43c488
push ebx
call fcn.0040b430
push dword [esi + 0x446934]
push ebx
call fcn.0040b430
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00411f15
add esp, 0x2c
jmp 0x40daff
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x446934]
push dword [esi]
call fcn.00408a00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00408568
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4113f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.004085e0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x411485
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x449090]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x411485
cmp eax, 1
je 0x41149d
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x411485
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x41145a
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x411481
xor eax, eax
inc eax
jmp 0x4114b9
cmp esi, ebx
jae 0x411489
xor eax, eax
jmp 0x4114b9
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x449090]
jmp 0x41149f
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret