joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407120
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x40ca74]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
test eax, eax
jne 0x407168
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x407148
mov eax, 1
jmp 0x407163
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x407239
mov eax, 2
mov dword [0x40ca74], eax
cmp eax, 1
jne 0x407188
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x40724b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4071a3
mov ecx, dword [0x40c5d0]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
test esi, esi
jne 0x4071c2
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.00401500
mov edi, eax
add esp, 4
test edi, edi
jne 0x4071d6
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x407230
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x407214
mov edx, dword [esp + 0x24]
push eax
push eax
push 0xffffffffffffffff
push edi
push 1
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
je 0x407230
push edi
call fcn.00401780
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push edi
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jne 0x407240
push edi
call fcn.00401780
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.00401780
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x407250
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x40ca78]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x407298
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40727c
mov eax, 1
jmp 0x407293
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x407378
mov eax, 2
mov dword [0x40ca78], eax
cmp eax, 2
jne 0x4072b8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x40738a
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4072d3
mov ecx, dword [0x40c5d0]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x4072f2
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.00401500
mov esi, eax
add esp, 4
test esi, esi
jne 0x407309
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40736f
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x407350
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x40736f
push esi
call fcn.00401780
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x40737f
push esi
call fcn.00401780
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.00401780
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40123e
Capabilities:
Get common file path

Disassembly:
cmp word [0x404bf0], 0
push esi
mov esi, 0x404bf0
jne 0x40125f
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [0x404dfc], eax
push esi
push dword [esp + 0xc]
call sub.msvcrt.dll_wcscpy
mov eax, dword [0x404dfc]
pop ecx
pop ecx
pop esi
ret
Function at 0x401576
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
call fcn.0040222f
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
call fcn.0040179f
call fcn.0040122d
test eax, eax
je 0x4015ad
call fcn.004018dd
jmp 0x4015b2
call fcn.00401859
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0x401fe3
push edi
mov dword [0x40447c], 0x11223344
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push dword [ebp + 0x10]
xor ebx, ebx
lea eax, [esp + 0x20]
inc ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x4c], 0x20
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], edi
call fcn.004013c9
cmp dword [esp + 0x4c], 2
jl 0x401734
lea eax, [esp + 0x1c]
xor esi, esi
call fcn.00401536
test eax, eax
je 0x40164f
mov esi, ebx
mov dword [esp + 0x14], edi
cmp esi, dword [esp + 0x4c]
jge 0x401664
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.00401361
mov ebx, eax
jmp 0x401669
mov ebx, 0x4031c8
lea eax, [esi + 1]
cmp eax, edi
jl 0x40167f
cmp eax, dword [esp + 0x48]
jge 0x40167f
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + eax*4]
jmp 0x401681
xor eax, eax
mov ecx, dword [ebp + 0x10]
push ebx
lea esi, [ecx + eax*2]
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push ebx
call fcn.00401272
test eax, eax
pop ecx
pop ecx
je 0x4016a4
push ebx
call sub.msvcrt.dll__wtoi
pop ecx
jmp 0x4016eb
push 0x20c
lea eax, [esp + 0x58]
push edi
push eax
mov dword [esp + 0x5c], edi
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
mov dword [0x404238], edi
call fcn.00401b5d
cmp dword [0x404238], edi
pop ecx
je 0x4016e7
push 0x210
lea eax, [esp + 0x54]
push 0x404028
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x401714
push esi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040202d
mov ecx, dword [esp + 0x10]
cmp ecx, edi
mov dword [esp + 0x10], ecx
je 0x401747
cmp dword [esp + 0x14], edi
je 0x401747
call fcn.00401085
jmp 0x401747
cmp dword [esp + 0x14], edi
je 0x40172d
push 0x30
push 0x40314c
push str.Cannot_find_the_specified_process
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
or dword [esp + 0x10], 0xffffffff
jmp 0x401747
push 0x40
push 0x40314c
push str.Usage:_r_n_r_nRunFromProcess.exe__Parent_Process_Name_ID___Process_To_Run__r_n
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esi, [esp + 0x1c]
call fcn.00401299
lea esi, [esp + 0x3c]
call fcn.0040155d
lea esi, [esp + 0x1c]
call fcn.00401299
cmp dword [esp + 0x18], edi
je 0x401772
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40179f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 8], eax
call fcn.0040177f
test eax, eax
je 0x4017e0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenProcessToken
push dword [esi]
call edi
xor ebx, ebx
cmp eax, ebx
je 0x4017e0
lea ecx, [ebp - 4]
push ecx
push 0x28
push dword [ebp - 8]
call eax
cmp eax, ebx
jne 0x4017e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401854
call fcn.0040177f
test eax, eax
je 0x40180a
push str.LookupPrivilegeValueW
push dword [esi]
call edi
cmp eax, ebx
je 0x40180a
lea ecx, [ebp - 0x14]
push ecx
push str.SeDebugPrivilege
push ebx
call eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], eax
call fcn.0040177f
test eax, eax
je 0x401841
push str.AdjustTokenPrivileges
push dword [esi]
call edi
cmp eax, ebx
je 0x401841
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push dword [ebp - 8]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401e11
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [esi], 0
jne 0x401e8f
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esi], ecx
je 0x401e92
push edi
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 0x14], 0x4e
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x61
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0x12], 0x43
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 7], 0x64
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 6], 0x45
mov byte [ebp - 5], 0x78
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x68
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
pop edi
xor eax, eax
inc eax
leave
ret
Function at 0x401e94
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x144], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x140], 6
jb 0x401f3f
call fcn.00401e11
mov ebx, dword [esi + 4]
xor edx, edx
xor eax, eax
cmp ebx, edx
je 0x401f57
push edi
push 8
pop esi
mov ecx, esi
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
mov dword [ebp - 8], edx
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
push edx
push edx
push edx
push 1
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0x24
push dword [ebp + 8]
mov dword [ebp - 0x28], 0x10003
push edx
push 0x1fffff
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], 0x10004
mov dword [ebp - 0x14], 4
mov dword [ebp + 0x14], edx
call ebx
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x14]
pop edi
jmp 0x401f57
push dword [ebp + 0x14]
xor edx, edx
push 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
push edx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop esi
pop ebx
leave
ret 0x10
Function at 0x4022f0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x403140
call fcn.00402504
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x40232b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40232b
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x402343
cmp eax, 0x20b
je 0x402330
mov dword [ebp - 0x1c], edi
jmp 0x402357
cmp dword [ecx + 0x84], 0xe
jbe 0x40232b
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x402351
cmp dword [ecx + 0x74], 0xe
jbe 0x40232b
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x404e04], 0xffffffff
or dword [0x404e08], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x40401c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x404018]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x404e00], eax
call fcn.004024fe
cmp dword [section..data], edi
jne 0x4023b4
push fcn.004024fe
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004024ec
push 0x403118
push 0x403114
call sub.msvcrt.dll__initterm
mov eax, dword [0x404014]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x404010]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x403110
push 0x403104
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x40241a
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x4024d4
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x402468
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x402436
cmp ax, 0x22
jne 0x402423
cmp word [esi], 0x22
jne 0x402441
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40244f
cmp ax, 0x20
jbe 0x40243c
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x402475
movzx eax, word [ebp - 0x48]
jmp 0x402478
cmp word [esi], 0x20
jbe 0x402441
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x402468
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x402499
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x4024ce
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040253d
ret
Function at 0x401592
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00401731
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
mov ebx, str.QQGame
push str.ShowTraceInfo
push ebx
call edi
neg eax
sbb eax, eax
neg eax
mov dword [esi + 4], eax
call fcn.00401731
push eax
push 0
push str.ShowErrorInfo
push ebx
call edi
neg eax
sbb eax, eax
neg eax
mov dword [esi + 8], eax
call fcn.00401731
push eax
push 1
push str.CatchException
push ebx
call edi
neg eax
sbb eax, eax
pop edi
neg eax
mov dword [esi + 0xc], eax
pop esi
pop ebx
ret

Function at 0x4016e2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
and byte [ebp - 0x400], 0
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x400]
push dword [ebp + 8]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
leave
ret
Function at 0x401400
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
mov esi, 1
push eax
push esi
push 0
push str.SOFTWARESoftLumos
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401467
push edi
mov ecx, 0x41
mov edi, 0x40a494
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x40a494
push edx
push eax
mov eax, dword [esp + 0x18]
push str.InstPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
je 0x401469
xor esi, esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x4019f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x401a3c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call edi
test eax, eax
jne 0x401a3c
pop edi
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x401a8f
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x401a53
mov esi, 3
cmp eax, 5
jne 0x401a85
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x401a70
mov esi, 1
pop edi
mov eax, esi
pop esi
add esp, 0x9c
ret
cmp eax, 1
jne 0x401a8f
mov esi, 2
pop edi
mov eax, esi
pop esi
add esp, 0x9c
ret
cmp eax, 6
jne 0x401a8f
mov esi, 9
mov eax, esi
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x401c10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 1
lea ecx, [esp + 8]
push 0x40a490
push ecx
push str.explorer.exe
push str.open
push 0
mov byte [esp + 0x1e], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
add esp, 0x104
ret
Function at 0x405cc0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x407187
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CWnd::CWnd
lea esi, [ebx + 0x48]
xor ebp, ebp
mov dword [esp + 0x120], ebp
mov dword [esi + 4], ebp
mov dword [esi], 0x4083f0
lea edi, [ebx + 0x50]
mov dword [edi + 4], ebp
mov dword [edi], 0x4089e0
mov eax, 2
push ebp
mov byte [esp + 0x124], al
mov dword [ebx], 0x408920
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], 0xa
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], ebp
mov dword [ebx + 0x40], ebp
mov dword [ebx + 0x44], 0x97e5
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [ebx + 0x44]
push eax
push 1
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x14]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
mov edi, 0x40a03c
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Bmp0804progressbak.bmp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x2010
push ebp
push ebp
lea ecx, [esp + 0x20]
push ebp
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
cmp eax, ebp
mov dword [ebx + 0x58], eax
jne 0x405e0d
push str.Load_bmp__failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x4019c3
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x40
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
add esp, 0x40
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
loop 0x4019da
push esp
mov eax, 0x400000
mov dword [0x403160], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x401719
mov dword [ebp - 4], str.risiliency
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x403160]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.ebsement
push str.risiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403168], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a78
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a5f
pop ebp
ret 0x10

Function at 0x407ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x2d], 0xffffffa3
loop 0x407f03
mov dword [ebp + 0x10], 0x4e
and dl, byte [eax + ecx - 0x24]
out 0xc2, al
inc eax
add byte [ebx - 0x20ac4d75], cl
pop ebp
and byte [esi + 0x33], dl
not byte [edi - 0x21]
loopne 0x407f56
jne 0x407f18
ret 0xf6e3
test ah, 0x44
jnp 0x407f9f
lea esi, [ebx + 0x50]
cmp esi, ebx
jbe 0x407fba
fld qword [ebp - 0x14]
in al, dx
fadd st(4), st(0)
xor dl, al
inc eax
add bh, bl
loopne 0x407f64
les eax, [ebx + edi*2 + 0x48]
sub dword [edx - 0x14], eax
inc esi
or eax, 0x7d40c310
lea eax, [ebp - 0x14]
push eax
sub esp, 8
fstp qword [esp]
or ch, bl
sbb al, 0x24
adc eax, 0x1340c118
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x40c308]
add esp, 0xc
dec esi
fmul qword [0x40c300]
call 0x40e280
mov ebx, dword [ebp + 0x20]
mov cl, 0x97
inc eax
add al, ch
fisub dword [edx]
add byte [ebx - 0x684edfa3], cl
sub cl, al
mov byte [esi], cl
xchg byte [ebp - 4], cl
inc ecx
cmp esi, ebx
mov dword [ebp - 4], ecx
ja 0x407f81
lea eax, [ebx + 0x50]
cmp esi, edi
jae 0x40800d
mov dl, byte [esi]
pop esi
pop ebx
inc edi
inc esi
cmp esi, eax
jb 0x407fc1
jmp 0x40801d
aaa