joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009850
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10009872
mov eax, 0xfffffffd
jmp 0x10009952
mov ebx, dword [0x10c30870]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10009920
mov ebx, dword [0x10c30870]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x100098c1
mov ebx, dword [0x10c30870]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x100098c1
mov eax, 1
jmp 0x100098c6
mov eax, 0
test eax, eax
je 0x100098f2
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x100098db
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10c30870]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10009948
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10009952
mov esp, ebp
pop ebp
ret 4

Function at 0x10009b59
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10009c0c
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x1000a686
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10009b59
test eax, eax
je 0x1000a6c9
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1000a6c9
cmp word [eax], 0x5a4d
jne 0x1000a6c9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1000a6c9
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10009c2b
mov eax, dword [ebp + 8]
jmp 0x1000a6e2
mov esp, ebp
pop ebp
ret 4
Function at 0x10021810
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10021872
test eax, eax
je 0x10021853
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10021853
cmp word [eax], 0x5a4d
jne 0x10021853
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10021853
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10021944
mov eax, dword [ebp + 8]
jmp 0x1002186c
mov esp, ebp
pop ebp
ret 4

Function at 0x10021872
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10021925
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x10021ae0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10021b02
mov eax, 0xfffffffd
jmp 0x10021be2
mov ebx, dword [0x10c30964]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10021bb0
mov ebx, dword [0x10c30964]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10021b51
mov ebx, dword [0x10c30964]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10021b51
mov eax, 1
jmp 0x10021b56
mov eax, 0
test eax, eax
je 0x10021b82
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10021b6b
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10c30964]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10021bd8
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10021be2
mov esp, ebp
pop ebp
ret 4

Function at 0x10024cfa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10021872
test eax, eax
je 0x10024d3d
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10024d3d
cmp word [eax], 0x5a4d
jne 0x10024d3d
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10024d3d
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10021944
mov eax, dword [ebp + 8]
jmp 0x10024d56
mov esp, ebp
pop ebp
ret 4
Function at 0x10024eac
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10024ece
mov eax, 0xfffffffd
jmp 0x10024fae
mov ebx, dword [0x10c30954]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10024f7c
mov ebx, dword [0x10c30954]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10024f1d
mov ebx, dword [0x10c30954]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10024f1d
mov eax, 1
jmp 0x10024f22
mov eax, 0
test eax, eax
je 0x10024f4e
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10024f37
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10c30954]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10024fa4
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10024fae
mov esp, ebp
pop ebp
ret 4

Function at 0x1005c415
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x1005c44d
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1005c43b
mov al, 1
jmp 0x1005c4ac
cmp dword [ebx + 0x54], ecx
jne 0x1005c444
mov al, 2
jmp 0x1005c4ac
cmp dword [ebx + 0x7c], ecx
jne 0x1005c4ac
mov al, 3
jmp 0x1005c4ac
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1005c462
mov al, 4
jmp 0x1005c4ac
cmp ecx, 5
jne 0x1005c482
cmp ebx, 0
jne 0x1005c470
mov al, 5
jmp 0x1005c4ac
cmp ebx, 1
jne 0x1005c479
mov al, 6
jmp 0x1005c4ac
cmp ebx, 2
jne 0x1005c482
mov al, 7
jmp 0x1005c4ac
cmp ecx, 6
jne 0x1005c4aa
cmp ebx, 0
jne 0x1005c490
mov al, 8
jmp 0x1005c4ac
cmp ebx, 1
jne 0x1005c497
mov al, 9
cmp ebx, 2
jne 0x1005c49e
mov al, 0xa
cmp ebx, 3
jne 0x1005c4a5
mov al, 0xb
cmp ebx, 4
jne 0x1005c4ac
mov al, 0xc
pop ebx
leave
ret

Function at 0x100673ba
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x100673f2
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x100673e0
mov al, 1
jmp 0x10067451
cmp dword [ebx + 0x54], ecx
jne 0x100673e9
mov al, 2
jmp 0x10067451
cmp dword [ebx + 0x7c], ecx
jne 0x10067451
mov al, 3
jmp 0x10067451
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x10067407
mov al, 4
jmp 0x10067451
cmp ecx, 5
jne 0x10067427
cmp ebx, 0
jne 0x10067415
mov al, 5
jmp 0x10067451
cmp ebx, 1
jne 0x1006741e
mov al, 6
jmp 0x10067451
cmp ebx, 2
jne 0x10067427
mov al, 7
jmp 0x10067451
cmp ecx, 6
jne 0x1006744f
cmp ebx, 0
jne 0x10067435
mov al, 8
jmp 0x10067451
cmp ebx, 1
jne 0x1006743c
mov al, 9
cmp ebx, 2
jne 0x10067443
mov al, 0xa
cmp ebx, 3
jne 0x1006744a
mov al, 0xb
cmp ebx, 4
jne 0x10067451
mov al, 0xc
pop ebx
leave
ret
Function at 0x1006bf49
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.1006bfab
test eax, eax
je 0x1006bf8c
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1006bf8c
cmp word [eax], 0x5a4d
jne 0x1006bf8c
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1006bf8c
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.1006c07d
mov eax, dword [ebp + 8]
jmp 0x1006bfa5
mov esp, ebp
pop ebp
ret 4

Function at 0x1006bfab
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1006c05e
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x1006c26d
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x1006c28f
mov eax, 0xfffffffd
jmp 0x1006c36f
mov ebx, dword [0x10c30c8c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x1006c33d
mov ebx, dword [0x10c30c8c]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x1006c2de
mov ebx, dword [0x10c30c8c]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x1006c2de
mov eax, 1
jmp 0x1006c2e3
mov eax, 0
test eax, eax
je 0x1006c30f
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x1006c2f8
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10c30c8c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x1006c365
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x1006c36f
mov esp, ebp
pop ebp
ret 4
Function at 0x1007956d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100795cf
test eax, eax
je 0x100795b0
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x100795b0
cmp word [eax], 0x5a4d
jne 0x100795b0
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x100795b0
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100796a1
mov eax, dword [ebp + 8]
jmp 0x100795c9
mov esp, ebp
pop ebp
ret 4

Function at 0x100795cf
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10079682
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x10079891
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x100798b3
mov eax, 0xfffffffd
jmp 0x10079993
mov ebx, dword [0x10c30d24]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10079961
mov ebx, dword [0x10c30d24]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10079902
mov ebx, dword [0x10c30d24]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10079902
mov eax, 1
jmp 0x10079907
mov eax, 0
test eax, eax
je 0x10079933
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x1007991c
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10c30d24]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10079989
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10079993
mov esp, ebp
pop ebp
ret 4

Function at 0x1007a0af
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1007a162
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x10084488
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.100a46bb
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.100a46bb
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.100a46bb
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x159
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x1008454f
push 0x19
push 0x4035bc2
push 6
call fcn.100a46c1
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, 0x102055bc
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10084568
push ebx
call fcn.100a46b5
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x15a
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x100845a1
push 0x5d
push 0x4035bc2
push 6
call fcn.100a46c1
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x102055cd
mov eax, 0x15b
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x100845d5
push 0x87
push 0x4035bc2
push 6
call fcn.100a46c1
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x15c
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x10084673
push 0x185
push 0x4035bc2
push 6
call fcn.100a46c1
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x15d
call fcn.100a46d3
cmp dword [ebp - 0x20], esp
je 0x100846a2
push 0x1c9
push 0x4035bc2
push 6
call fcn.100a46c1
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x100846aa
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100846bb
push ebx
call fcn.100a46b5
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.100a46b5
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.100a46b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.100a46b5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x1008533d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x100853f0
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x1008abff
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.1008533d
test eax, eax
je 0x1008ac42
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1008ac42
cmp word [eax], 0x5a4d
jne 0x1008ac42
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1008ac42
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.1008ac61
mov eax, dword [ebp + 8]
jmp 0x1008ac5b
mov esp, ebp
pop ebp
ret 4

Function at 0x1008adfd
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x1008ae1f
mov eax, 0xfffffffd
jmp 0x1008aeff
mov ebx, dword [0x10c30d7c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x1008aecd
mov ebx, dword [0x10c30d7c]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x1008ae6e
mov ebx, dword [0x10c30d7c]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x1008ae6e
mov eax, 1
jmp 0x1008ae73
mov eax, 0
test eax, eax
je 0x1008ae9f
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x1008ae88
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10c30d7c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x1008aef5
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x1008aeff
mov esp, ebp
pop ebp
ret 4
Function at 0x100a57c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101fa3b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.101ef950
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100a8b90
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x100a5814
jmp dword [ecx*4 + 0x100a597c]
mov al, byte [esi]
test al, al
je 0x100a5842
cmp al, 0x20
je 0x100a582e
cmp al, 0xa1
jne 0x100a5842
cmp byte [esi + 1], al
jne 0x100a5842
test al, 0x80
je 0x100a583a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100a5842
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100a5821
test ecx, ecx
je case.default.0x100a5814
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x100a5814
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100a5888
cmp dl, 0xa1
jne 0x100a587c
cmp byte [eax + 1], 0xa1
jne 0x100a587c
test ecx, ecx
jne 0x100a5874
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100a589c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100a58b6
jmp 0x100a589c
cmp dl, 0x20
jne 0x100a589a
test ecx, ecx
jne 0x100a5893
mov edi, eax
mov ecx, 1
jmp 0x100a589c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100a585c
cmp ecx, 1
jne case.default.0x100a5814
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100a5814
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100a5814
mov al, byte [esi]
test al, al
je 0x100a590e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x100a58f4
mov cl, byte [esi + 1]
test cl, cl
je 0x100a590e
cmp al, 0xa1
jne 0x100a58e4
cmp cl, al
je 0x100a58f1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100a8e60
inc esi
jmp 0x100a5906
cmp al, 0x20
je 0x100a5906
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100a8ea0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100a58cd
push 0
lea ecx, [esp + 0x14]
call fcn.100a8ea0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100b1f40
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x100a5941
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10494650
call fcn.100a8d90
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.101ef8e2
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100a6970
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0x10575248
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
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, dword [esp + 0x34]
push ecx
call fcn.100a6930
add esp, 8
mov byte [esp + 8], al
or esi, 0xffffffff
push str.GetDiskFreeSpaceExA
push 0x10575224
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA_1]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress_1]
test eax, eax
je 0x100a6a1a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x100a6a7b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x100a69fc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x100a6a04
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.101df9b0
mov edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [edx], eax
add esp, 0x1c
ret
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x100a6a6f
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x100a6a4d
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0x400
imul edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x1c
ret
Function at 0x100a6e20
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x101fa408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x10c2c7cc]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push esi
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push edi
mov dword [esp + 0x30], 0
call fcn.100a6cc0
add esp, 0x14
dec esi
neg esi
sbb esi, esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
add esi, 3
lea edx, [esp + 0x30]
lea ecx, [esi + esi*2]
push edx
push 0x20006
push 0
lea esi, [edi + ecx*4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov dword [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100a6ec2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x100a6f7b
mov edx, dword [esi + 8]
push edx
call fcn.100b0cc0
add esp, 4
test eax, eax
mov eax, dword [esi + 8]
je 0x100a6f12
cmp eax, 0x80000301
jne 0x100a6ee0
mov eax, dword [esi]
jmp 0x100a6eed
push 0
push esi
push 0x7d1
call fcn.100b63d0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push 4
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA_1]
test eax, eax
jne 0x100a6f70
jmp 0x100a6f6a
cmp eax, reloc.WS2_32.dll_connect
jne 0x100a6f41
mov esi, dword [esi]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x30]
not ecx
push ecx
mov ecx, dword [esp + 0x30]
push esi
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA_1]
test eax, eax
jne 0x100a6f70
jmp 0x100a6f6a
cmp eax, reloc.WS2_32.dll_getpeername
jne 0x100a6f70
mov esi, dword [esi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 4]
add esi, 8
push eax
push esi
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA_1]
test eax, eax
jne 0x100a6f70
mov dword [ebx], 1
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.101ef8e2
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret