joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f30
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffdf4
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3cc], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x3d0], esi
mov dword [esi + 0x10], 0
jb 0x402f92
mov eax, dword [esi]
jmp 0x402f94
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
cmp dword [esi + 0x2c], 0x10
jb 0x402fb7
mov eax, dword [esi + 0x18]
jmp 0x402fba
lea eax, [esi + 0x18]
mov byte [eax], 0
push 0x104
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
jne 0x402ffd
xor ecx, ecx
jmp 0x40300f
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403006
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402250
sub esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x21c], 0x5f
lea ecx, [ebp - 0x234]
push eax
call fcn.00403330
mov ebx, eax
lea ecx, [ebp - 0x234]
cmp ebx, 0xffffffff
je 0x403125
sub esp, 8
mov byte [ebp - 0x21c], 0x2e
lea eax, [ebp - 0x21c]
push eax
call fcn.00403330
lea ecx, [ebp - 0x234]
cmp eax, ebx
jl 0x403125
sub eax, ebx
dec eax
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x3e8]
push eax
call fcn.00403170
push eax
mov ecx, esi
call fcn.00403220
lea ecx, [ebp - 0x3e8]
call fcn.004031b0
lea eax, [ebp - 0x3c8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xff
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0xff
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x403119
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
cmp byte [edx], 0
jne 0x403101
xor ecx, ecx
jmp 0x40310f
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403106
sub ecx, ebx
push ecx
push edx
lea ecx, [esi + 0x18]
call fcn.00402250
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x234]
call fcn.004031b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x4035e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffe6a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0041b50a
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4036a0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004d79b2
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x543d70
push eax
call fcn.004d7b6b
push edi
push esi
call fcn.0041b86a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4
Function at 0x4056d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500251
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc8], 0
mov edi, dword [esi + 0x130]
push ebx
push dword [edi + 4]
push edi
call fcn.004096e0
mov ecx, 0x7fffffe
mov edx, eax
sub ecx, dword [esi + 0x134]
cmp ecx, 1
jae 0x405739
push str.list_T__too_long
call fcn.0041b344
inc dword [esi + 0x134]
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
push 0xb0
push 0
mov dword [eax], edx
lea eax, [ebp - 0xc4]
push eax
call fcn.004d8530
add esp, 0xc
mov dword [ebp - 0xc4], 0x532d6c
mov dword [ebp - 0xb4], 0x532d7c
mov dword [ebp - 4], 0
lea eax, [ebp - 0xac]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 1
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x60], 0x50
movlpd qword [ebp - 0xbc], xmm0
call fcn.004084e0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb4], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb8], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xc8], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea eax, [ebp - 0xac]
mov ecx, eax
mov dword [ebp - 0xcc], eax
call fcn.00408420
mov dword [ebp - 0xac], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 7
push str.CBugReport::SetStateMsg__
push eax
call fcn.00408840
push eax
call fcn.00408b00
add esp, 0xc
push ebx
push eax
call fcn.00408ba0
push eax
call fcn.00408b00
add esp, 0xc
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0xc4]
push eax
call fcn.00406a30
cmp dword [eax + 0x14], 8
jb 0x4058aa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xd0]
cmp eax, 8
jb 0x4058cf
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.004024e0
lea ecx, [ebp - 0x5c]
call fcn.00406a50
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 8
push eax
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0041ba11
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4
Function at 0x406300
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5001d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5470bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x64], 8
lea esi, [edi + 0x50]
jb 0x406336
mov eax, dword [esi]
jmp 0x406338
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 3
xor eax, eax
mov dword [ebp - 0x10], 7
push 0x532c20
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.004020c0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push ecx
mov ecx, dword [edi + 4]
lea edx, [edi + 8]
push esi
call fcn.00401750
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, 8
jb 0x406392
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.004024e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5003f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5470bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x406795
cmp dword [edi + 0x64], 8
jb 0x40675a
mov eax, dword [edi + 0x50]
jmp 0x40675d
lea eax, [edi + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406795
push 0
lea edx, [edi + 0x50]
lea ecx, [ebp - 0x24]
call fcn.004175d0
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00418d90
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004031b0
lea ecx, [edi + 8]
call fcn.00418ea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fff76
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5470bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004264d3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0041b767
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ac20
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50093b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.InitResource____r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0046adc0
push 4
call fcn.0046b0e0
push 0x84
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004d8530
lea eax, [ebp - 0x94]
push eax
call fcn.00465950
add esp, 0x18
push str.inskin_
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.0046c770
call fcn.00465b80
sub eax, 1
je 0x40ad23
sub eax, 3
jne 0x40ad37
lea ecx, [ebp - 0x94]
call fcn.0046cd10
push eax
call fcn.0046b090
add esp, 4
push str.ZIPRES
push 0x81
call fcn.00465b60
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40ad37
push esi
call fcn.00465b60
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ad1a
push esi
call fcn.00465b60
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x40ad1a
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0046b0f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x40ad37
lea ecx, [ebp - 0x94]
call fcn.0046cd10
push eax
call fcn.0046b090
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.0046c5c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x40c480
Capabilities:
Get common file path
Get startup folder
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push str.CInstallCtrl::GetModeInstallPath____r_n
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x532988
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.ZZDS
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x40c519
xor ecx, ecx
jmp 0x40c531
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c522
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004020c0
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4
Function at 0x40c560
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500b76
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push str.CInstallCtrl::GetOldInstallPath____r_n
mov dword [ebp - 0x248], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movq qword [ebp - 0x228], xmm0
mov esi, reloc.WS2_32.dll_bind
mov dword [ebp - 0x220], eax
mov dword [ebp - method.Registry.virtual_0], vtable.Registry.0
mov dword [ebp - 0x224], reloc.WS2_32.dll_bind
mov dword [ebp - 0x220], esi
push 0x208
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x21c]
push str.ZZDS_PC
push str.Software_s
push eax
call fcn.00408e20
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c670
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x240]
push eax
push str.InstPath
call fcn.004167e0
mov esi, dword [ebp - 0x220]
cmp dword [ebp - 0x230], 0
jne 0x40c699
push edi
call fcn.0040c480
test esi, esi
je 0x40c68a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x22c]
cmp ecx, 8
jb 0x40c6d0
inc ecx
push ecx
jmp 0x40c6bf
lea eax, [ebp - 0x240]
mov ecx, edi
push eax
call fcn.00406900
test esi, esi
je 0x40c6b2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x40c6d0
inc eax
push eax
push dword [ebp - 0x240]
lea ecx, [ebp - 0x240]
call fcn.004024e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4
Function at 0x40d6e0
Capabilities:
Get common file path
Get startup folder
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500db1
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.CInstallCtrl::CreateLnk____r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 7
xor eax, eax
mov dword [ebp - 0x65c], 7
push 0x5332ac
lea ecx, [ebp - 0x670]
mov dword [ebp - 0x660], 0
mov word [ebp - 0x670], ax
call fcn.004020c0
lea eax, [ebp - 0x670]
mov dword [ebp - 4], 0
push eax
call fcn.004055a0
mov ecx, eax
call fcn.004056d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x65c]
cmp eax, 8
jb 0x40d787
inc eax
lea ecx, [ebp - 0x670]
push eax
push dword [ebp - 0x670]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x65c], 7
push str.ZhuanZhuan.exe
mov word [ebp - 0x670], ax
add esi, 4
lea eax, [ebp - 0x640]
mov dword [ebp - 0x660], 0
push esi
push eax
call fcn.004086b0
add esp, 0xc
push str.uninst.exe
lea eax, [ebp - 0x658]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.004086b0
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push 0x532988
push eax
call esi
push 0x5332d4
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
call fcn.00418220
push 0x5332d4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_s.lnk
push eax
call fcn.00408e20
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x640]
cmovae esi, dword [ebp - 0x640]
lea ecx, [ebp - 0x640]
cmovae ecx, dword [ebp - 0x640]
push eax
push esi
call fcn.00417fc0
push 0x5332d4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x533300
push eax
call fcn.00408e20
cmp dword [ebp - 0x644], 8
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x658]
cmovae esi, dword [ebp - 0x658]
lea ecx, [ebp - 0x658]
cmovae ecx, dword [ebp - 0x658]
push eax
push esi
call fcn.00417fc0
push 0x5332d4
lea eax, [ebp - 0x628]
push str._s.lnk
push eax
call fcn.00408e20
add esp, 0x3c
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x533328
push eax
call fcn.00408e20
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x640]
cmovae esi, dword [ebp - 0x640]
lea ecx, [ebp - 0x640]
cmovae ecx, dword [ebp - 0x640]
push eax
push esi
call fcn.00417fc0
mov eax, dword [ebp - 0x644]
add esp, 0x18
cmp eax, 8
jb 0x40d94c
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x648], 0
cmp eax, 8
jb 0x40d987
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.004024e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
Function at 0x412440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fff76
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5470bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004264d3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0041b767
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4144e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.004d8530
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
xor esi, esi
nop
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
je 0x414545
movzx eax, si
add eax, 0x41
push eax
lea eax, [ebp - 0x44]
push str._C:_
push eax
call fcn.004154d0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x414545
inc edi
inc esi
cmp esi, 0x20
jb 0x414510
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret

Function at 0x414560
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4145c9
lea ecx, [ebp + 0xc]
push ecx
push 0
push eax
push 0
push 0
call fcn.00403400
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.004ddf92
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jle 0x4145c9
push esi
lea esi, [eax + 1]
push edi
push esi
call fcn.00426ac3
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push esi
push edi
call fcn.0040b710
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.004269d7
add esp, 4
pop edi
pop esi
pop ebp
ret
Function at 0x414690
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push str.CMainWnd::CMainWnd____r_n
mov dword [esi], vtable.CMainWnd.2.0
mov dword [esi + 0x10], vtable.CMainWnd.5.0
mov dword [esi + 0x20], vtable.CMainWnd.1.0
mov dword [esi + 0x24], vtable.CMainWnd.3.0
mov dword [esi + 0x28], vtable.CMainWnd.0
mov dword [esi + 0x2c], vtable.CMainWnd.4.0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.004141e0
test byte [ebp + 8], 1
je 0x4146e5
push 0x794
push esi
call fcn.00426506
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4