joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10022e58
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x18
call fcn.1005090d
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 1
mov eax, 0x100ff27c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.100066ab
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10022eb9
push ebx
call fcn.10050907
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp dword [0x10100bd9], 0
jne 0x10022edd
cmp dword [ebp - 4], 0
je 0x10022edd
mov eax, 1
jmp 0x10022ee2
mov eax, 0
test eax, eax
je 0x10022f58
mov eax, 0x100ff97f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10015aad
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10022f0e
push ebx
call fcn.10050907
add esp, 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.10015d28
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10022f2d
push ebx
call fcn.10050907
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [0x10100bd9], eax
push reloc.oleaut32.dll_SysStringLen
push 0
push 0x10024af9
push 1
mov ebx, 0x9dc
call fcn.10051340
add esp, 0x10
mov dword [0x10100bdd], eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push 0
push 1
push 0
push dword [0x10100bdd]
push dword [0x10100bd9]
call fcn.10023040
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10022fc2
push 0x22e
push 0x4035de2
push 6
call fcn.1005092b
add esp, 0xc
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.100248b0
cmp dword [ebp - 0xc], 0
je 0x1002301b
push 2
push dword [ebp - 0xc]
call fcn.1002047e
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10023012
push 1
push 0xffffffff
push dword [ebp + 0x18]
push dword [ebp - 0xc]
call fcn.1002493d
lea eax, [ebp - 0xc]
push eax
call fcn.100215c5
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
jmp 0x1002302c
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.10050907
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10024756
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10100af5], 1
jne 0x100247bd
cmp dword [0x10100b05], 1
jne 0x10024779
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x100247a5
push 0xbc
push 0x4035dbf
push 6
call fcn.1005092b
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
cmp dword [ebx], 0
mov eax, 0
setne al
jmp 0x10024831
cmp dword [0x10100be5], 0
jne 0x10024812
mov eax, 0x100ff9bd
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10002967
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100247ee
push ebx
call fcn.10050907
add esp, 4
lea eax, [ebp - 8]
push eax
call fcn.10002c5e
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1002480a
push ebx
call fcn.10050907
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x10100be5], eax
push dword [0x10100be5]
call fcn.10006ef9
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
mov eax, 0
sete al
jmp 0x10024831
mov esp, ebp
pop ebp
ret 8

Function at 0x10051ae0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10051b49
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.10050fb0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x10052510
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x114
test eax, eax
push esi
jne 0x10052535
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1005259f
jmp 0x10052555
mov esi, dword [esp + 0x120]
push esi
call dword [0x10101264]
add esp, 4
test eax, eax
je 0x1005259f
mov cl, byte [esi]
mov byte [esp + 0x15], 0x3a
mov byte [esp + 0x14], cl
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x2a], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x1005259f
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
imul edx, dword [esp + 4]
push 0x400
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
pop esi
add esp, 0x114
ret
or eax, 0xffffffff
pop esi
add esp, 0x114
ret

Function at 0x100525b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x100525ce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x100525c3
pop esi
ret
Function at 0x10053890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x100538b1
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x1005390b
inc edi
cmp edi, esi
jl 0x100538a5
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x10053940
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x100538fa
cmp byte [eax], bl
je 0x10053915
cmp byte [eax + 1], bl
je 0x1005391e
cmp byte [eax + 2], bl
je 0x10053928
cmp byte [eax + 3], bl
je 0x10053934
add eax, 4
cmp eax, edi
jb 0x100538d1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x10055f1c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], esp
mov eax, dword [0x1026d08f]
push eax
push 0x24
call fcn.100d51a9
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 0x10055fd1
push 0
push 0x4010cd5
push 6
call fcn.100d51b5
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.100d51af
add esp, 4
mov ebx, dword [0x1026d08f]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp word [ebx], 6
je 0x1005608c
mov ebx, dword [0x1026d08f]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp word [ebx], 9
je 0x1005608c
mov ebx, dword [0x1026d08f]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 0xa
je 0x1005608c
xor eax, eax
jmp 0x10056091
mov eax, 1
mov dword [0x1026d093], eax
mov eax, dword [0x1026d093]
jmp 0x100560a0
mov esp, ebp
pop ebp
ret

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100575c8
add dword [esp], 5
retf
Function at 0x10057653
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x100576d3
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x100576d3
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x100576d3
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 0x100576d3
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 0x100576c4
test bl, bl
je 0x100576d7
dec eax
mov eax, edx
jmp 0x100576b0
inc ebp
test al, al
je 0x100576d7
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 0x100576ab
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x10057697
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x100576d1
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 0x10057744
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 0x1005777c
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1005776a
mov al, 1
jmp 0x100577db
cmp dword [ebx + 0x54], ecx
jne 0x10057773
mov al, 2
jmp 0x100577db
cmp dword [ebx + 0x7c], ecx
jne 0x100577db
mov al, 3
jmp 0x100577db
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x10057791
mov al, 4
jmp 0x100577db
cmp ecx, 5
jne 0x100577b1
cmp ebx, 0
jne 0x1005779f
mov al, 5
jmp 0x100577db
cmp ebx, 1
jne 0x100577a8
mov al, 6
jmp 0x100577db
cmp ebx, 2
jne 0x100577b1
mov al, 7
jmp 0x100577db
cmp ecx, 6
jne 0x100577d9
cmp ebx, 0
jne 0x100577bf
mov al, 8
jmp 0x100577db
cmp ebx, 1
jne 0x100577c6
mov al, 9
cmp ebx, 2
jne 0x100577cd
mov al, 0xa
cmp ebx, 3
jne 0x100577d4
mov al, 0xb
cmp ebx, 4
jne 0x100577db
mov al, 0xc
pop ebx
leave
ret

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

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

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

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x10058aee
add dword [esp], 5
retf
Function at 0x10059e94
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 0x10059ecc
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x10059eba
mov al, 1
jmp 0x10059f2b
cmp dword [ebx + 0x54], ecx
jne 0x10059ec3
mov al, 2
jmp 0x10059f2b
cmp dword [ebx + 0x7c], ecx
jne 0x10059f2b
mov al, 3
jmp 0x10059f2b
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x10059ee1
mov al, 4
jmp 0x10059f2b
cmp ecx, 5
jne 0x10059f01
cmp ebx, 0
jne 0x10059eef
mov al, 5
jmp 0x10059f2b
cmp ebx, 1
jne 0x10059ef8
mov al, 6
jmp 0x10059f2b
cmp ebx, 2
jne 0x10059f01
mov al, 7
jmp 0x10059f2b
cmp ecx, 6
jne 0x10059f29
cmp ebx, 0
jne 0x10059f0f
mov al, 8
jmp 0x10059f2b
cmp ebx, 1
jne 0x10059f16
mov al, 9
cmp ebx, 2
jne 0x10059f1d
mov al, 0xa
cmp ebx, 3
jne 0x10059f24
mov al, 0xb
cmp ebx, 4
jne 0x10059f2b
mov al, 0xc
pop ebx
leave
ret
Function at 0x100634f7
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10063519
mov eax, 0xfffffffd
jmp 0x100635f9
mov ebx, dword [0x1026d0e7]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100635c7
mov ebx, dword [0x1026d0e7]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10063568
mov ebx, dword [0x1026d0e7]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10063568
mov eax, 1
jmp 0x1006356d
mov eax, 0
test eax, eax
je 0x10063599
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10063582
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 [0x1026d0e7]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x100635ef
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x100635f9
mov esp, ebp
pop ebp
ret 4

Function at 0x10063776
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10063829
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 0x10063d94
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.100d5f90
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10063dd9
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x101014b9
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.10058087
add esp, 8
cmp eax, 0
jne 0x10063e54
call fcn.10063ed8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x1026d0ef]
test ebx, ebx
je 0x10063e17
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [0x1026d0ef], eax
mov eax, dword [0x1026d0ef]
test eax, eax
je 0x10063e3b
push eax
mov ebx, eax
call fcn.10054c13
inc eax
push eax
call fcn.100d51a9
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]
test ebx, ebx
je 0x10063e4e
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.kernel32.dll_GetTempFileNameA_1]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10063e8f
push 0x202
push 0x40203f1
push 6
call fcn.100d51b5
add esp, 0xc
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10063ea2
mov eax, 0x101014b9
push eax
push 1
mov ebx, 0x170
call fcn.100d7a20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10063ec0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10063ed1
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10063ed8
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.100d5f90
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10063f1d
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.kernel32.dll_GetTempPathA_1]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10063f52
push 0x36
push 0x4020407
push 6
call fcn.100d51b5
add esp, 0xc
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10063f65
mov eax, 0x101014b9
push eax
push 1
mov ebx, 0x170
call fcn.100d7a20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10063f83
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10063f94
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x10063f99
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.100d5f90
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10063fde
push ebx
call fcn.100d51af
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 0x10064013
push 0x36
push 0x40203f2
push 6
call fcn.100d51b5
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x1006402f
push eax
mov ebx, eax
call fcn.10054c13
inc eax
push eax
call fcn.100d51a9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10064034
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10064045
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

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

Function at 0x10067986
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 0x100679be
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x100679ac
mov al, 1
jmp 0x10067a1d
cmp dword [ebx + 0x54], ecx
jne 0x100679b5
mov al, 2
jmp 0x10067a1d
cmp dword [ebx + 0x7c], ecx
jne 0x10067a1d
mov al, 3
jmp 0x10067a1d
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x100679d3
mov al, 4
jmp 0x10067a1d
cmp ecx, 5
jne 0x100679f3
cmp ebx, 0
jne 0x100679e1
mov al, 5
jmp 0x10067a1d
cmp ebx, 1
jne 0x100679ea
mov al, 6
jmp 0x10067a1d
cmp ebx, 2
jne 0x100679f3
mov al, 7
jmp 0x10067a1d
cmp ecx, 6
jne 0x10067a1b
cmp ebx, 0
jne 0x10067a01
mov al, 8
jmp 0x10067a1d
cmp ebx, 1
jne 0x10067a08
mov al, 9
cmp ebx, 2
jne 0x10067a0f
mov al, 0xa
cmp ebx, 3
jne 0x10067a16
mov al, 0xb
cmp ebx, 4
jne 0x10067a1d
mov al, 0xc
pop ebx
leave
ret

Function at 0x1006c6df
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 0x1006c70b
add dword [esp], 5
retf
Function at 0x1006dc0b
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.100d5f90
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1006dc50
push ebx
call fcn.100d51af
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 0x1006dc85
push 0x36
push 0x4012a84
push 6
call fcn.100d51b5
add esp, 0xc
push 0x101018d7
push dword [ebp - 4]
mov ecx, 2
call fcn.1005f66a
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x1006dca5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1006dcb6
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x1006e277
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 0x1006e34c
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x1006e34c
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x1006e34c
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 0x1006e2d2
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 0x1006e34c
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1006e317
test dl, dl
je 0x1006e313
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1006e317
add ecx, 2
add eax, 2
test dl, dl
jne 0x1006e2f7
xor eax, eax
jmp 0x1006e31c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006e32e
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x1006e339
inc esi
cmp esi, ebp
jae 0x1006e34c
mov edx, dword [esp + 0x10]
jmp 0x1006e2ed
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 0x1006e5b0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x1006e5bb
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x1006e5cf
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x1006e5d3
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x1006e60c
cmp dword [edi + ecx], 0x4550
jne 0x1006e60c
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x1006e60c
test byte [edi + ecx + 0x16], 2
je 0x1006e60c
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x1006e611
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 0x1006e64d
xor eax, eax
jmp 0x1006e630
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x1006e656
inc edx
movzx eax, dx
cmp eax, edi
jl 0x1006e630
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret