joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005ad7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x102cf679]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102d61cc], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10005a48
mov eax, dword [0x102d61c8]
add eax, 0x23bd
mov dword [0x102d61c8], eax
call fcn.100063e7
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000559e
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x10005bfd
mov eax, dword [ebp - 0x3c]
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 [0x102d61c8], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10005751
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102d61cc], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 4], ecx
mov dword [0x102d61c8], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x10005bfd
mov eax, dword [ebp - 0x44]
add eax, 0x247f
mov ecx, dword [0x102d61cc]
add ecx, 0xffffec01
mov dword [0x102d61cc], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x10005ca8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102d61c8], 0xacb
mov dword [ebp - 0x10], eax
call fcn.10006791
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 0x10005cee
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102d61cc], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x102d61c8], 0xfffffca0
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 0x10005e1c
jmp 0x10005d67
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10005dc3
jmp 0x10005df0
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x102d61c8], 0xacb
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
jmp 0x10005dc3
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], eax
jb 0x10005d77
jmp 0x10005e1c
mov eax, dword [ebp - 0x40]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x10005d3a
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x10005df9
jmp 0x10005d9d
mov eax, dword [ebp - 0x50]
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 [0x102d61c8], 0x1919
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006507
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102d61cc], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x102d61c8], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102d61c8]
add edx, 0xfffffa13
mov dword [0x102d61c8], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102d61cc], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100065a7
mov eax, 1
mov dword [0x102d61c8], 0x26a1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, 0xffffee12
mov dword [0x102d61c8], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10006672
jmp 0x1000668d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x100065d4
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x100065a7
mov eax, dword [ebp - 0x24]
mov ecx, 0xffffec88
mov dword [0x102d61c8], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x1000668d
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x1000668d
mov eax, 0x1137
mov dword [0x102d61c8], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
jne 0x1000668d
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
jne 0x1000668d
mov eax, 0xfffff83a
mov dword [0x102d61c8], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x1000657d
jmp 0x1000668d
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10006563
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x102d61cc], eax
mov dword [ebp - 0x14], ecx
jmp 0x10006575
Function at 0x10006907
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1541
xor ebx, ebx
mov dword [0x102d61d0], 0
mov dword [0x102d61d4], 0
mov dword [0x102d61e0], 0
mov dword [0x102d61c8], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x10006aa0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add esi, 0xffffe50f
mov ebx, eax
add ebx, 1
add ecx, 1
mov dword [0x102d61c8], esi
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102d61d0], edx
mov dword [0x102d61cc], 0x1c5a
mov ecx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x102d61d4], edx
mov dword [0x102d61c8], 0xe53
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102d61d8], cl
mov dword [0x102d61cc], 0x1303
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102d61d8]
mov edx, dword [0x102d61d4]
mov byte [edi + edx], cl
mov edx, dword [0x102d61c8]
mov ecx, edx
add ecx, 0x1414
mov dword [0x102d61c8], ecx
mov ecx, dword [0x102d61d0]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x102d61d4]
movzx esi, byte [edi + esi]
add esi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x102d61c8], ecx
and esi, 0xff
mov dword [0x102d61e0], esi
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov ch, byte [esi + edi]
add edx, 0xffffe34d
mov dword [0x102d61c8], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x10006aa0
mov eax, dword [0x102d61d0]
mov ecx, dword [0x102d61c8]
mov edx, dword [0x102d61d4]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
jmp 0x10006972
mov dword [0x102d61cc], 0xaeb
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x497c5c8f
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x18451da6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40174a
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.0041fde7
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041fde7
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.0041fde7
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, 0
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x401811
push 0x19
push 0x403fd32
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, 0x563e85
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40182a
push ebx
call fcn.0041fded
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, 1
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x401863
push 0x5d
push 0x403fd32
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x563e7c
mov eax, 2
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x401897
push 0x87
push 0x403fd32
push 6
call fcn.0041fdf9
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, 3
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x401935
push 0x185
push 0x403fd32
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 4
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x401964
push 0x1c9
push 0x403fd32
push 6
call fcn.0041fdf9
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x40196c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40197d
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0041fded
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x405d37
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 0x405d6f
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x405d5d
mov al, 1
jmp 0x405dce
cmp dword [ebx + 0x54], ecx
jne 0x405d66
mov al, 2
jmp 0x405dce
cmp dword [ebx + 0x7c], ecx
jne 0x405dce
mov al, 3
jmp 0x405dce
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x405d84
mov al, 4
jmp 0x405dce
cmp ecx, 5
jne 0x405da4
cmp ebx, 0
jne 0x405d92
mov al, 5
jmp 0x405dce
cmp ebx, 1
jne 0x405d9b
mov al, 6
jmp 0x405dce
cmp ebx, 2
jne 0x405da4
mov al, 7
jmp 0x405dce
cmp ecx, 6
jne 0x405dcc
cmp ebx, 0
jne 0x405db2
mov al, 8
jmp 0x405dce
cmp ebx, 1
jne 0x405db9
mov al, 9
cmp ebx, 2
jne 0x405dc0
mov al, 0xa
cmp ebx, 3
jne 0x405dc7
mov al, 0xb
cmp ebx, 4
jne 0x405dce
mov al, 0xc
pop ebx
leave
ret
Function at 0x40a842
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.0040a8a4
test eax, eax
je 0x40a885
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40a885
cmp word [eax], 0x5a4d
jne 0x40a885
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40a885
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040a976
mov eax, dword [ebp + 8]
jmp 0x40a89e
mov esp, ebp
pop ebp
ret 4

Function at 0x40a8a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40a957
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 0x40ab66
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x40ab88
mov eax, 0xfffffffd
jmp 0x40ac68
mov ebx, dword [0x9a1978]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x40ac36
mov ebx, dword [0x9a1978]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x40abd7
mov ebx, dword [0x9a1978]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x40abd7
mov eax, 1
jmp 0x40abdc
mov eax, 0
test eax, eax
je 0x40ac08
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40abf1
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 [0x9a1978]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x40ac5e
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40ac68
mov esp, ebp
pop ebp
ret 4

Function at 0x40b384
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40b437
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 0x4103a5
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041fde7
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041fde7
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.0041fde7
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
push 0
mov ebx, 0x4235d0
call fcn.0041fde1
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x41045e
mov eax, 0
jmp 0x4105ca
cmp dword [ebp + 0xc], 0
jne 0x410494
mov dword [ebp - 0x18], esp
mov eax, 0x37
call fcn.0041fdff
cmp dword [ebp - 0x18], esp
je 0x410491
push 0xa0
push 0x403edc2
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4104bc
mov eax, 0x563e85
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4104b6
push ebx
call fcn.0041fded
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x38
call fcn.0041fdff
cmp dword [ebp - 0x18], esp
je 0x4104f1
push 0x104
push 0x403edc2
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x563e7c
mov eax, 0x39
call fcn.0041fdff
cmp dword [ebp - 0x18], esp
je 0x410527
push 0x12e
push 0x403edc2
push 6
call fcn.0041fdf9
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x3a
call fcn.0041fdff
cmp dword [ebp - 0x18], esp
je 0x4105c5
push 0x225
push 0x403edc2
push 6
call fcn.0041fdf9
add esp, 0xc
jmp 0x4105ca
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0041fded
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41480b
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.0041fde7
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041fde7
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.0041fde7
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, 0x5d
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x4148d2
push 0x19
push 0x403f6e1
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, 0x563e85
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4148eb
push ebx
call fcn.0041fded
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, 0x5e
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x414924
push 0x5d
push 0x403f6e1
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x563e7c
mov eax, 0x5f
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x414958
push 0x87
push 0x403f6e1
push 6
call fcn.0041fdf9
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, 0x60
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x4149f6
push 0x185
push 0x403f6e1
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x61
call fcn.0041fdff
cmp dword [ebp - 0x20], esp
je 0x414a25
push 0x1c9
push 0x403f6e1
push 6
call fcn.0041fdf9
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x414a2d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x414a3e
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0041fded
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x41537b
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 0x4153b3
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4153a1
mov al, 1
jmp 0x415412
cmp dword [ebx + 0x54], ecx
jne 0x4153aa
mov al, 2
jmp 0x415412
cmp dword [ebx + 0x7c], ecx
jne 0x415412
mov al, 3
jmp 0x415412
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4153c8
mov al, 4
jmp 0x415412
cmp ecx, 5
jne 0x4153e8
cmp ebx, 0
jne 0x4153d6
mov al, 5
jmp 0x415412
cmp ebx, 1
jne 0x4153df
mov al, 6
jmp 0x415412
cmp ebx, 2
jne 0x4153e8
mov al, 7
jmp 0x415412
cmp ecx, 6
jne 0x415410
cmp ebx, 0
jne 0x4153f6
mov al, 8
jmp 0x415412
cmp ebx, 1
jne 0x4153fd
mov al, 9
cmp ebx, 2
jne 0x415404
mov al, 0xa
cmp ebx, 3
jne 0x41540b
mov al, 0xb
cmp ebx, 4
jne 0x415412
mov al, 0xc
pop ebx
leave
ret