joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x100126b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100126bf
pop dword [ebp - 8]
mov eax, 0x100126bf
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xafc5a6c2
add dword [ebp - 0x18], 0x9e8c9e89
mov dword [ebp - 0x14], 0x4ad8e813
add dword [ebp - 0x14], 0xe75a6432
mov dword [ebp - 0x10], 0xe0e96a2f
sub dword [ebp - 0x10], 0x949d2601
mov dword [ebp - 0xc], 0xd2e0570b
sub dword [ebp - 0xc], 0xd2e0570b
lea eax, [ebp - 0x18]
push eax
mov eax, 0xa87282d2
sub eax, 0x98712272
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xd3286892
add dword [ebp - 0x18], 0xa14a00c4
mov dword [ebp - 0x14], 0xf5c540b8
sub dword [ebp - 0x14], 0xb458df43
mov dword [ebp - 0x10], 0xfc46c514
sub dword [ebp - 0x10], 0x98d758a8
mov dword [ebp - 0xc], 0xcdee5a55
add dword [ebp - 0xc], 0x3211a5ab
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x6a7aa660
sub eax, 0x5a7945fc
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3406a
push 0
call eax
mov ecx, 0xcb681a75
add ecx, 0x34981ef3
xor esi, esi
add esi, eax
mov edx, 0x31aed3c6
add edx, 0xde53623a
add edx, dword [ebp - 8]
mov ebx, 0x49384621
mov dword [ebp - 4], 0x732c80f7
mov edi, dword [edx]
xor dword [ebp - 4], ecx
sub edi, ebx
sub dword [ebp - 4], 0xb5882212
mov dword [esi], edi
xor dword [ebp - 4], 0x404eec42
add esi, 0xf9a8f2a
add esi, 0xf06570da
add edx, 0x763f9759
sub edx, 0x763f9755
loop 0x100127d8
add eax, 0xd873
xor ebx, ebx
add ebx, eax
add eax, 0x8c2904fb
add eax, 0x73d6fb0a
mov ecx, 0xe40f7c96
sub ecx, 0xd40f7c96
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x402670
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e56e4
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x526060]
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 0x4026d2
mov eax, dword [esi]
jmp 0x4026d4
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 0x4026f7
mov eax, dword [esi + 0x18]
jmp 0x4026fa
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 0x40273d
xor ecx, ecx
jmp 0x40274f
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402746
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402b70
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.00402b10
mov ebx, eax
lea ecx, [ebp - 0x234]
cmp ebx, 0xffffffff
je 0x402865
sub esp, 8
mov byte [ebp - 0x21c], 0x2e
lea eax, [ebp - 0x21c]
push eax
call fcn.00402b10
lea ecx, [ebp - 0x234]
cmp eax, ebx
jl 0x402865
sub eax, ebx
dec eax
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x3e8]
push eax
call fcn.004028b0
push eax
mov ecx, esi
call fcn.00402960
lea ecx, [ebp - 0x3e8]
call fcn.004028f0
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.004c40b0
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 0x402859
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 0x402841
xor ecx, ecx
jmp 0x40284f
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402846
sub ecx, ebx
push ecx
push edx
lea ecx, [esi + 0x18]
call fcn.00402b70
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x234]
call fcn.004028f0
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.00412aed
mov esp, ebp
pop ebp
ret
Function at 0x404740
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e59bb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x526060]
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.00456a10
push 4
call fcn.00456d30
push 0x84
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004c40b0
lea eax, [ebp - 0x94]
push eax
call fcn.004515a0
add esp, 0x18
push str.inskin_
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.00458330
call fcn.004517d0
sub eax, 1
je 0x404843
sub eax, 3
jne 0x404857
lea ecx, [ebp - 0x94]
call fcn.004e3050
push eax
call fcn.00456ce0
add esp, 4
push str.ZIPRES
push 0x81
call fcn.004517b0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x404857
push esi
call fcn.004517b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40483a
push esi
call fcn.004517b0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x40483a
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00456d40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x404857
lea ecx, [ebp - 0x94]
call fcn.004e3050
push eax
call fcn.00456ce0
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.00458180
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.00412aed
mov esp, ebp
pop ebp
ret
Function at 0x405700
Capabilities:
Get common file path
Get startup folder
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x526060]
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 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x515260
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x515264
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 0x405783
xor ecx, ecx
jmp 0x40579f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405790
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00401d30
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00412aed
mov esp, ebp
pop ebp
ret 4

Function at 0x4057d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5b76
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x526060]
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 str.ZZDS_PC
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push str.Software_s
push eax
call fcn.00407b40
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 0x4058cb
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.0040b250
mov esi, dword [ebp - 0x220]
cmp dword [ebp - 0x230], 0
jne 0x4058f4
push edi
call fcn.00405700
test esi, esi
je 0x4058e5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x22c]
cmp ecx, 8
jb 0x40592b
inc ecx
push ecx
jmp 0x40591a
lea eax, [ebp - 0x240]
mov ecx, edi
push eax
call fcn.00404e50
test esi, esi
je 0x40590d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x40592b
inc eax
push eax
push dword [ebp - 0x240]
lea ecx, [ebp - 0x240]
call fcn.00401e90
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.00412aed
mov esp, ebp
pop ebp
ret 4
Function at 0x4061f0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5c96
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x526060]
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 str.ZhuanZhuan.exe
add esi, 4
lea eax, [ebp - 0x640]
push esi
push eax
call fcn.00407c00
add esp, 0xc
push str.uninst.exe
lea eax, [ebp - 0x658]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.00407c00
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push 0x515260
push eax
call esi
push 0x5153f8
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
call fcn.0040bea0
push 0x5153f8
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_s.lnk
push eax
call fcn.00407b40
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.0040bc40
push 0x5153f8
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x515424
push eax
call fcn.00407b40
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.0040bc40
push 0x5153f8
lea eax, [ebp - 0x628]
push str._s.lnk
push eax
call fcn.00407b40
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 str._s_s
push eax
call fcn.00407b40
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.0040bc40
mov eax, dword [ebp - 0x644]
add esp, 0x18
cmp eax, 8
jb 0x4063d1
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.00401e90
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 0x40640c
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00401e90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412aed
mov esp, ebp
pop ebp
ret
Function at 0x407030
Capabilities:
Create process on windows
Get system information on windows
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x844
mov eax, dword [0x526060]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
push str.CInstallCtrl::InstallFinish____r_n
mov esi, ecx
call ebx
mov ecx, esi
call fcn.004061f0
mov ecx, esi
call fcn.00406430
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp + 0x24]
cmp ax, 9
je 0x40708a
cmp ax, 6
je 0x40708a
xor eax, eax
jmp 0x40708f
mov eax, 1
test eax, eax
mov dword [esp + 0x20], 7
mov edx, str.zzdsMenu_64.dll
mov dword [esp + 0x1c], 0
mov ecx, str.zzdsMenu_32.dll
cmove edx, ecx
xor eax, eax
mov word [esp + 0xc], ax
cmp word [edx], ax
jne 0x4070be
xor ecx, ecx
jmp 0x4070d2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4070c3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00401d30
push str.CInstallCtrl::InstallDll____r_n
call ebx
cmp dword [esp + 0x20], 8
lea ecx, [esp + 0xc]
cmovae ecx, dword [esp + 0xc]
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x4070ff
mov eax, dword [esi]
jmp 0x407101
mov eax, esi
push ecx
push eax
lea eax, [esp + 0x50]
push str._s___s_s_
push eax
call fcn.00407e40
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esp + 0x58]
add esp, 0x10
push 0
push 0
push eax
push str.regsvr32.exe
push str.open
push 0
call edi
mov eax, dword [esp + 0x20]
cmp eax, 8
jb 0x40714a
inc eax
lea ecx, [esp + 0xc]
push eax
push dword [esp + 0x10]
call fcn.00401e90
push 0xf
xor eax, eax
mov dword [esp + 0x24], 7
push str.ZZWordAddin.dll
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00401d30
push str.CInstallCtrl::InstallDll____r_n
call ebx
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x40718e
mov esi, dword [esi]
push eax
push esi
lea eax, [esp + 0x50]
push str._s___s_s_
push eax
call fcn.00407e40
add esp, 0x10
lea eax, [esp + 0x48]
push 0
push 0
push eax
push str.regsvr32.exe
push str.open
push 0
call edi
mov eax, dword [esp + 0x20]
cmp eax, 8
jb 0x4071d1
inc eax
lea ecx, [esp + 0xc]
push eax
push dword [esp + 0x10]
call fcn.00401e90
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00412aed
mov esp, ebp
pop ebp
ret
Function at 0x4071f0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5e8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc84
mov eax, dword [0x526060]
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, ecx
mov esi, dword [ebp + 8]
push str.CInstallCtrl::UnInstallOldDll____r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0xc3c]
push eax
call fcn.00407d90
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc3c]
cmp dword [ebp - 0xc28], 8
cmovae eax, dword [ebp - 0xc3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4073d9
cmp dword [ebp - 0xc28], 8
lea eax, [ebp - 0xc3c]
cmovae eax, dword [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc24]
push str._u__s___s_
push eax
call fcn.00407e40
add esp, 0xc
lea eax, [ebp - 0xc74]
push 0x38
push 0
push eax
call fcn.004c40b0
add esp, 0xc
mov dword [ebp - 0xc78], 0x3c
lea eax, [ebp - 0xc24]
mov dword [ebp - 0xc74], 0x40
mov dword [ebp - 0xc64], eax
lea eax, [ebp - 0xc78]
mov dword [ebp - 0xc70], 0
push eax
mov dword [ebp - 0xc6c], 0
mov dword [ebp - 0xc68], str.regsvr32.exe
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xc5c], 5
mov dword [ebp - 0xc58], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xbb8
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004c40b0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.004c40b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0xc90]
push eax
call fcn.00404ff0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x40737d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push str._s_s.dll
push eax
call fcn.00407b40
mov eax, dword [ebp - 0xc7c]
add esp, 0x10
cmp eax, 8
jb 0x4073b7
inc eax
lea ecx, [ebp - 0xc90]
push eax
push dword [ebp - 0xc90]
call fcn.00401e90
cmp dword [ebp - 0xc28], 8
lea ecx, [ebp - 0x424]
lea eax, [ebp - 0xc3c]
cmovae eax, dword [ebp - 0xc3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0xc28]
cmp eax, 8
jb 0x4073f7
inc eax
lea ecx, [ebp - 0xc3c]
push eax
push dword [ebp - 0xc3c]
call fcn.00401e90
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.00412aed
mov esp, ebp
pop ebp
ret 4
Function at 0x408f30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x526060]
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.004c40b0
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 0x408f95
movzx eax, si
add eax, 0x41
push eax
lea eax, [ebp - 0x44]
push str._C:_
push eax
call fcn.00409e00
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x408f95
inc edi
inc esi
cmp esi, 0x20
jb 0x408f60
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412aed
mov esp, ebp
pop ebp
ret

Function at 0x408fb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x409021
push ebx
call fcn.00404f40
mov ebx, eax
lea eax, [ebp + 0xc]
push eax
push 0
push esi
mov ecx, dword [ebx]
push 0
push 0
push dword [ebx + 4]
or ecx, 2
push ecx
call fcn.004c8a54
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jle 0x409020
lea esi, [eax + 1]
push edi
push esi
call fcn.004130ee
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push esi
push edi
push dword [ebx + 4]
push dword [ebx]
call fcn.004c8a78
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.004130e9
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x4090f0
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.00408c30
test byte [ebp + 8], 1
je 0x409145
push 0x794
push esi
call fcn.00412b31
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x409150
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6038
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x526060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.CMainWnd::InitWindow____r_n
call ebx
lea edi, [esi + 0x30]
push str.closebtn
mov ecx, edi
call fcn.00450c70
push str.wizardTab
mov ecx, edi
mov dword [esi + 0x770], eax
call fcn.00450c70
push str.licenseshow
mov ecx, edi
mov dword [esi + 0x774], eax
call fcn.00450c70
push str.showPathOpt
mov ecx, edi
mov dword [esi + 0x778], eax
call fcn.00450c70
push str.moreconfiginfo
mov ecx, edi
mov dword [esi + 0x77c], eax
call fcn.00450c70
push str.editDir
mov ecx, edi
mov dword [esi + 0x780], eax
call fcn.00450c70
mov dword [esi + 0x784], eax
call fcn.00405010
lea eax, [ebp - 0x24]
push eax
call fcn.004057d0
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x409215
mov edx, dword [edx]
mov ecx, dword [esi + 0x784]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x40923d
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00401e90
push str.progress_tip
mov ecx, edi
call fcn.00450c70
push str.Progress
mov ecx, edi
mov dword [esi + 0x788], eax
call fcn.00450c70
mov dword [esi + 0x78c], eax
mov esi, dword [esi + 4]
call fcn.00405010
push str.CMainWnd::InitLicense____r_n
mov dword [eax + 0x1c], esi
call ebx
push str.editLicense
mov ecx, edi
call fcn.00450c70
mov ebx, eax
test ebx, ebx
je 0x4092a2
push ecx
call fcn.00409af0
mov esi, eax
test esi, esi
je 0x4092a2
mov edx, dword [ebx]
mov ecx, ebx
push esi
call dword [edx + 0x2c]
push esi
call fcn.004130e9
add esp, 4
call fcn.00408f30
mov esi, eax
push esi
push str.drives_:__d__r_n
call fcn.00408fb0
add esp, 8
cmp esi, 1
jne 0x4092d3
push str.btnInstall
mov ecx, edi
call fcn.00450c70
test eax, eax
je 0x4092d3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret