joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ec80
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448fe0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42ee00
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42ee00
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x42ee00
cmp dword [esi], 0
je 0x42ede7
mov ecx, dword [eax]
test ecx, ecx
je 0x42ede7
mov eax, dword [ebx]
test eax, eax
je 0x42ede7
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0
push 1
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 8]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x42ed41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
test eax, eax
jle 0x42ee05
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp eax, dword [ebx]
jbe 0x42ed89
push eax
mov dword [ebp - 4], 0
call fcn.0042c735
mov edx, dword [esi]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
add esp, 4
push ecx
push edx
push eax
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0042f21b
mov ecx, dword [esi]
push ecx
call fcn.0042f1bf
mov edx, dword [ebp + 8]
mov dword [esi], edi
mov edi, dword [ebp - 0x14]
add esp, 0x14
mov dword [ebx], edx
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 8]
push ecx
push edx
push 0
push 1
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x42edd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42ed1b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ee20
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
test eax, eax
je 0x42ef1f
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42ef1f
push edi
lea edi, [esi + 8]
push edi
push 1
mov dword [eax], 0
mov eax, dword [esi]
push 0x660e
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x42eeb0
mov ecx, dword [esi + 4]
mov edx, dword [edi]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptExportKey]
push 0
push 0x40
push 1
push ecx
push edx
call ebx
test eax, eax
je 0x42eeb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 4]
call fcn.00402da0
test al, al
jne 0x42ee97
mov esi, 0x8007000e
jmp 0x42eec6
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [edi]
push eax
push 0x40
push 1
push ecx
push edx
call ebx
test eax, eax
jne 0x42ef02
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x42eec4
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x42eed9
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [edi], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax], 0
push edx
mov dword [ecx], 0
call fcn.0042f1bf
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push 0
mov dword [ecx], eax
call fcn.0042f1bf
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
mov eax, 0x80004003
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f0df
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e274]
jne 0x42f0e9
repz ret
jmp fcn.00434791
Function at 0x4422b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45e274]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004372e8
and dword [ebp - 0x14], 0
cmp dword [0x461380], 0
mov dword [ebp - 0x18], eax
jne 0x442366
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44240e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x450914
push ebx
call edi
test eax, eax
je 0x44240e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x461380], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x461384], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x461388], eax
call edi
push eax
call esi
mov dword [0x461390], eax
test eax, eax
je 0x442366
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46138c], eax
mov eax, dword [0x46138c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4423bf
cmp dword [0x461390], ecx
je 0x4423bf
push eax
call esi
push dword [0x461390]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4423bf
test ebx, ebx
je 0x4423bf
call edi
test eax, eax
je 0x4423b6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4423b6
test byte [ebp - 8], 1
jne 0x4423bf
or dword [ebp + 0x10], 0x200000
jmp 0x4423f2
mov eax, dword [0x461384]
cmp eax, dword [ebp - 0x18]
je 0x4423f2
push eax
call esi
test eax, eax
je 0x4423f2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4423f2
mov eax, dword [0x461388]
cmp eax, dword [ebp - 0x18]
je 0x4423f2
push eax
call esi
test eax, eax
je 0x4423f2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x461380]
call esi
test eax, eax
je 0x44240e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x442410
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f0df
leave
ret
Function at 0x40a7ee
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push dword [ebp + 8]
call fcn.00401608
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x40a840
mov eax, 0
jmp 0x40a9d3
push dword [ebp + 8]
call fcn.004015e4
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x4b39cb]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
fld qword [ebp - 0x28]
call fcn.00402134
push eax
push 8
push dword [0x4cc0bc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40a89a
push 0x132
push 0x40e6203
push 6
call fcn.004858a7
add esp, 0xc
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x4b39cb]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00402134
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40a98c
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.0040a9d9
mov word [ebp - 0x14], ax
cmp word [ebp - 0x14], 0
jne 0x40a925
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40a91b
push 0x218
push 0x40e6203
push 6
call fcn.004858a7
add esp, 0xc
jmp 0x40a98c
cmp word [ebp - 0x14], 0x5c
jne 0x40a973
cmp dword [ebp - 0x18], 0
jle 0x40a96b
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40a96b
push 0x2b9
push 0x40e6203
push 6
call fcn.004858a7
add esp, 0xc
inc dword [ebp - 0x18]
jmp 0x40a973
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.0040aa26
pop ebx
pop ecx
pop edx
add ecx, 2
jmp 0x40a8c3
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
push 0
push dword [0x4cc0bc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40a9c6
push 0x36a
push 0x40e6203
push 6
call fcn.004858a7
add esp, 0xc
push dword [ebp + 8]
call fcn.0040a717
jmp 0x40a9d3
mov esp, ebp
pop ebp
ret 4
Function at 0x40aac7
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40ab7b
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0040aa57
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x40ab54
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ab87
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40aba2
test ebp, ebp
je 0x40aba2
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x40abaa
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x40abea
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x40ac46
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x40ac41
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40ac2c
test dl, dl
je 0x40ac28
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40ac2c
add ecx, 2
add eax, 2
test dl, dl
jne 0x40ac0c
xor eax, eax
jmp 0x40ac31
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ac50
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x40abf9
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x40ac67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0040aac7
mov esi, eax
test esi, esi
je 0x40ad23
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0040ab87
mov ebp, eax
test ebp, ebp
je 0x40ad22
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0040ab87
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x40ad22
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x40ad22
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40ad21
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x40ad07
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x40c6c0
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x40c7f6
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x40c6e3
cmp dword [edx + 0x10], esi
jne 0x40c6db
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x40c7f6
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x40c7ef
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x40c770
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x40c770
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x40c775
jmp 0x40c7ef
add edx, 0x28
jmp 0x40c74f
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x40c7ef
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x40c7ef
cmp dword [ebp - 0x24], 8
jne 0x40c7ef
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x40c7ef
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x40c7fa
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18

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

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

Function at 0x40e8a6
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 0x40e8fa
mov al, cl
cmp al, 0x61
jb 0x40e8d5
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40e8fa
mov al, cl
cmp al, 0x61
jb 0x40e8ed
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x40e8c6
cmp edx, dword [esp + 0x18]
je 0x40e90a
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x40e8bf
xor eax, eax
jmp 0x40e90d
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x40e954
add dword [esp], 5
retf
Function at 0x40ea0b
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 0x40eb0c
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x40eb12
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 0x40ea6d
cmp al, 0x61
jb 0x40ea65
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40ea58
cmp edx, dword [esp + 0x14]
je 0x40ea7d
dec ecx
jne 0x40ea4d
xor eax, eax
jmp 0x40eb0c
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 0x40eb0c
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x40eb0c
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x40eabd
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x40eacc
jmp 0x40eab4
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 0x40eb12
test eax, eax
je 0x40eb0c
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x40eb07
cmp al, 0x61
jb 0x40eaff
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40eaf2
call 0x40ea21
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 0x40eb5f
mov al, cl
cmp al, 0x61
jb 0x40eb3a
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40eb5f
mov al, cl
cmp al, 0x61
jb 0x40eb52
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x40eb2b
cmp edx, dword [esp + 0x18]
je 0x40eb6f
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x40eb24
xor eax, eax
jmp 0x40eb72
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x40ea21
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 0x40eb0c
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x40eb12
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 0x40ea6d
cmp al, 0x61
jb 0x40ea65
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40ea58
cmp edx, dword [esp + 0x14]
je 0x40ea7d
dec ecx
jne 0x40ea4d
xor eax, eax
jmp 0x40eb0c
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 0x40eb0c
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x40eb0c
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x40eabd
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x40eacc
jmp 0x40eab4
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 0x40eb12
test eax, eax
je 0x40eb0c
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x40eb07
cmp al, 0x61
jb 0x40eaff
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40eaf2
call 0x40ea21
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 0x40eb5f
mov al, cl
cmp al, 0x61
jb 0x40eb3a
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40eb5f
mov al, cl
cmp al, 0x61
jb 0x40eb52
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x40eb2b
cmp edx, dword [esp + 0x18]
je 0x40eb6f
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x40eb24
xor eax, eax
jmp 0x40eb72
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x40eb12
Capabilities:
Access peb ldr_data

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 0x40eb0c
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x40eb12
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 0x40ea6d
cmp al, 0x61
jb 0x40ea65
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40ea58
cmp edx, dword [esp + 0x14]
je 0x40ea7d
dec ecx
jne 0x40ea4d
xor eax, eax
jmp 0x40eb0c
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 0x40eb0c
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x40eb0c
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x40eabd
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x40eacc
jmp 0x40eab4
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 0x40eb12
test eax, eax
je 0x40eb0c
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x40eb07
cmp al, 0x61
jb 0x40eaff
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x40eaf2
call 0x40ea21
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 0x40eb5f
mov al, cl
cmp al, 0x61
jb 0x40eb3a
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40eb5f
mov al, cl
cmp al, 0x61
jb 0x40eb52
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x40eb2b
cmp edx, dword [esp + 0x18]
je 0x40eb6f
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x40eb24
xor eax, eax
jmp 0x40eb72
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

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

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

Function at 0x40ee0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
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 0x40ee5c
mov al, cl
cmp al, 0x61
jb 0x40ee37
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40ee5c
mov al, cl
cmp al, 0x61
jb 0x40ee4f
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x40ee28
cmp edx, dword [esp + 0x18]
je 0x40ee6c
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x40ee21
xor eax, eax
jmp 0x40ee6f
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret