joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4334e0
Capabilities:
Write file on windows

Disassembly:
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov eax, dword [0x491ce8]
add eax, 0x39a251f2
mov dword [0x491ce8], eax
mov eax, dword [0x493604]
imul eax, eax, 0x498aac5d
mov dword [0x493604], eax
cmp dword [0x49be6c], 0
jne 0x433549
mov eax, dword [0x48c114]
imul eax, eax, 0x30a29f04
mov dword [0x48c114], eax
call fcn.0041e850
mov dword [0x49be6c], eax
mov eax, dword [0x494a70]
add eax, 0x587ff10
mov dword [0x494a70], eax
mov eax, dword [0x48e66c]
xor eax, 0xa23f20b6
mov dword [0x48e66c], eax
mov eax, esp
mov dword [eax + 4], 3
mov dword [eax], 0x11c1
call fcn.00447ef0
mov dword [esp + 0x20], eax
mov eax, dword [0x490dd4]
mov ecx, eax
inc ecx
mov dword [0x490dd4], ecx
mov ecx, 0x8eaae1ac
sub ecx, eax
mov dx, cx
mov word [0x49933e], dx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, esp
mov dword [esi + 4], eax
mov dword [esi], ecx
call fcn.00456445
mov dword [esp + 0x18], eax
mov eax, dword [0x48ea8c]
add eax, 0xb02e00a6
mov dword [0x48ea8c], eax
mov eax, dword [esp + 0x20]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00437960
mov eax, dword [0x4910dc]
xor eax, 0xdca21f55
mov dword [0x4910dc], eax
cmp dword [esp + 0x18], 0
jne 0x433692
mov dword [0x491330], 0xc110e254
mov eax, dword [0x48ac44]
mov ecx, esp
mov dword [ecx], 0x461
call eax
sub esp, 4
mov eax, dword [0x48e2bc]
or eax, 0xfef55ebd
mov dword [0x48e2bc], eax
mov eax, esp
mov dword [eax + 4], 3
mov dword [eax], 0x11c1
call fcn.00447ef0
mov dword [esp + 0x1c], eax
mov eax, dword [0x48e1e0]
mov ecx, dword [0x48dfa4]
or eax, ecx
or eax, 0x6ff7dbd2
mov dword [0x48dfa4], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00456445
mov dword [esp + 0x18], eax
mov eax, dword [0x490fdc]
add eax, 0x897329a7
mov dword [0x490fdc], eax
mov eax, dword [esp + 0x1c]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00437960
mov si, word [0x498dba]
mov ax, si
and eax, 0x7643
mov si, ax
mov word [0x498dba], si
mov ax, word [0x49874c]
mov cx, ax
add ecx, 0x6d9ffead
mov ax, cx
mov word [0x49874c], ax
cmp dword [esp + 0x18], 0
je 0x43373f
mov eax, dword [0x48cec0]
xor eax, 0x4f4b124e
mov ecx, dword [0x492d84]
imul ecx, eax
mov dword [0x492d84], ecx
mov eax, dword [esp + 0x18]
mov ecx, esp
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], 1
mov dword [ecx + 4], 4
mov dword [ecx], 0x49be6c
call fcn.004565f8
mov ecx, dword [0x48b2f8]
and ecx, 0x7400
or ecx, 0x8b75
mov dx, word [0x496684]
mov si, dx
xor esi, ecx
mov dx, si
mov word [0x496684], dx
mov ecx, dword [esp + 0x18]
mov esi, esp
mov dword [esi], ecx
mov dword [esp + 0x14], eax
call fcn.004566e6
mov ecx, dword [0x4952e8]
or ecx, 0xf5095768
mov dword [0x4952e8], ecx
mov dword [esp + 0x10], eax
mov eax, dword [0x494f5c]
add eax, 0x9bddf7bd
mov dword [0x494f5c], eax
add esp, 0x2c
pop esi
ret
Function at 0x4348f0
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [0x48ced4]
imul eax, eax, 0x51c4404d
mov cx, word [0x49748c]
mov dx, cx
lea eax, [eax + edx - 0xd74d58c]
mov cx, ax
mov word [0x49748c], cx
mov eax, dword [0x49b648]
mov edx, esp
mov dword [edx], eax
call fcn.0040df40
mov edx, dword [0x4945b0]
mov esi, edx
dec esi
mov dword [0x4945b0], esi
and edx, 0x41e00c6b
cmp edx, 0x90000000
mov byte [esp + 0xb], al
jl 0x434979
mov ax, word [0x498c58]
movsx ecx, ax
lea ecx, [ecx*4 - 0x45dfb256]
xor ecx, 0xddc00f73
mov edx, dword [0x48b9e8]
or edx, ecx
mov dword [0x48b9e8], edx
mov eax, 1
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.0045706b
int3
Function at 0x46a40b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x489ac0]
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.0045f7ea
mov dword [ebp - 0x14], eax
cmp dword [0x49ce10], esi
jne 0x46a4fe
push 0x800
push esi
push 0x47f0b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46a48b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46a5de
push esi
push esi
push 0x47f0b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46a5de
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46a5de
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49ce10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x49ce14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x49ce18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49ce20], eax
test eax, eax
je 0x46a4fb
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49ce1c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46a523
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46a516
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46a538
push 4
pop eax
jmp 0x46a5e0
cmp dword [ebp - 0x14], esi
je 0x46a538
push dword [0x49ce10]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46a51d
mov eax, dword [0x49ce1c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46a596
cmp dword [0x49ce20], edi
je 0x46a596
push eax
call ebx
push dword [0x49ce20]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46a596
test eax, eax
je 0x46a596
call ecx
test eax, eax
je 0x46a58b
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 0x46a58b
test byte [ebp - 8], 1
jne 0x46a596
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46a5c6
mov eax, dword [0x49ce14]
cmp eax, edi
je 0x46a5c3
push eax
call ebx
test eax, eax
je 0x46a5c3
call eax
mov esi, eax
test esi, esi
je 0x46a5c3
mov eax, dword [0x49ce18]
cmp eax, edi
je 0x46a5c3
push eax
call ebx
test eax, eax
je 0x46a5c3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49ce10]
call ebx
test eax, eax
je 0x46a5de
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46a5e0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004637b3
mov esp, ebp
pop ebp
ret
Function at 0x404434
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4047f8
call fcn.004046f8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x404494
cmp eax, 0xffffffff
je 0x404494
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40448d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40448d
cmp edx, 0x10000000
jae 0x40448d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40448a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x404500
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40453e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x404536
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x404540
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x404526
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404610
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x404641
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x404641
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x404641
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x404220
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14c4
call fcn.00409fe0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x495368]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x49536c]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], edx
call fcn.00404210
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x495370]
mov edx, dword [0x495374]
add edi, 0x23f
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea ecx, [ecx]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x49cafc]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x4042ac
mov dword [0x49caf8], 0xedeb2e40
jmp 0x4042c7
cmp eax, 0x3eb
jne 0x4042c7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x49c588], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x49cafc], 0x9e6
mov dword [0x49caf4], 0xf4ea3dee
jne 0x404300
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x49cafc], 0x213
jne 0x4043a4
push 0
lea eax, [ebp - 0x4c4]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
lea ecx, [ebp - 0xcc4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x14c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
lea ecx, [ebp - 0x8c4]
push ecx
push 0
push 0x403ed8
push 0x403f10
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub ebx, dword [ebp - 4]
cmp dword [0x49cafc], 0xc
jne 0x4043b8
push 0
call dword [sym.imp.KERNEL32.dll_GlobalWire]
mov edx, ebx
shr edx, 5
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, ebx
shl eax, 4
add eax, dword [ebp - 0x1c]
lea ecx, [edi + ebx]
xor eax, ecx
xor eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x404280
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404410
Capabilities:
Connect pipe
Create process on windows
Create reverse shell
Get thread local storage value
Read pipe
Set environment variable
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1808
call fcn.00409fe0
mov eax, dword [0x49cafc]
mov ecx, dword [0x49c58c]
shr eax, 3
test eax, eax
jbe 0x40452c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x49cafc], 0x959
jne 0x404512
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1008]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404220
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4945f8]
jne 0x406f5a
repz ret
jmp fcn.0040bbee

Function at 0x40b815
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408bc4
and dword [ebp - 4], 0
cmp dword [0x49a578], 0
mov ebx, eax
jne 0x40b8c6
push 0x401c4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b977
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c40
push edi
call esi
test eax, eax
je 0x40b977
push eax
call fcn.00408b52
mov dword [esp], 0x401c30
push edi
mov dword [0x49a578], eax
call esi
push eax
call fcn.00408b52
mov dword [esp], 0x401c1c
push edi
mov dword [0x49a57c], eax
call esi
push eax
call fcn.00408b52
mov dword [esp], 0x401c00
push edi
mov dword [0x49a580], eax
call esi
push eax
call fcn.00408b52
pop ecx
mov dword [0x49a588], eax
test eax, eax
je 0x40b8c6
push 0x401be8
push edi
call esi
push eax
call fcn.00408b52
pop ecx
mov dword [0x49a584], eax
mov eax, dword [0x49a584]
cmp eax, ebx
je 0x40b91e
cmp dword [0x49a588], ebx
je 0x40b91e
push eax
call fcn.00408bcd
push dword [0x49a588]
mov esi, eax
call fcn.00408bcd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b91e
test edi, edi
je 0x40b91e
call esi
test eax, eax
je 0x40b915
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b915
test byte [ebp - 0xc], 1
jne 0x40b91e
or dword [ebp + 0x10], 0x200000
jmp 0x40b957
mov eax, dword [0x49a57c]
cmp eax, ebx
je 0x40b957
push eax
call fcn.00408bcd
pop ecx
test eax, eax
je 0x40b957
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b957
mov eax, dword [0x49a580]
cmp eax, ebx
je 0x40b957
push eax
call fcn.00408bcd
pop ecx
test eax, eax
je 0x40b957
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49a578]
call fcn.00408bcd
pop ecx
test eax, eax
je 0x40b977
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b979
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x481420], 0
jne 0x401c9f
cmp dword [0x481424], 0
jne 0x401c9f
mov eax, 1
jmp 0x401d30
push 0
push 0
push 1
push 0
call dword [0x4893fc]
mov dword [0x487958], eax
cmp dword [0x487958], 0
je 0x401d2e
push 0
push 0
push 1
push 0
call dword [0x4893fc]
mov dword [0x48795c], eax
cmp dword [0x48795c], 0
je 0x401d17
push 0
push 0
push 0
push 0x401db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x487954], eax
cmp dword [0x487954], 0
je 0x401d01
mov eax, 1
jmp 0x401d30
mov eax, dword [0x48795c]
push eax
call dword [0x4893e4]
mov dword [0x48795c], 0
mov ecx, dword [0x487958]
push ecx
call dword [0x4893e4]
mov dword [0x487958], 0
xor eax, eax
pop ebp
ret
Function at 0x4031e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push edi
cmp dword [0x4891dc], 0
jne 0x4031f9
xor eax, eax
xor edx, edx
jmp 0x4033df
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jle 0x403228
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x4c], edx
jmp 0x403236
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 0x10], 0
jle 0x40326b
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x58], edx
mov eax, dword [ecx - 4]
mov dword [ebp - 0x54], eax
jmp 0x403279
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
jle 0x4032ae
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x5c], ecx
jmp 0x4032bc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x10], 0
jle 0x4032f1
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x68], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x64], edx
jmp 0x4032ff
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub eax, 8
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x48], 0
xor edx, edx
mov word [ebp - 0x44], dx
mov word [ebp - 0x44], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0x48], esp
and esp, 0xfffffff0
push 0x33
call 0x403360
add dword [esp], 5
retf
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4033f0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
cmp dword [ebp + 8], 0
je 0x403410
cmp dword [ebp + 0xc], 0
jne 0x40340a
cmp dword [ebp + 0x10], 0
je 0x403410
cmp dword [ebp + 0x14], 0
jne 0x403412
jmp 0x403465
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push 0x33
call fcn.00403425
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
cmp dword [ebp + 8], 0
je 0x403490
cmp dword [ebp + 0xc], 0
jne 0x40348a
cmp dword [ebp + 0x10], 0
je 0x403490
cmp dword [ebp + 0x14], 0
jne 0x403494
xor al, al
jmp 0x4034f8
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push 0x33
call fcn.004034ab
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x33
call fcn.0040351b
Function at 0x409290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
xor eax, eax
mov word [ebp - 0x208], ax
push 0x206
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.00422100
add esp, 0xc
push 0x104
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x409452
xor eax, eax
mov word [ebp - 0x410], ax
push 0x206
push 0
lea ecx, [ebp - 0x40e]
push ecx
call fcn.00422100
add esp, 0xc
push 0x104
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x409452
xor eax, eax
mov word [ebp - 0x618], ax
push 0x206
push 0
lea ecx, [ebp - 0x616]
push ecx
call fcn.00422100
add esp, 0xc
push 0x104
lea edx, [ebp - 0x618]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x409452
xor eax, eax
mov word [ebp - 0x820], ax
push 0x206
push 0
lea ecx, [ebp - 0x81e]
push ecx
call fcn.00422100
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
push 0x432028
push 0x104
lea eax, [ebp - 0x820]
push eax
call fcn.0042217a
add esp, 0x10
xor ecx, ecx
mov word [ebp - 0xc30], cx
push 0x206
push 0
lea edx, [ebp - 0xc2e]
push edx
call fcn.00422100
add esp, 0xc
lea eax, [ebp - 0x618]
push eax
push 0x432048
push 0x104
lea ecx, [ebp - 0xc30]
push ecx
call fcn.0042217a
add esp, 0x10
xor edx, edx
mov word [ebp - 0xa28], dx
push 0x206
push 0
lea eax, [ebp - 0xa26]
push eax
call fcn.00422100
add esp, 0xc
lea ecx, [ebp - 0x618]
push ecx
push 0x432068
push 0x104
lea edx, [ebp - 0xa28]
push edx
call fcn.0042217a
add esp, 0x10
lea eax, [ebp - 0x820]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [0x48978c]
test eax, eax
je 0x40944b
lea edx, [ebp - 0xc30]
push edx
lea eax, [ebp - 0x208]
push eax
call dword [0x48978c]
test eax, eax
je 0x40944b
lea ecx, [ebp - 0xa28]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [0x48978c]
test eax, eax
jne 0x409452
mov eax, 1
jmp 0x409454
xor eax, eax
mov esp, ebp
pop ebp
ret