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

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772b1255
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x772b11fc
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x772b120b
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x776b6eae
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x772b125c
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.772980d2
cmp eax, dword [ebp + 0xc]
pop eax
je 0x772b12fb
add edi, 4
add eax, 2
dec ecx
jne 0x772b1241
call 0x772b12a8
loope 0x772b129e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x772b12f8
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x772b1309
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x772b12bc
cmp eax, ecx
ja 0x772b12bc
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772b1346
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772b133c
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.772985b1
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x772b120b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772b1255
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x772b11fc
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x772b120b
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x776b6eae
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x772b125c
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.772980d2
cmp eax, dword [ebp + 0xc]
pop eax
je 0x772b12fb
add edi, 4
add eax, 2
dec ecx
jne 0x772b1241
call 0x772b12a8
loope 0x772b129e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x772b12f8
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x772b1309
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x772b12bc
cmp eax, ecx
ja 0x772b12bc
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772b1346
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772b133c
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.772985b1
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1023e244
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x10258ccc]
mov esi, edx
add esi, 0xffffedec
mov dword [0x10258ccc], esi
mov dword [0x10258cc8], 0x1040
mov esi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xac
mov edi, edx
add edi, esi
add edi, 0xa8
mov esi, dword [edi]
imul edi, eax, 0xac
add edx, edi
add edx, 0xa4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x207
mov ecx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
jne 0x1023e27e
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffa7b1c
mov dword [0x10258ccc], ecx
mov dword [0x10258cc8], 0x195f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10241582]
mov dh, byte [eax + 0x10241553]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x44], ecx
jne 0x1023e2e6
lea eax, [ebp - 0x2c]
mov dword [0x10258ccc], 0x79a
mov dword [0x10258cc8], 0x1410
mov dword [ebp - 0x48], eax
call fcn.1023e184
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call fcn.1023ed1b
mov ecx, eax
mov dword [0x10258ce8], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, eax, 0xac
mov edi, edx
add edi, esi
add edi, 0xa8
mov esi, dword [edi]
imul edi, eax, 0xac
mov ebx, edx
add ebx, edi
add ebx, 4
mov edi, dword [ebx]
imul ebx, eax, 0xac
add edx, ebx
add edx, 0xa4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
call fcn.1023e817
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
cmp edx, 0x207
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
jne 0x1023e373
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ecx
call fcn.1023f5ff
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x5a843
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x140a00
mov ecx, dword [ebp - 0x4c]
add ecx, 0xa7a7
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f40
mov dword [0x10258cc8], 0x131b
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1023ee71
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 ecx, dword [0x10258ccc]
add ecx, 0x1134
mov dword [0x10258cc8], ecx
mov dword [ebp - 0x10], eax
call fcn.1023eb88
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 0x1023eebf
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10258ccc], 0x1efe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10258cc8], 0xe72
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1023effc
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x1023ef43
mov eax, dword [ebp - 0x40]
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 [0x10258cc8], 0x114f
mov dword [ebp - 0x34], edi
jmp 0x1023effc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x1023efae
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x1023ef5d
mov al, byte [ebp - 0x52]
test al, 1
jne 0x1023ef1b
jmp 0x1023efbb
mov eax, dword [ebp - 0x40]
add eax, 2
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
setb bl
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x5d], bl
xor eax, eax
mov cl, byte [ebp - 0x5d]
test cl, 1
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
jne 0x1023ef43
jmp 0x1023effc
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1023f141
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10258cd4], 0
mov byte [0x10258cd8], 0
mov dword [0x10258cc8], 0x12ba
mov dword [0x10258ccc], 0x639
mov dword [0x10258cd0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x10258ccc], 0x22b
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10258cd0]
add eax, 1
mov dword [0x10258cd0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1023f190
xor eax, eax
mov ecx, dword [0x10258cc8]
add ecx, 0x1c54
mov dword [0x10258ccc], ecx
mov dword [0x10258cd0], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10258cdc], 0
mov dword [0x10258cc8], 0x19a
mov edx, dword [0x10258cd4]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10258cdc], edi
mov dword [0x10258cc8], 0x1ec9
mov eax, edi
cdq
idiv ecx
mov dword [0x10258cd4], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10258cd8], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10258ccc], 0x1ba8
mov dword [0x10258cc8], 0xfffffd12
mov cl, byte [0x10258cd8]
mov edx, dword [0x10258cd4]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10258cd0]
add edx, 1
mov dword [0x10258cd0], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1023f1e1
mov eax, dword [0x10258ccc]
add eax, 0xffffe839
mov dword [0x10258cc8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1023f2b3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10258cd0], 0
mov dword [0x10258cd4], 0
mov dword [0x10258ce0], 0
mov ebx, dword [0x10258ccc]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xffffed33
mov dword [0x10258cc8], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1023f452
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov ebx, esi
add ebx, 1
add edx, 1
add ecx, 0xfffffeba
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10258cd0], edx
mov dword [0x10258cc8], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x30]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x10258cd4], edx
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x34]
mov cl, byte [ecx + edi]
mov byte [0x10258cd8], cl
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x10258cd8]
mov edx, dword [0x10258cd4]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x10258ccc], 0xac5
mov edx, dword [0x10258cd0]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10258cd4]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov edx, dword [0x10258cc8]
and ecx, 0xff
mov dword [0x10258ce0], ecx
mov dword [0x10258ccc], 0x8a5
add edx, 0xffffe3a1
mov dword [0x10258cc8], edx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov ch, byte [edx + esi]
mov dword [0x10258ccc], 0xfffff828
mov byte [0x10258ce5], ch
mov byte [0x10258ce6], cl
xor ch, cl
mov byte [0x10258ce4], ch
mov dword [0x10258cc8], 0x137c
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x38], ebx
je 0x1023f452
mov eax, dword [0x10258ccc]
mov ecx, dword [0x10258cd0]
mov edx, dword [0x10258cd4]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x1023f324
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1023f47f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.1000107d
mov dword [esp + 0x2c], eax
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0
mov dword [esp + 0x28], eax
jne 0x1023f5f5
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1023e244
mov ecx, 0xd39
lea edx, [0x1023e52b]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x60], esi
mov dword [esp + 0x40], 0x140a00
mov esi, dword [0x10258cb4]
mov dword [esp + 0x64], esi
mov esi, dword [0x10258cb8]
mov dword [esp + 0x4c], esi
mov esi, dword [0x10258cbc]
mov dword [esp + 0x44], esi
mov esi, dword [0x10258cc0]
mov dword [esp + 0x84], esi
mov esi, dword [0x10258cc4]
mov dword [esp + 0x88], esi
mov dword [0x10258ccc], 0x1b67
mov dword [0x10258cc8], 0x23bf
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x1023f55d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1023f57c
mov eax, 0x1a08
mov ecx, dword [esp + 0x14]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x1023f532
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x10]
mov dword [0x10258ccc], edx
call fcn.1023f80a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1023f5ed
lea eax, [esp + 0x40]
mov dword [0x10258ccc], 0x470
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1023f6cc
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10258cc8], 0x1c65
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1023f6cc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10258cc8], 0x195f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10241582]
mov dl, byte [eax + 0x10241553]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1023f6ee
lea eax, [ebp - 0x24]
mov dword [0x10258ccc], 0x79a
mov dword [ebp - 0x34], eax
call fcn.1023e184
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1023ed1b
mov dword [0x10258ccc], 0x266c
mov dword [0x10258cc8], 0x27b
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1023f802
mov eax, dword [ebp - 0x38]
mov dword [0x10258ccc], 0x28b5
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.1023f01e
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x3c], ecx
mov dword [0x10258ccc], 0xadb
mov dword [0x10258cc8], 0x6bf
add ecx, 0x1e2d
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1023f7f9
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1023f80a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [0x10258ccc], 0x1293
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1023f84a
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x1023f941
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x1023f88b
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], cl
mov al, byte [ebp - 0x21]
test al, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edx
jne 0x1023f84a
jmp 0x1023f88b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x10258cc8]
add ecx, 0xffffda3b
mov dword [0x10258cc8], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
jne 0x1023f840
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1023f840
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1023f840
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1023f840
mov eax, dword [0x10258ccc]
add eax, 0x19c0
mov dword [0x10258cc8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1023f840
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1023f840
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x29], dl
mov eax, 1
mov cl, byte [ebp - 0x29]
test cl, 1
mov dword [ebp - 0x14], eax
jne 0x1023f941
jmp 0x1023f840
mov eax, dword [ebp - 0x14]
add esp, 0x2c
pop ebp
ret
Function at 0x401990
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x415d5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00401b72
push 4
mov dword [esp + 0x18], 0
call fcn.00402745
mov edi, eax
add esp, 4
test edi, edi
je 0x401a04
push ebx
call fcn.0040219a
mov dword [edi], eax
call fcn.00401c37
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00401b33
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4019f8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00401b5b
pop ebx
jmp 0x401a06
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x403121
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c400]
jne 0x40312b
repz ret
jmp fcn.004074fc
Function at 0x408a1a
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.00404bfe
and dword [ebp - 4], 0
cmp dword [0x41e1a4], 0
mov ebx, eax
jne 0x408acb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408b7c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408b7c
push eax
call fcn.00404b8c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41e1a4], eax
call esi
push eax
call fcn.00404b8c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41e1a8], eax
call esi
push eax
call fcn.00404b8c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41e1ac], eax
call esi
push eax
call fcn.00404b8c
pop ecx
mov dword [0x41e1b4], eax
test eax, eax
je 0x408acb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b8c
pop ecx
mov dword [0x41e1b0], eax
mov eax, dword [0x41e1b0]
cmp eax, ebx
je 0x408b23
cmp dword [0x41e1b4], ebx
je 0x408b23
push eax
call fcn.00404c07
push dword [0x41e1b4]
mov esi, eax
call fcn.00404c07
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408b23
test edi, edi
je 0x408b23
call esi
test eax, eax
je 0x408b1a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408b1a
test byte [ebp - 0xc], 1
jne 0x408b23
or dword [ebp + 0x10], 0x200000
jmp 0x408b5c
mov eax, dword [0x41e1a8]
cmp eax, ebx
je 0x408b5c
push eax
call fcn.00404c07
pop ecx
test eax, eax
je 0x408b5c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408b5c
mov eax, dword [0x41e1ac]
cmp eax, ebx
je 0x408b5c
push eax
call fcn.00404c07
pop ecx
test eax, eax
je 0x408b5c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41e1a4]
call fcn.00404c07
pop ecx
test eax, eax
je 0x408b7c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408b7e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret