joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ca44
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.00435cf2
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00435cf2
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.00435cf2
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, 0x4387c0
call fcn.00435cec
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x40cafd
mov eax, 0
jmp 0x40cc69
cmp dword [ebp + 0xc], 0
jne 0x40cb33
mov dword [ebp - 0x18], esp
mov eax, 0x2e
call fcn.00435d0a
cmp dword [ebp - 0x18], esp
je 0x40cb30
push 0xa0
push 0x406a3ab
push 6
call fcn.00435d04
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x40cb5b
mov eax, 0x570e18
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40cb55
push ebx
call fcn.00435cf8
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, 0x2f
call fcn.00435d0a
cmp dword [ebp - 0x18], esp
je 0x40cb90
push 0x104
push 0x406a3ab
push 6
call fcn.00435d04
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x570e29
mov eax, 0x30
call fcn.00435d0a
cmp dword [ebp - 0x18], esp
je 0x40cbc6
push 0x12e
push 0x406a3ab
push 6
call fcn.00435d04
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, 0x31
call fcn.00435d0a
cmp dword [ebp - 0x18], esp
je 0x40cc64
push 0x225
push 0x406a3ab
push 6
call fcn.00435d04
add esp, 0xc
jmp 0x40cc69
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00435cf8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00435cf8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00435cf8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411caf
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x411cd1
mov eax, 0xfffffffd
jmp 0x411db1
mov ebx, dword [0x78bcb8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x411d7f
mov ebx, dword [0x78bcb8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x411d20
mov ebx, dword [0x78bcb8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x411d20
mov eax, 1
jmp 0x411d25
mov eax, 0
test eax, eax
je 0x411d51
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x411d3a
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 [0x78bcb8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x411da7
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x411db1
mov esp, ebp
pop ebp
ret 4

Function at 0x412020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4120d3
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 0x41213e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4121f1
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 0x412d75
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.0041213e
test eax, eax
je 0x412db8
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x412db8
cmp word [eax], 0x5a4d
jne 0x412db8
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x412db8
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00412210
mov eax, dword [ebp + 8]
jmp 0x412dd1
mov esp, ebp
pop ebp
ret 4

Function at 0x419880
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x41988a
add dword [esp], 5
retf
Function at 0x4199a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
pop ebp
pop edx
pop ecx
push edx
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x4199f8
mov al, cl
cmp al, 0x61
jb 0x4199d3
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x4199f8
mov al, cl
cmp al, 0x61
jb 0x4199eb
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x4199c4
cmp edx, dword [esp + 0x18]
je 0x419a08
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x4199bd
xor eax, eax
jmp 0x419a0b
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x419a48
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x419a52
add dword [esp], 5
retf
Function at 0x419b09
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x419c0a
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x419c10
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x419b6b
cmp al, 0x61
jb 0x419b63
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419b56
cmp edx, dword [esp + 0x14]
je 0x419b7b
dec ecx
jne 0x419b4b
xor eax, eax
jmp 0x419c0a
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x419c0a
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x419c0a
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x419bbb
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x419bca
jmp 0x419bb2
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call 0x419c10
test eax, eax
je 0x419c0a
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x419c05
cmp al, 0x61
jb 0x419bfd
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419bf0
call 0x419b1f
mov dword [esp + 0x1c], eax
popal
ret
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x419c5d
mov al, cl
cmp al, 0x61
jb 0x419c38
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x419c5d
mov al, cl
cmp al, 0x61
jb 0x419c50
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x419c29
cmp edx, dword [esp + 0x18]
je 0x419c6d
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x419c22
xor eax, eax
jmp 0x419c70
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x419b1f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x419c0a
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x419c10
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x419b6b
cmp al, 0x61
jb 0x419b63
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419b56
cmp edx, dword [esp + 0x14]
je 0x419b7b
dec ecx
jne 0x419b4b
xor eax, eax
jmp 0x419c0a
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x419c0a
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x419c0a
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x419bbb
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x419bca
jmp 0x419bb2
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call 0x419c10
test eax, eax
je 0x419c0a
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x419c05
cmp al, 0x61
jb 0x419bfd
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419bf0
call 0x419b1f
mov dword [esp + 0x1c], eax
popal
ret
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x419c5d
mov al, cl
cmp al, 0x61
jb 0x419c38
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x419c5d
mov al, cl
cmp al, 0x61
jb 0x419c50
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x419c29
cmp edx, dword [esp + 0x18]
je 0x419c6d
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x419c22
xor eax, eax
jmp 0x419c70
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x419c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x419c0a
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x419c10
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x419b6b
cmp al, 0x61
jb 0x419b63
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419b56
cmp edx, dword [esp + 0x14]
je 0x419b7b
dec ecx
jne 0x419b4b
xor eax, eax
jmp 0x419c0a
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x419c0a
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x419c0a
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x419bbb
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x419bca
jmp 0x419bb2
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call 0x419c10
test eax, eax
je 0x419c0a
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x419c05
cmp al, 0x61
jb 0x419bfd
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419bf0
call 0x419b1f
mov dword [esp + 0x1c], eax
popal
ret
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x419c5d
mov al, cl
cmp al, 0x61
jb 0x419c38
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x419c5d
mov al, cl
cmp al, 0x61
jb 0x419c50
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x419c29
cmp edx, dword [esp + 0x18]
je 0x419c6d
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x419c22
xor eax, eax
jmp 0x419c70
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x419ca0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x419caa
add dword [esp], 5
retf

Function at 0x419f0a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x419f5a
mov al, cl
cmp al, 0x61
jb 0x419f35
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x419f5a
mov al, cl
cmp al, 0x61
jb 0x419f4d
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x419f26
cmp edx, dword [esp + 0x18]
je 0x419f6a
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x419f1f
xor eax, eax
jmp 0x419f6d
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x419f86
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x41a06d
lea esi, [ebx + eax]
test edx, 0xffff0000
je fcn.0041a073
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x419fd2
cmp al, 0x61
jb 0x419fca
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419fbd
cmp edx, dword [esp + 0x14]
je 0x419fe2
dec ecx
jne 0x419fb2
xor eax, eax
jmp 0x41a06d
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x41a06d
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x41a06d
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x41a01e
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x41a02d
jmp 0x41a015
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.0041a073
test eax, eax
je 0x41a06d
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x41a068
cmp al, 0x61
jb 0x41a060
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41a053
call fcn.00419f86
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x41a073
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x41a0c0
mov al, cl
cmp al, 0x61
jb 0x41a09b
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x41a0c0
mov al, cl
cmp al, 0x61
jb 0x41a0b3
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x41a08c
cmp edx, dword [esp + 0x18]
je 0x41a0d0
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x41a085
xor eax, eax
jmp 0x41a0d3
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x41a757
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
pushal
test ecx, ecx
je 0x41a848
movzx eax, word [ecx]
cmp eax, 0x5a4d
jne 0x41a84f
mov eax, dword [ecx + 0x3c]
lea ebx, [ecx + eax]
mov eax, dword [ebx]
cmp eax, 0x4550
jne 0x41a84f
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41a7a4
movzx ecx, word [ebx + 0x16]
test ecx, 0x2000
je 0x41a7a4
mov edx, dword [esp + 0x18]
add eax, edx
push 0
push 0
push edx
call eax
mov eax, ebx
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
mov ecx, dword [eax + 0x74]
cmp ecx, 1
jb 0x41a800
lea edi, [eax + 0x80]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41a800
mov edi, dword [edi]
add edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x41a800
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
inc edx
mov eax, dword [eax + 8]
call eax
mov ecx, eax
mov eax, dword [ebx + 0x1a8]
call eax
test eax, eax
je 0x41a7fb
mov ecx, eax
mov eax, dword [ebx + 0x128]
push ecx
call eax
test eax, eax
js 0x41a856
lea edi, [edi + 0x14]
jmp 0x41a7c7
lea edx, [esp + 0x18]
xor ecx, ecx
push ecx
mov ecx, esp
mov eax, dword [ebx + 0xc8]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
call eax
pop ecx
test eax, eax
js 0x41a856
inc eax
mov dword [esp + 0x1c], eax
popal
ret
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
test edi, edi
jns 0x41a83b
mov eax, dword [ebx + 0x110]
push edi
call eax
mov edi, eax
mov eax, dword [ebx + 0x118]
push edi
call eax
xor eax, eax
jmp 0x41a820
mov edi, 0x57
jmp 0x41a826
mov edi, 0xc1
jmp 0x41a826
mov edi, eax
jmp 0x41a826
Function at 0x41b879
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x78bc28]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x41b8b4
add dword [esp], 5
retf

Function at 0x41bd06
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x78bc28]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x41bd41
add dword [esp], 5
retf

Function at 0x41d96d
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x78bc28]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x41d9a8
add dword [esp], 5
retf

Function at 0x41da6b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x41da97
add dword [esp], 5
retf

Function at 0x41df78
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x78bc28]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x41dfb3
add dword [esp], 5
retf

Function at 0x41e966
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x41e992
add dword [esp], 5
retf

Function at 0x41f0b7
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x41f0c1
add dword [esp], 5
retf

Function at 0x4264e7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x42659a
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 0x427b16
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 0x427b4e
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x427b3c
mov al, 1
jmp 0x427bad
cmp dword [ebx + 0x54], ecx
jne 0x427b45
mov al, 2
jmp 0x427bad
cmp dword [ebx + 0x7c], ecx
jne 0x427bad
mov al, 3
jmp 0x427bad
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x427b63
mov al, 4
jmp 0x427bad
cmp ecx, 5
jne 0x427b83
cmp ebx, 0
jne 0x427b71
mov al, 5
jmp 0x427bad
cmp ebx, 1
jne 0x427b7a
mov al, 6
jmp 0x427bad
cmp ebx, 2
jne 0x427b83
mov al, 7
jmp 0x427bad
cmp ecx, 6
jne 0x427bab
cmp ebx, 0
jne 0x427b91
mov al, 8
jmp 0x427bad
cmp ebx, 1
jne 0x427b98
mov al, 9
cmp ebx, 2
jne 0x427b9f
mov al, 0xa
cmp ebx, 3
jne 0x427ba6
mov al, 0xb
cmp ebx, 4
jne 0x427bad
mov al, 0xc
pop ebx
leave
ret
Function at 0x442550
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x567fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0055c85e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4425d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0055a738
mov eax, dword [eax]
push 0x5ecd3c
push eax
call fcn.0054c584
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0055cae9
test bl, bl
je 0x4425d2
push 0x5ecd3c
lea ecx, [esp + 0xc]
call fcn.0055ce79
push 0x5ecd48
lea ecx, [esp + 0xc]
call fcn.0055ce79
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA_1]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44260e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0055cae9
jmp 0x4426d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x442692
lea edx, [esp + 0x7c]
push 0x5ecd44
push edx
call fcn.0054c584
add esp, 8
test eax, eax
je 0x442692
lea eax, [esp + 0x7c]
push 0x5ecd40
push eax
call fcn.0054c584
add esp, 8
test eax, eax
je 0x442692
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA_1]
test eax, eax
jne 0x442622
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose_1]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0055cae9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x442ed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x442f32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc