joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100572c0
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x114
test eax, eax
push esi
jne 0x100572e5
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1005734f
jmp 0x10057305
mov esi, dword [esp + 0x120]
push esi
call dword [0x101072f0]
add esp, 4
test eax, eax
je 0x1005734f
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 0x1005734f
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 0x10057360
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1005737e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x10057373
pop esi
ret

Function at 0x10057b90
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 0x10057bf9
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.10056f10
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 0x10059520
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 0x10059541
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x1005959b
inc edi
cmp edi, esi
jl 0x10059535
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 0x100595d0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x1005958a
cmp byte [eax], bl
je 0x100595a5
cmp byte [eax + 1], bl
je 0x100595ae
cmp byte [eax + 2], bl
je 0x100595b8
cmp byte [eax + 3], bl
je 0x100595c4
add eax, 4
cmp eax, edi
jb 0x10059561
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 0x1005be7c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], esp
mov eax, dword [0x1027315d]
push eax
push 0x24
call fcn.100db109
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 0x1005bf31
push 0
push 0x4010cd5
push 6
call fcn.100db115
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.100db10f
add esp, 4
mov ebx, dword [0x1027315d]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp word [ebx], 6
je 0x1005bfec
mov ebx, dword [0x1027315d]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp word [ebx], 9
je 0x1005bfec
mov ebx, dword [0x1027315d]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 0xa
je 0x1005bfec
xor eax, eax
jmp 0x1005bff1
mov eax, 1
mov dword [0x10273161], eax
mov eax, dword [0x10273161]
jmp 0x1005c000
mov esp, ebp
pop ebp
ret

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

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

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

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x1005d633
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x1005d633
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x1005d633
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 0x1005d633
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 0x1005d624
test bl, bl
je 0x1005d637
dec eax
mov eax, edx
jmp 0x1005d610
inc ebp
test al, al
je 0x1005d637
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 0x1005d60b
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x1005d5f7
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x1005d631
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 0x1005d6a4
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 0x1005d6dc
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1005d6ca
mov al, 1
jmp 0x1005d73b
cmp dword [ebx + 0x54], ecx
jne 0x1005d6d3
mov al, 2
jmp 0x1005d73b
cmp dword [ebx + 0x7c], ecx
jne 0x1005d73b
mov al, 3
jmp 0x1005d73b
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1005d6f1
mov al, 4
jmp 0x1005d73b
cmp ecx, 5
jne 0x1005d711
cmp ebx, 0
jne 0x1005d6ff
mov al, 5
jmp 0x1005d73b
cmp ebx, 1
jne 0x1005d708
mov al, 6
jmp 0x1005d73b
cmp ebx, 2
jne 0x1005d711
mov al, 7
jmp 0x1005d73b
cmp ecx, 6
jne 0x1005d739
cmp ebx, 0
jne 0x1005d71f
mov al, 8
jmp 0x1005d73b
cmp ebx, 1
jne 0x1005d726
mov al, 9
cmp ebx, 2
jne 0x1005d72d
mov al, 0xa
cmp ebx, 3
jne 0x1005d734
mov al, 0xb
cmp ebx, 4
jne 0x1005d73b
mov al, 0xc
pop ebx
leave
ret

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

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

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

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x1005ea4e
add dword [esp], 5
retf
Function at 0x1005fdf4
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 0x1005fe2c
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1005fe1a
mov al, 1
jmp 0x1005fe8b
cmp dword [ebx + 0x54], ecx
jne 0x1005fe23
mov al, 2
jmp 0x1005fe8b
cmp dword [ebx + 0x7c], ecx
jne 0x1005fe8b
mov al, 3
jmp 0x1005fe8b
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1005fe41
mov al, 4
jmp 0x1005fe8b
cmp ecx, 5
jne 0x1005fe61
cmp ebx, 0
jne 0x1005fe4f
mov al, 5
jmp 0x1005fe8b
cmp ebx, 1
jne 0x1005fe58
mov al, 6
jmp 0x1005fe8b
cmp ebx, 2
jne 0x1005fe61
mov al, 7
jmp 0x1005fe8b
cmp ecx, 6
jne 0x1005fe89
cmp ebx, 0
jne 0x1005fe6f
mov al, 8
jmp 0x1005fe8b
cmp ebx, 1
jne 0x1005fe76
mov al, 9
cmp ebx, 2
jne 0x1005fe7d
mov al, 0xa
cmp ebx, 3
jne 0x1005fe84
mov al, 0xb
cmp ebx, 4
jne 0x1005fe8b
mov al, 0xc
pop ebx
leave
ret
Function at 0x10069457
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10069479
mov eax, 0xfffffffd
jmp 0x10069559
mov ebx, dword [0x102731b5]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10069527
mov ebx, dword [0x102731b5]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x100694c8
mov ebx, dword [0x102731b5]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x100694c8
mov eax, 1
jmp 0x100694cd
mov eax, 0
test eax, eax
je 0x100694f9
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x100694e2
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 [0x102731b5]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x1006954f
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10069559
mov esp, ebp
pop ebp
ret 4

Function at 0x100696d6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10069789
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 0x10069cf4
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.100dbef0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10069d39
push ebx
call fcn.100db10f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x10107587
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.1005dfe7
add esp, 8
cmp eax, 0
jne 0x10069db4
call fcn.10069e38
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x102731bd]
test ebx, ebx
je 0x10069d77
push ebx
call fcn.100db10f
add esp, 4
pop eax
mov dword [0x102731bd], eax
mov eax, dword [0x102731bd]
test eax, eax
je 0x10069d9b
push eax
mov ebx, eax
call fcn.1005ab73
inc eax
push eax
call fcn.100db109
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 0x10069dae
push ebx
call fcn.100db10f
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 0x10069def
push 0x202
push 0x40203f1
push 6
call fcn.100db115
add esp, 0xc
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10069e02
mov eax, 0x10107587
push eax
push 1
mov ebx, 0x170
call fcn.100dd980
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10069e20
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10069e31
push ebx
call fcn.100db10f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10069e38
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.100dbef0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10069e7d
push ebx
call fcn.100db10f
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 0x10069eb2
push 0x36
push 0x4020407
push 6
call fcn.100db115
add esp, 0xc
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10069ec5
mov eax, 0x10107587
push eax
push 1
mov ebx, 0x170
call fcn.100dd980
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10069ee3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10069ef4
push ebx
call fcn.100db10f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x10069ef9
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.100dbef0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10069f3e
push ebx
call fcn.100db10f
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 0x10069f73
push 0x36
push 0x40203f2
push 6
call fcn.100db115
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x10069f8f
push eax
mov ebx, eax
call fcn.1005ab73
inc eax
push eax
call fcn.100db109
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10069f94
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10069fa5
push ebx
call fcn.100db10f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x1006a2e9
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.100696d6
test eax, eax
je 0x1006a32c
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1006a32c
cmp word [eax], 0x5a4d
jne 0x1006a32c
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1006a32c
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100697a8
mov eax, dword [ebp + 8]
jmp 0x1006a345
mov esp, ebp
pop ebp
ret 4

Function at 0x1006d8e6
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 0x1006d91e
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1006d90c
mov al, 1
jmp 0x1006d97d
cmp dword [ebx + 0x54], ecx
jne 0x1006d915
mov al, 2
jmp 0x1006d97d
cmp dword [ebx + 0x7c], ecx
jne 0x1006d97d
mov al, 3
jmp 0x1006d97d
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1006d933
mov al, 4
jmp 0x1006d97d
cmp ecx, 5
jne 0x1006d953
cmp ebx, 0
jne 0x1006d941
mov al, 5
jmp 0x1006d97d
cmp ebx, 1
jne 0x1006d94a
mov al, 6
jmp 0x1006d97d
cmp ebx, 2
jne 0x1006d953
mov al, 7
jmp 0x1006d97d
cmp ecx, 6
jne 0x1006d97b
cmp ebx, 0
jne 0x1006d961
mov al, 8
jmp 0x1006d97d
cmp ebx, 1
jne 0x1006d968
mov al, 9
cmp ebx, 2
jne 0x1006d96f
mov al, 0xa
cmp ebx, 3
jne 0x1006d976
mov al, 0xb
cmp ebx, 4
jne 0x1006d97d
mov al, 0xc
pop ebx
leave
ret

Function at 0x1007263f
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 0x1007266b
add dword [esp], 5
retf
Function at 0x10073b6b
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.100dbef0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10073bb0
push ebx
call fcn.100db10f
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 0x10073be5
push 0x36
push 0x4012a84
push 6
call fcn.100db115
add esp, 0xc
push 0x101079a5
push dword [ebp - 4]
mov ecx, 2
call fcn.100655ca
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10073c05
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10073c16
push ebx
call fcn.100db10f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x100741d7
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 0x100742ac
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100742ac
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x100742ac
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 0x10074232
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 0x100742ac
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10074277
test dl, dl
je 0x10074273
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10074277
add ecx, 2
add eax, 2
test dl, dl
jne 0x10074257
xor eax, eax
jmp 0x1007427c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1007428e
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x10074299
inc esi
cmp esi, ebp
jae 0x100742ac
mov edx, dword [esp + 0x10]
jmp 0x1007424d
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 0x10074510
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x1007451b
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x1007452f
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x10074533
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x1007456c
cmp dword [edi + ecx], 0x4550
jne 0x1007456c
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x1007456c
test byte [edi + ecx + 0x16], 2
je 0x1007456c
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x10074571
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 0x100745ad
xor eax, eax
jmp 0x10074590
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x100745b6
inc edx
movzx eax, dx
cmp eax, edi
jl 0x10074590
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x100745bc
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 0x100745f4
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x10074602
add edx, 0x20
cmp eax, edx
jne 0x10074613
test bx, bx
je 0x10074648
add esi, 2
add edi, 2
jmp 0x100745e4
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x10074621
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x1007462f
add edx, 0x20
sub ecx, edx
je 0x10074648
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x100745dd
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 0x10074661
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 0x1007473a
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x1007473a
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x1007473a
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 0x100746c0
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 0x1007473a
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10074705
test dl, dl
je 0x10074701
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10074705
add ecx, 2
add eax, 2
test dl, dl
jne 0x100746e5
xor eax, eax
jmp 0x1007470a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1007471c
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x10074727
inc esi
cmp esi, ebp
jae 0x1007473a
mov edx, dword [esp + 0x10]
jmp 0x100746db
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