joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10069449
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.100db440
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1006948e
push ebx
call fcn.100da65f
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_1]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100694c3
push 0x36
push 0x40203f2
push 6
call fcn.100da665
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x100694df
push eax
mov ebx, eax
call fcn.1005a0c3
inc eax
push eax
call fcn.100da659
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100694e4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100694f5
push ebx
call fcn.100da65f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x10069839
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.10068c26
test eax, eax
je 0x1006987c
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1006987c
cmp word [eax], 0x5a4d
jne 0x1006987c
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1006987c
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10068cf8
mov eax, dword [ebp + 8]
jmp 0x10069895
mov esp, ebp
pop ebp
ret 4

Function at 0x1006ce36
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 0x1006ce6e
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1006ce5c
mov al, 1
jmp 0x1006cecd
cmp dword [ebx + 0x54], ecx
jne 0x1006ce65
mov al, 2
jmp 0x1006cecd
cmp dword [ebx + 0x7c], ecx
jne 0x1006cecd
mov al, 3
jmp 0x1006cecd
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1006ce83
mov al, 4
jmp 0x1006cecd
cmp ecx, 5
jne 0x1006cea3
cmp ebx, 0
jne 0x1006ce91
mov al, 5
jmp 0x1006cecd
cmp ebx, 1
jne 0x1006ce9a
mov al, 6
jmp 0x1006cecd
cmp ebx, 2
jne 0x1006cea3
mov al, 7
jmp 0x1006cecd
cmp ecx, 6
jne 0x1006cecb
cmp ebx, 0
jne 0x1006ceb1
mov al, 8
jmp 0x1006cecd
cmp ebx, 1
jne 0x1006ceb8
mov al, 9
cmp ebx, 2
jne 0x1006cebf
mov al, 0xa
cmp ebx, 3
jne 0x1006cec6
mov al, 0xb
cmp ebx, 4
jne 0x1006cecd
mov al, 0xc
pop ebx
leave
ret

Function at 0x10071b8f
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 0x10071bbb
add dword [esp], 5
retf
Function at 0x100730bb
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.100db440
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10073100
push ebx
call fcn.100da65f
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 0x10073135
push 0x36
push 0x4012a84
push 6
call fcn.100da665
add esp, 0xc
push 0x10106997
push dword [ebp - 4]
mov ecx, 2
call fcn.10064b1a
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10073155
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10073166
push ebx
call fcn.100da65f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x10073727
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 0x100737fc
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100737fc
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x100737fc
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 0x10073782
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 0x100737fc
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100737c7
test dl, dl
je 0x100737c3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100737c7
add ecx, 2
add eax, 2
test dl, dl
jne 0x100737a7
xor eax, eax
jmp 0x100737cc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100737de
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x100737e9
inc esi
cmp esi, ebp
jae 0x100737fc
mov edx, dword [esp + 0x10]
jmp 0x1007379d
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 0x10073a60
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x10073a6b
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x10073a7f
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x10073a83
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x10073abc
cmp dword [edi + ecx], 0x4550
jne 0x10073abc
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x10073abc
test byte [edi + ecx + 0x16], 2
je 0x10073abc
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x10073ac1
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 0x10073afd
xor eax, eax
jmp 0x10073ae0
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x10073b06
inc edx
movzx eax, dx
cmp eax, edi
jl 0x10073ae0
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x10073b0c
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 0x10073b44
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x10073b52
add edx, 0x20
cmp eax, edx
jne 0x10073b63
test bx, bx
je 0x10073b98
add esi, 2
add edi, 2
jmp 0x10073b34
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x10073b71
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x10073b7f
add edx, 0x20
sub ecx, edx
je 0x10073b98
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x10073b2d
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 0x10073bb1
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 0x10073c8a
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x10073c8a
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x10073c8a
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 0x10073c10
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 0x10073c8a
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10073c55
test dl, dl
je 0x10073c51
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10073c55
add ecx, 2
add eax, 2
test dl, dl
jne 0x10073c35
xor eax, eax
jmp 0x10073c5a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10073c6c
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x10073c77
inc esi
cmp esi, ebp
jae 0x10073c8a
mov edx, dword [esp + 0x10]
jmp 0x10073c2b
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 0x10073ca6
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 0x10073dce
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.10073f08
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.10073dda
mov ebp, eax
test ebp, ebp
je 0x10073dce
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.10073dda
mov edi, eax
test edi, edi
je 0x10073dce
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.10073dda
mov ebx, eax
test ebx, ebx
je 0x10073dce
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x10073daa
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x10073daa
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.10073ebb
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 0x10073dda
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 0x10073eaf
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x10073eaf
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x10073eaf
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 0x10073e35
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 0x10073eaf
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10073e7a
test dl, dl
je 0x10073e76
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10073e7a
add ecx, 2
add eax, 2
test dl, dl
jne 0x10073e5a
xor eax, eax
jmp 0x10073e7f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10073e91
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x10073e9c
inc esi
cmp esi, ebp
jae 0x10073eaf
mov edx, dword [esp + 0x10]
jmp 0x10073e50
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 0x10073f08
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 0x10073f40
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x10073f4e
add edx, 0x20
cmp eax, edx
jne 0x10073f5f
test bx, bx
je 0x10073f94
add esi, 2
add edi, 2
jmp 0x10073f30
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x10073f6d
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x10073f7b
add edx, 0x20
sub ecx, edx
je 0x10073f94
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x10073f29
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 0x1007491a
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.100db440
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1007495f
push ebx
call fcn.100da65f
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 0x10074997
push 0x36
push 0x4010eb0
push 6
call fcn.100da665
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x100749b3
push eax
mov ebx, eax
call fcn.1005a0c3
inc eax
push eax
call fcn.100da659
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100749b8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100749c9
push ebx
call fcn.100da65f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100809fa
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x10080a04
add dword [esp], 5
retf
Function at 0x1008de0c
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.1008dee6
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x1008de47
add dword [esp], 5
retf
Function at 0x1008e285
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 0x1008e2d2
mov al, cl
cmp al, 0x61
jb 0x1008e2ad
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x1008e2d2
mov al, cl
cmp al, 0x61
jb 0x1008e2c5
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x1008e29e
cmp edx, dword [esp + 0x18]
je 0x1008e2e2
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x1008e297
xor eax, eax
jmp 0x1008e2e5
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x1008e2ed
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 0x1008e3d4
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x1008e3da
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 0x1008e339
cmp al, 0x61
jb 0x1008e331
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x1008e324
cmp edx, dword [esp + 0x14]
je 0x1008e349
dec ecx
jne 0x1008e319
xor eax, eax
jmp 0x1008e3d4
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 0x1008e3d4
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x1008e3d4
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x1008e385
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x1008e394
jmp 0x1008e37c
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.1008e285
test eax, eax
je 0x1008e3d4
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x1008e3cf
cmp al, 0x61
jb 0x1008e3c7
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x1008e3ba
call fcn.1008e2ed
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x1008e3f2
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x1008e3f2
sub edx, ecx
mov ecx, edx
jmp 0x1008e349
xor eax, eax
jmp 0x1008e3d4

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100957d5
add dword [esp], 5
retf
Function at 0x10095954
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 0x10095995
push 0x2b
push 0x4014fb9
push 6
call fcn.100da665
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_1]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100959d3
push 0x59
push 0x4014fb9
push 6
call fcn.100da665
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100959db
mov esp, ebp
pop ebp
ret 4

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

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

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

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

Function at 0x10098ebc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x10098f3c
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x10098f3c
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x10098f3c
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 0x10098f3c
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 0x10098f2d
test bl, bl
je 0x10098f40
dec eax
mov eax, edx
jmp 0x10098f19
inc ebp
test al, al
je 0x10098f40
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 0x10098f14
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x10098f00
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x10098f3a
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 0x10098fbf
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 0x10098feb
add dword [esp], 5
retf
Function at 0x100995de
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 0x10099616
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x10099604
mov al, 1
jmp 0x10099675
cmp dword [ebx + 0x54], ecx
jne 0x1009960d
mov al, 2
jmp 0x10099675
cmp dword [ebx + 0x7c], ecx
jne 0x10099675
mov al, 3
jmp 0x10099675
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1009962b
mov al, 4
jmp 0x10099675
cmp ecx, 5
jne 0x1009964b
cmp ebx, 0
jne 0x10099639
mov al, 5
jmp 0x10099675
cmp ebx, 1
jne 0x10099642
mov al, 6
jmp 0x10099675
cmp ebx, 2
jne 0x1009964b
mov al, 7
jmp 0x10099675
cmp ecx, 6
jne 0x10099673
cmp ebx, 0
jne 0x10099659
mov al, 8
jmp 0x10099675
cmp ebx, 1
jne 0x10099660
mov al, 9
cmp ebx, 2
jne 0x10099667
mov al, 0xa
cmp ebx, 3
jne 0x1009966e
mov al, 0xb
cmp ebx, 4
jne 0x10099675
mov al, 0xc
pop ebx
leave
ret

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [0x102722ff]
push ebx
call fcn.100da65f
add esp, 4
mov eax, 0x1010669c
mov dword [0x102722ff], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
call fcn.100da65f
add esp, 4
mov eax, 0x1010669c
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 4], esp
push 0
push 0x100a00b1
call dword [sym.imp.user32.dll_EnumWindows_1]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x1009ffc3
push 0x34
push 0x4020412
push 6
call fcn.100da665
add esp, 0xc
mov eax, dword [0x102722ff]
push eax
push eax
mov ebx, eax
call fcn.1005b1b0
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.100da659
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.100da65f
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [0x102722ff]
call fcn.1005f63a
jmp 0x100a000a
mov esp, ebp
pop ebp
ret 8

Function at 0x100a01cd
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 0x100a02e3
call dword [sym.imp.user32.dll_EnumWindows_1]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x100a0208
push 0
push 0x4020414
push 6
call fcn.100da665
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x100a0210
mov esp, ebp
pop ebp
ret 4

Function at 0x100a2e2b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push htons
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100a2e50
mov eax, 0x1010669c
push eax
push 1
mov ebx, 0x194
call fcn.100db4e0
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_1]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100a2ea4
push 0x3b
push 0x4022e8f
push 6
call fcn.100da665
add esp, 0xc
mov dword [ebp - 4], eax
push htons
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100a2ebc
mov eax, 0x1010669c
push eax
push 1
mov ebx, 0x194
call fcn.100db4e0
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 0x100a2ef0
add eax, 8
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteProcessMemory_1]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100a2f1d
push 0x90
push 0x4022e8f
push 6
call fcn.100da665
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100a2f25
mov esp, ebp
pop ebp
ret 8
Function at 0x100a4ece
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 0x100a4f05
push 0x12
push 0x40218b2
push 6
call fcn.100da665
add esp, 0xc
jmp 0x100a4f0a
mov esp, ebp
pop ebp
ret 4