joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8bad20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x8bad58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x8bad60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x8bad94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x8bad94
push eax
push esi
call fcn.008bd20b
add esp, 8
pop esi
ret 0x10

Function at 0x8bada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x8bae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x8bae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x8d3320
push ecx
mov dword [esp + 0x1c], 4
call fcn.008bcdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x8badda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x8bae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x8baec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x8baeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x8d3320
push ecx
mov dword [esp + 0x1c], 4
call fcn.008bcdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x8baeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x8bae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x8bb000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x8bb131
push esi
call fcn.008be145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.008ad080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x8bb131
push 0
push ebp
call fcn.008ad3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.008ad260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x8bb08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.008ad2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x8bb121
push str.CompanyName
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push str.FileDescription
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push str.LegalCopyright
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push str.ProductName
push edi
call fcn.008bc3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.008baf60
push str.ProductVersion
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push str.FileVersion
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x8bc1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.008bc140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.008bc140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.008bc140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.008bc140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x8bcbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x8bcc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x8ce87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x8bcc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x8bcc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x402c11
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
xor edx, edx
lea ecx, [ebp - 0x400]
push 8
mov eax, edx
pop esi
test al, 1
je 0x402c35
shr eax, 1
xor eax, 0xedb88320
jmp 0x402c37
shr eax, 1
dec esi
jne 0x402c28
mov dword [ecx], eax
inc edx
add ecx, 4
cmp edx, 0x100
jl 0x402c23
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x402c56
xor eax, eax
jmp 0x402d60
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
cmp esi, 8
push edi
mov ecx, 0xff
not eax
jl 0x402d3f
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ebp + esi*4 - 0x400]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [ebp + esi*4 - 0x400]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [ebp + eax*4 - 0x400]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [ebp + esi*4 - 0x400]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [ebp + eax*4 - 0x400]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [ebp + esi*4 - 0x400]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [ebp + eax*4 - 0x400]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [ebp + esi*4 - 0x400]
xor eax, esi
inc edx
dec edi
jne 0x402c7d
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x402d5c
movzx ebx, byte [edx]
mov edi, eax
and edi, ecx
xor edi, ebx
shr eax, 8
mov edi, dword [ebp + edi*4 - 0x400]
xor eax, edi
inc edx
dec esi
jne 0x402d43
pop edi
pop ebx
not eax
pop esi
leave
ret
Function at 0x410330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 0
je 0x41034e
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x41035a
mov al, 1
jmp 0x4104d3
mov dword [ebp - 0x20], 8
call fcn.00412760
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x14], eax
call fcn.00412760
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00412790
add esp, 8
movzx eax, al
test eax, eax
je 0x41039d
xor al, al
jmp 0x4104d3
push 0
push 8
lea ecx, [ebp - 0x48]
call fcn.0040e0b0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x48]
call fcn.00411e50
mov ecx, eax
call fcn.0040f2f0
mov esi, eax
lea ecx, [ebp - 0x48]
call fcn.00414880
add esi, eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.00411e50
mov ecx, eax
call fcn.0040f2f0
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x40]
call fcn.00414d40
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x410411
cmp dword [ebp - 0x10], 1
je 0x410418
cmp dword [ebp - 0x10], 3
je 0x4104a4
jmp 0x4104b5
mov eax, dword [ebp - 8]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00411e50
mov ecx, eax
call fcn.0040f2f0
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0xc], edx
je 0x410474
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00411e50
mov ecx, eax
call fcn.0040f2f0
push eax
call fcn.00416e19
add esp, 0x10
cmp dword [ebp - 0xc], eax
je 0x410474
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x48]
call fcn.0040ebc0
mov al, byte [ebp - 1]
jmp 0x4104d3
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x410490
mov byte [ebp - 2], 1
lea ecx, [ebp - 0x48]
call fcn.0040ebc0
mov al, byte [ebp - 2]
jmp 0x4104d3
cmp dword [ebp - 0xc], 0
jne 0x4104a2
push 0
push 8
lea ecx, [ebp - 0x48]
call fcn.004119e0
jmp 0x4104c6
mov byte [ebp - 3], 1
lea ecx, [ebp - 0x48]
call fcn.0040ebc0
mov al, byte [ebp - 3]
jmp 0x4104d3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040ebc0
mov al, byte [ebp - 4]
jmp 0x4104d3
jmp 0x4103a9
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424060
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4355dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041b77f
mov dword [ebp - 0x14], eax
cmp dword [0x437ad0], esi
jne 0x424153
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4240e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x424233
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x424233
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424233
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x437ad0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x437ad4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x437ad8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x437ae0], eax
test eax, eax
je 0x424150
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x437adc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x424178
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42416b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42418d
push 4
pop eax
jmp 0x424235
cmp dword [ebp - 0x14], esi
je 0x42418d
push dword [0x437ad0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x424172
mov eax, dword [0x437adc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4241eb
cmp dword [0x437ae0], edi
je 0x4241eb
push eax
call ebx
push dword [0x437ae0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4241eb
test eax, eax
je 0x4241eb
call ecx
test eax, eax
je 0x4241e0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4241e0
test byte [ebp - 8], 1
jne 0x4241eb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42421b
mov eax, dword [0x437ad4]
cmp eax, edi
je 0x424218
push eax
call ebx
test eax, eax
je 0x424218
call eax
mov esi, eax
test esi, esi
je 0x424218
mov eax, dword [0x437ad8]
cmp eax, edi
je 0x424218
push eax
call ebx
test eax, eax
je 0x424218
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x437ad0]
call ebx
test eax, eax
je 0x424233
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x424235
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a8eb
mov esp, ebp
pop ebp
ret
Function at 0x5d8e74
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x5d8b64
add ebx, ecx
or ecx, ecx
call fcn.005d8ec3
add ebx, ebx
and ebx, ecx
dec ebx
xor dword [esi], edi
sub ecx, ecx
sub esp, 4
mov dword [esp], 0x6874fdd6
mov ecx, dword [esp]
add esp, 4
mov ebx, ecx
add esi, 2
mov ebx, ebx
add ecx, 0xd0c2b27e
cmp esi, edx
jl fcn.005d8e74
push ebx
mov ecx, dword [esp]
add esp, 4
and ecx, ecx
ret
Function at 0x4026b0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x5e6ea9af
push esi
push edi
mov edi, edx
movzx esi, cx
mul ebx
shr ecx, 0x10
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
mov dword [ebp - 0xc], ecx
sub edx, eax
mov dword [ebp - 4], edx
test edi, edi
jne 0x4026ec
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x402807
xor ebx, ebx
cmp edx, 7
jbe 0x402756
mov eax, 7
sub eax, edi
mov dword [ebp - 0x10], eax
movzx eax, byte [edi]
add ebx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add ecx, esi
add edi, 8
add esi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
add ecx, esi
cmp eax, edx
jb 0x402705
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x10], 0
cmp ebx, eax
jae 0x4027c9
sub eax, ebx
cmp eax, 2
jb 0x4027b5
mov edx, dword [ebp - 4]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, ebx
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebx, esi
add edi, 2
add esi, eax
add ecx, esi
sub edx, 1
jne 0x402783
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x4027c1
movzx eax, byte [edi]
mov edx, dword [ebp - 8]
add esi, eax
add ecx, esi
inc edi
jmp 0x4027c4
movzx eax, byte [edi]
mov ebx, edx
add esi, eax
add ecx, esi
inc edi
jmp 0x4027c4
mov edx, dword [ebp - 8]
lea eax, [edx + ebx]
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, 0x15b0
add ecx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], edx
jne 0x4026f4
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x40288b
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x448340]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x448340]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x448340]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x448340]
sub edi, 1
jne 0x402834
pop edi
test esi, esi
je 0x4028aa
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x448340]
sub esi, 1
jne 0x402890
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x40e4e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x40e508
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x40e510
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x40e529
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x40e531
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x40e54a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x40e552
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x40e56b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x40e573
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.0040e5b4
Function at 0x4205c0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, ebx
mov eax, dword [eax + 0x18]
add edx, ebx
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], ecx
sub eax, 1
je 0x4206c1
mov edx, dword [edx + ecx*4]
xorps xmm0, xmm0
add edx, ebx
mov dword [ebp - 0x20], 0
mov eax, edx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420622
sub eax, esi
lea ecx, [ebp - 0x30]
push eax
push edx
call fcn.0040b990
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
cmp eax, 0x10
mov edi, dword [ebp - 0x20]
mov esi, 0x811c9dc5
cmovae edx, ebx
xor ecx, ecx
test edi, edi
je 0x420666
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x420652
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x420692
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x420688
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206db
push ecx
push ebx
call fcn.00420d4c
add esp, 8
mov ebx, dword [ebp - 8]
cmp esi, dword [ebp + 0xc]
je 0x4206b4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0x18]
dec eax
cmp ecx, eax
jae 0x4206c1
mov edx, dword [ebp - 0x14]
jmp 0x420603
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00427422
int3
Function at 0x4206f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x44d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0x424], esi
push edi
mov dword [ebp - 0x42c], eax
mov ebx, dword [eax]
mov dword [ebp - 0x41c], ebx
cmp ebx, eax
je 0x42088f
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00422790
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00422790
push dword [ebx + 0x20]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0042839b
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042839b
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00428578
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00428578
add esp, 0x40
lea ebx, [ebp - 0x414]
xor ecx, ecx
lea edx, [ebx + 2]
mov dword [ebp - 0x418], ecx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4207b3
sub ebx, edx
sar ebx, 1
mov dword [ebp - 0x428], ebx
je 0x420875
mov ax, word [ebp - 0x20c]
lea edi, [ebp - 0x414]
mov dword [ebp - 0x420], edi
cmp word [edi], ax
jne 0x420848
lea eax, [ebp - 0x20c]
xor esi, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4207f1
sub eax, edx
mov edx, esi
sar eax, 1
je 0x420837
xor ebx, ebx
nop word [eax + eax]
mov cx, word [ebp + esi*2 - 0x20c]
lea edx, [ebx + 1]
cmp word [edi], cx
lea edi, [edi + 2]
cmovne edx, ebx
inc esi
mov ebx, edx
cmp esi, eax
jb 0x420810
mov ebx, dword [ebp - 0x428]
mov edi, dword [ebp - 0x420]
cmp edx, eax
je 0x42085e
mov ecx, dword [ebp - 0x418]
mov ax, word [ebp - 0x20c]
inc ecx
add edi, 2
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x420], edi
cmp ecx, ebx
jb 0x4207e1
jmp 0x42086f
mov eax, dword [ebp - 0x418]
lea eax, [ebp + eax*2 - 0x414]
test eax, eax
jne 0x4208a4
mov esi, dword [ebp - 0x424]
mov ebx, dword [ebp - 0x41c]
mov ebx, dword [ebx]
mov dword [ebp - 0x41c], ebx
cmp ebx, dword [ebp - 0x42c]
jne 0x420731
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004208c0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, dword [eax + 0x10]
xor ecx, ebp
pop ebx
call fcn.004208c0
mov esp, ebp
pop ebp
ret 4

Function at 0x421404
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x421443
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x421443
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421443
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x421443
cmp dword [ecx + 0x74], 0xe
jbe 0x421443
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret