joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ed024
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0057e970
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ed069
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4ed0a1
push 0x36
push 0x4010eb0
push 6
call fcn.0057c982
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ed0bd
push eax
mov ebx, eax
call fcn.004e5458
inc eax
push eax
call fcn.0057c976
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4ed0c2
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ed0d3
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4eef1e
add dword [esp], 5
retf
Function at 0x4f35b6
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 0x4f35ee
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4f35dc
mov al, 1
jmp 0x4f364d
cmp dword [ebx + 0x54], ecx
jne 0x4f35e5
mov al, 2
jmp 0x4f364d
cmp dword [ebx + 0x7c], ecx
jne 0x4f364d
mov al, 3
jmp 0x4f364d
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4f3603
mov al, 4
jmp 0x4f364d
cmp ecx, 5
jne 0x4f3623
cmp ebx, 0
jne 0x4f3611
mov al, 5
jmp 0x4f364d
cmp ebx, 1
jne 0x4f361a
mov al, 6
jmp 0x4f364d
cmp ebx, 2
jne 0x4f3623
mov al, 7
jmp 0x4f364d
cmp ecx, 6
jne 0x4f364b
cmp ebx, 0
jne 0x4f3631
mov al, 8
jmp 0x4f364d
cmp ebx, 1
jne 0x4f3638
mov al, 9
cmp ebx, 2
jne 0x4f363f
mov al, 0xa
cmp ebx, 3
jne 0x4f3646
mov al, 0xb
cmp ebx, 4
jne 0x4f364d
mov al, 0xc
pop ebx
leave
ret

Function at 0x4f365e
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 0x4f368a
add dword [esp], 5
retf

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

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

Function at 0x4f49e5
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 0x4f4a11
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4f4ae1
add dword [esp], 5
retf
Function at 0x4f837e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], esp
mov eax, dword [0xdc1ebf]
push eax
push 0x24
call fcn.0057c976
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4f8433
push 0
push 0x4010cd5
push 6
call fcn.0057c982
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
mov edi, dword [ebp - 0xc]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0057c97c
add esp, 4
mov ebx, dword [0xdc1ebf]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp word [ebx], 6
je 0x4f84ee
mov ebx, dword [0xdc1ebf]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp word [ebx], 9
je 0x4f84ee
mov ebx, dword [0xdc1ebf]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 0xa
je 0x4f84ee
xor eax, eax
jmp 0x4f84f3
mov eax, 1
mov dword [0xdc1ec3], eax
mov eax, dword [0xdc1ec3]
jmp 0x4f8502
mov esp, ebp
pop ebp
ret
Function at 0x4f9e99
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0057e970
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f9ede
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4f9f13
push 0x36
push 0x4012a84
push 6
call fcn.0057c982
add esp, 0xc
push 0x611cfb
push dword [ebp - 4]
mov ecx, 2
call fcn.004e54c3
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4f9f33
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f9f44
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4fd2d0
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 0x4fd308
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4fd2f6
mov al, 1
jmp 0x4fd367
cmp dword [ebx + 0x54], ecx
jne 0x4fd2ff
mov al, 2
jmp 0x4fd367
cmp dword [ebx + 0x7c], ecx
jne 0x4fd367
mov al, 3
jmp 0x4fd367
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4fd31d
mov al, 4
jmp 0x4fd367
cmp ecx, 5
jne 0x4fd33d
cmp ebx, 0
jne 0x4fd32b
mov al, 5
jmp 0x4fd367
cmp ebx, 1
jne 0x4fd334
mov al, 6
jmp 0x4fd367
cmp ebx, 2
jne 0x4fd33d
mov al, 7
jmp 0x4fd367
cmp ecx, 6
jne 0x4fd365
cmp ebx, 0
jne 0x4fd34b
mov al, 8
jmp 0x4fd367
cmp ebx, 1
jne 0x4fd352
mov al, 9
cmp ebx, 2
jne 0x4fd359
mov al, 0xa
cmp ebx, 3
jne 0x4fd360
mov al, 0xb
cmp ebx, 4
jne 0x4fd367
mov al, 0xc
pop ebx
leave
ret
Function at 0x504dad
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.00504e87
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x504de8
add dword [esp], 5
retf
Function at 0x505226
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 0x505273
mov al, cl
cmp al, 0x61
jb 0x50524e
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x505273
mov al, cl
cmp al, 0x61
jb 0x505266
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x50523f
cmp edx, dword [esp + 0x18]
je 0x505283
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x505238
xor eax, eax
jmp 0x505286
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x50528e
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 0x505375
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x50537b
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 0x5052da
cmp al, 0x61
jb 0x5052d2
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x5052c5
cmp edx, dword [esp + 0x14]
je 0x5052ea
dec ecx
jne 0x5052ba
xor eax, eax
jmp 0x505375
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 0x505375
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x505375
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x505326
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x505335
jmp 0x50531d
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.00505226
test eax, eax
je 0x505375
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x505370
cmp al, 0x61
jb 0x505368
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x50535b
call fcn.0050528e
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x505393
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x505393
sub edx, ecx
mov ecx, edx
jmp 0x5052ea
xor eax, eax
jmp 0x505375
Function at 0x507624
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 0x50765c
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x50764a
mov al, 1
jmp 0x5076bb
cmp dword [ebx + 0x54], ecx
jne 0x507653
mov al, 2
jmp 0x5076bb
cmp dword [ebx + 0x7c], ecx
jne 0x5076bb
mov al, 3
jmp 0x5076bb
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x507671
mov al, 4
jmp 0x5076bb
cmp ecx, 5
jne 0x507691
cmp ebx, 0
jne 0x50767f
mov al, 5
jmp 0x5076bb
cmp ebx, 1
jne 0x507688
mov al, 6
jmp 0x5076bb
cmp ebx, 2
jne 0x507691
mov al, 7
jmp 0x5076bb
cmp ecx, 6
jne 0x5076b9
cmp ebx, 0
jne 0x50769f
mov al, 8
jmp 0x5076bb
cmp ebx, 1
jne 0x5076a6
mov al, 9
cmp ebx, 2
jne 0x5076ad
mov al, 0xa
cmp ebx, 3
jne 0x5076b4
mov al, 0xb
cmp ebx, 4
jne 0x5076bb
mov al, 0xc
pop ebx
leave
ret

Function at 0x5086ca
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [0xdc1ef7]
push ebx
call fcn.0057c97c
add esp, 4
mov eax, 0x611ccd
mov dword [0xdc1ef7], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
mov eax, 0x611ccd
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 4], esp
push 0
push 0x508825
call dword [sym.imp.user32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x508737
push 0x34
push 0x402becc
push 6
call fcn.0057c982
add esp, 0xc
mov eax, dword [0xdc1ef7]
push eax
push eax
mov ebx, eax
call fcn.004e4d9e
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.0057c976
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [0xdc1ef7]
call fcn.004e50b5
jmp 0x50877e
mov esp, ebp
pop ebp
ret 8

Function at 0x508941
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
lea eax, [ebp + 8]
push eax
push 0x508a57
call dword [sym.imp.user32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x50897c
push 0
push 0x402bece
push 6
call fcn.0057c982
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x508984
mov esp, ebp
pop ebp
ret 4
Function at 0x514e15
Capabilities:
64-bit execution via heavens gate

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

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

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

Function at 0x515072
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x5150f2
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x5150f2
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x5150f2
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x5150f2
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x5150e3
test bl, bl
je 0x5150f6
dec eax
mov eax, edx
jmp 0x5150cf
inc ebp
test al, al
je 0x5150f6
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x5150ca
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x5150b6
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x5150f0
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

Function at 0x515175
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 0x5151a1
add dword [esp], 5
retf

Function at 0x515794
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 0x5157cc
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x5157ba
mov al, 1
jmp 0x51582b
cmp dword [ebx + 0x54], ecx
jne 0x5157c3
mov al, 2
jmp 0x51582b
cmp dword [ebx + 0x7c], ecx
jne 0x51582b
mov al, 3
jmp 0x51582b
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x5157e1
mov al, 4
jmp 0x51582b
cmp ecx, 5
jne 0x515801
cmp ebx, 0
jne 0x5157ef
mov al, 5
jmp 0x51582b
cmp ebx, 1
jne 0x5157f8
mov al, 6
jmp 0x51582b
cmp ebx, 2
jne 0x515801
mov al, 7
jmp 0x51582b
cmp ecx, 6
jne 0x515829
cmp ebx, 0
jne 0x51580f
mov al, 8
jmp 0x51582b
cmp ebx, 1
jne 0x515816
mov al, 9
cmp ebx, 2
jne 0x51581d
mov al, 0xa
cmp ebx, 3
jne 0x515824
mov al, 0xb
cmp ebx, 4
jne 0x51582b
mov al, 0xc
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x515846
add dword [esp], 5
retf
Function at 0x518d1b
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x518d5c
push 0x2b
push 0x4014fb9
push 6
call fcn.0057c982
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x518d9a
push 0x59
push 0x4014fb9
push 6
call fcn.0057c982
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x518da2
mov esp, ebp
pop ebp
ret 4

Function at 0x51a67b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x51a6d4
push 0x19
push 0x401472c
push 6
call fcn.0057c982
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x1f4
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x51a708
push 0x5d
push 0x401472c
push 6
call fcn.0057c982
add esp, 0xc
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x51a734
push 0x80
push 0x401472c
push 6
call fcn.0057c982
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x51a73c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x51a8fd
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CheckRemoteDebuggerPresent]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x51a93d
push 0
push 0x402542d
push 6
call fcn.0057c982
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x51a945
mov esp, ebp
pop ebp
ret 4
Function at 0x523985
Capabilities:
64-bit execution via heavens gate

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

Function at 0x5264ec
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 0x526518
add dword [esp], 5
retf
Function at 0x529bb9
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 0x529be5
add dword [esp], 5
retf
Function at 0x52be54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x52bf29
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x52bf29
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x52bf29
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x52beaf
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x52bf29
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x52bef4
test dl, dl
je 0x52bef0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x52bef4
add ecx, 2
add eax, 2
test dl, dl
jne 0x52bed4
xor eax, eax
jmp 0x52bef9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x52bf0b
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x52bf16
inc esi
cmp esi, ebp
jae 0x52bf29
mov edx, dword [esp + 0x10]
jmp 0x52beca
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x52c18d
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x52c198
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x52c1ac
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x52c1b0
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x52c1e9
cmp dword [edi + ecx], 0x4550
jne 0x52c1e9
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x52c1e9
test byte [edi + ecx + 0x16], 2
je 0x52c1e9
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x52c1ee
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x52c22a
xor eax, eax
jmp 0x52c20d
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x52c233
inc edx
movzx eax, dx
cmp eax, edi
jl 0x52c20d
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x52c239
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x52c271
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x52c27f
add edx, 0x20
cmp eax, edx
jne 0x52c290
test bx, bx
je 0x52c2c5
add esi, 2
add edi, 2
jmp 0x52c261
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x52c29e
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x52c2ac
add edx, 0x20
sub ecx, edx
je 0x52c2c5
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x52c25a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x52c2de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x52c3b7
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x52c3b7
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x52c3b7
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x52c33d
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x52c3b7
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x52c382
test dl, dl
je 0x52c37e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x52c382
add ecx, 2
add eax, 2
test dl, dl
jne 0x52c362
xor eax, eax
jmp 0x52c387
sbb eax, eax
or eax, 1
test eax, eax
jne 0x52c399
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x52c3a4
inc esi
cmp esi, ebp
jae 0x52c3b7
mov edx, dword [esp + 0x10]
jmp 0x52c358
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8