joyce8/EMBER2024-capa huggingface dataset:
Function at 0x531f69
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.005a3f60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x531fae
push ebx
call fcn.005a317f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x531fe3
push 0x36
push 0x40203f2
push 6
call fcn.005a3185
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x531fff
push eax
mov ebx, eax
call fcn.00522be3
inc eax
push eax
call fcn.005a3179
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x532004
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x532015
push ebx
call fcn.005a317f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x532359
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.00531746
test eax, eax
je 0x53239c
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x53239c
cmp word [eax], 0x5a4d
jne 0x53239c
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x53239c
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00531818
mov eax, dword [ebp + 8]
jmp 0x5323b5
mov esp, ebp
pop ebp
ret 4

Function at 0x535956
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 0x53598e
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x53597c
mov al, 1
jmp 0x5359ed
cmp dword [ebx + 0x54], ecx
jne 0x535985
mov al, 2
jmp 0x5359ed
cmp dword [ebx + 0x7c], ecx
jne 0x5359ed
mov al, 3
jmp 0x5359ed
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x5359a3
mov al, 4
jmp 0x5359ed
cmp ecx, 5
jne 0x5359c3
cmp ebx, 0
jne 0x5359b1
mov al, 5
jmp 0x5359ed
cmp ebx, 1
jne 0x5359ba
mov al, 6
jmp 0x5359ed
cmp ebx, 2
jne 0x5359c3
mov al, 7
jmp 0x5359ed
cmp ecx, 6
jne 0x5359eb
cmp ebx, 0
jne 0x5359d1
mov al, 8
jmp 0x5359ed
cmp ebx, 1
jne 0x5359d8
mov al, 9
cmp ebx, 2
jne 0x5359df
mov al, 0xa
cmp ebx, 3
jne 0x5359e6
mov al, 0xb
cmp ebx, 4
jne 0x5359ed
mov al, 0xc
pop ebx
leave
ret

Function at 0x53a6af
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 0x53a6db
add dword [esp], 5
retf
Function at 0x53bbdb
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.005a3f60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x53bc20
push ebx
call fcn.005a317f
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 0x53bc55
push 0x36
push 0x4012a84
push 6
call fcn.005a3185
add esp, 0xc
push 0x6c6a98
push dword [ebp - 4]
mov ecx, 2
call fcn.0052d63a
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x53bc75
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x53bc86
push ebx
call fcn.005a317f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x53c247
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 0x53c31c
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x53c31c
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x53c31c
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 0x53c2a2
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 0x53c31c
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x53c2e7
test dl, dl
je 0x53c2e3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x53c2e7
add ecx, 2
add eax, 2
test dl, dl
jne 0x53c2c7
xor eax, eax
jmp 0x53c2ec
sbb eax, eax
or eax, 1
test eax, eax
jne 0x53c2fe
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x53c309
inc esi
cmp esi, ebp
jae 0x53c31c
mov edx, dword [esp + 0x10]
jmp 0x53c2bd
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 0x53c580
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x53c58b
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x53c59f
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x53c5a3
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x53c5dc
cmp dword [edi + ecx], 0x4550
jne 0x53c5dc
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x53c5dc
test byte [edi + ecx + 0x16], 2
je 0x53c5dc
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x53c5e1
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 0x53c61d
xor eax, eax
jmp 0x53c600
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x53c626
inc edx
movzx eax, dx
cmp eax, edi
jl 0x53c600
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x53c62c
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 0x53c664
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x53c672
add edx, 0x20
cmp eax, edx
jne 0x53c683
test bx, bx
je 0x53c6b8
add esi, 2
add edi, 2
jmp 0x53c654
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x53c691
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x53c69f
add edx, 0x20
sub ecx, edx
je 0x53c6b8
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x53c64d
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 0x53c6d1
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 0x53c7aa
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x53c7aa
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x53c7aa
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 0x53c730
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 0x53c7aa
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x53c775
test dl, dl
je 0x53c771
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x53c775
add ecx, 2
add eax, 2
test dl, dl
jne 0x53c755
xor eax, eax
jmp 0x53c77a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x53c78c
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x53c797
inc esi
cmp esi, ebp
jae 0x53c7aa
mov edx, dword [esp + 0x10]
jmp 0x53c74b
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 0x53c7c6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x53c8ee
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.0053ca28
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0053c8fa
mov ebp, eax
test ebp, ebp
je 0x53c8ee
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0053c8fa
mov edi, eax
test edi, edi
je 0x53c8ee
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0053c8fa
mov ebx, eax
test ebx, ebx
je 0x53c8ee
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x53c8ca
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x53c8ca
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.0053c9db
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

Function at 0x53c8fa
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 0x53c9cf
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x53c9cf
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x53c9cf
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 0x53c955
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 0x53c9cf
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x53c99a
test dl, dl
je 0x53c996
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x53c99a
add ecx, 2
add eax, 2
test dl, dl
jne 0x53c97a
xor eax, eax
jmp 0x53c99f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x53c9b1
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x53c9bc
inc esi
cmp esi, ebp
jae 0x53c9cf
mov edx, dword [esp + 0x10]
jmp 0x53c970
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 0x53ca28
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 0x53ca60
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x53ca6e
add edx, 0x20
cmp eax, edx
jne 0x53ca7f
test bx, bx
je 0x53cab4
add esi, 2
add edi, 2
jmp 0x53ca50
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x53ca8d
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x53ca9b
add edx, 0x20
sub ecx, edx
je 0x53cab4
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x53ca49
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 0x53d43a
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.005a3f60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x53d47f
push ebx
call fcn.005a317f
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 0x53d4b7
push 0x36
push 0x4010eb0
push 6
call fcn.005a3185
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x53d4d3
push eax
mov ebx, eax
call fcn.00522be3
inc eax
push eax
call fcn.005a3179
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x53d4d8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x53d4e9
push ebx
call fcn.005a317f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x54951a
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x549524
add dword [esp], 5
retf
Function at 0x55692c
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.00556a06
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x556967
add dword [esp], 5
retf
Function at 0x556da5
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 0x556df2
mov al, cl
cmp al, 0x61
jb 0x556dcd
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x556df2
mov al, cl
cmp al, 0x61
jb 0x556de5
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x556dbe
cmp edx, dword [esp + 0x18]
je 0x556e02
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x556db7
xor eax, eax
jmp 0x556e05
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x556e0d
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 0x556ef4
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x556efa
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 0x556e59
cmp al, 0x61
jb 0x556e51
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x556e44
cmp edx, dword [esp + 0x14]
je 0x556e69
dec ecx
jne 0x556e39
xor eax, eax
jmp 0x556ef4
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 0x556ef4
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x556ef4
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x556ea5
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x556eb4
jmp 0x556e9c
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.00556da5
test eax, eax
je 0x556ef4
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x556eef
cmp al, 0x61
jb 0x556ee7
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x556eda
call fcn.00556e0d
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x556f12
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x556f12
sub edx, ecx
mov ecx, edx
jmp 0x556e69
xor eax, eax
jmp 0x556ef4

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x55e2f5
add dword [esp], 5
retf
Function at 0x55e474
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 0x55e4b5
push 0x2b
push 0x4014fb9
push 6
call fcn.005a3185
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 0x55e4f3
push 0x59
push 0x4014fb9
push 6
call fcn.005a3185
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x55e4fb
mov esp, ebp
pop ebp
ret 4

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

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

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

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

Function at 0x5619dc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x561a5c
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x561a5c
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x561a5c
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 0x561a5c
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 0x561a4d
test bl, bl
je 0x561a60
dec eax
mov eax, edx
jmp 0x561a39
inc ebp
test al, al
je 0x561a60
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 0x561a34
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x561a20
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x561a5a
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 0x561adf
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 0x561b0b
add dword [esp], 5
retf
Function at 0x5620fe
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 0x562136
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x562124
mov al, 1
jmp 0x562195
cmp dword [ebx + 0x54], ecx
jne 0x56212d
mov al, 2
jmp 0x562195
cmp dword [ebx + 0x7c], ecx
jne 0x562195
mov al, 3
jmp 0x562195
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x56214b
mov al, 4
jmp 0x562195
cmp ecx, 5
jne 0x56216b
cmp ebx, 0
jne 0x562159
mov al, 5
jmp 0x562195
cmp ebx, 1
jne 0x562162
mov al, 6
jmp 0x562195
cmp ebx, 2
jne 0x56216b
mov al, 7
jmp 0x562195
cmp ecx, 6
jne 0x562193
cmp ebx, 0
jne 0x562179
mov al, 8
jmp 0x562195
cmp ebx, 1
jne 0x562180
mov al, 9
cmp ebx, 2
jne 0x562187
mov al, 0xa
cmp ebx, 3
jne 0x56218e
mov al, 0xb
cmp ebx, 4
jne 0x562195
mov al, 0xc
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x5621b0
add dword [esp], 5
retf
Function at 0x568a76
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [0x832400]
push ebx
call fcn.005a317f
add esp, 4
mov eax, 0x6c679d
mov dword [0x832400], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
call fcn.005a317f
add esp, 4
mov eax, 0x6c679d
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 4], esp
push 0
push 0x568bd1
call dword [sym.imp.user32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x568ae3
push 0x34
push 0x4020412
push 6
call fcn.005a3185
add esp, 0xc
mov eax, dword [0x832400]
push eax
push eax
mov ebx, eax
call fcn.00523cd0
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.005a3179
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.005a317f
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [0x832400]
call fcn.0052815a
jmp 0x568b2a
mov esp, ebp
pop ebp
ret 8

Function at 0x568ced
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 0x568e03
call dword [sym.imp.user32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x568d28
push 0
push 0x4020414
push 6
call fcn.005a3185
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x568d30
mov esp, ebp
pop ebp
ret 4

Function at 0x56b94b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x56b970
mov eax, 0x6c679d
push eax
push 1
mov ebx, 0x194
call fcn.005a4000
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 8]
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x56b9c4
push 0x3b
push 0x4022e8f
push 6
call fcn.005a3185
add esp, 0xc
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x56b9dc
mov eax, 0x6c679d
push eax
push 1
mov ebx, 0x194
call fcn.005a4000
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x56ba10
add eax, 8
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x56ba3d
push 0x90
push 0x4022e8f
push 6
call fcn.005a3185
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x56ba45
mov esp, ebp
pop ebp
ret 8
Function at 0x56d9ee
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.shlwapi.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x56da25
push 0x12
push 0x40218b2
push 6
call fcn.005a3185
add esp, 0xc
jmp 0x56da2a
mov esp, ebp
pop ebp
ret 4
Function at 0x586989
Capabilities:
64-bit execution via heavens gate

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

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

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

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