Function at 0x40d130
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500d61
mov eax, dword fs:[0]
push eax
sub esp, 0x154
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 esi, ecx
push str.CInstallCtrl::RunMainSoft____r_n
mov dword [ebp - 0x128], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 6
xor eax, eax
mov dword [ebp - 0xf8], 7
push 0x5331ec
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], ax
call fcn.004020c0
lea eax, [ebp - 0x10c]
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 - 0xf8]
cmp eax, 8
jb 0x40d1e2
inc eax
lea ecx, [ebp - 0x10c]
push eax
push dword [ebp - 0x10c]
call fcn.004024e0
push str.ZhuanZhuan.exe
add esi, 4
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004086b0
add esp, 0xc
push str.ZhuanZhuan.exe
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.004086b0
add esp, 0xc
push 0xb0
lea eax, [ebp - 0xf4]
push 0
push eax
call fcn.004d8530
add esp, 0xc
mov dword [ebp - 0xf4], 0x532d6c
mov dword [ebp - 0xe4], 0x532d7c
mov byte [ebp - 4], 8
lea eax, [ebp - 0xdc]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x128], 1
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x90], 0x50
movlpd qword [ebp - 0xec], xmm0
call fcn.004084e0
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe8], eax
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xf8], eax
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea eax, [ebp - 0xdc]
mov ecx, eax
mov dword [ebp - 0x12c], eax
call fcn.00408420
mov dword [ebp - 0xdc], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
push 0x53323c
push ecx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xf
push eax
push ecx
lea eax, [ebp - 0xe4]
push 0x533240
push eax
call fcn.00408840
add esp, 0xc
push eax
call fcn.00408ba0
add esp, 0xc
push eax
call fcn.00408840
push eax
call fcn.00408b00
add esp, 0xc
push 0x533220
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push ecx
push str.cmdLine__
push eax
call fcn.00408840
add esp, 0xc
push eax
call fcn.00408ba0
add esp, 0xc
push eax
call fcn.00408840
add esp, 8
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0xf4]
push eax
call fcn.00406a30
mov edx, eax
mov byte [ebp - 4], 0x10
cmp dword [edx + 0x14], 8
jb 0x40d3ba
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x110], 7
mov dword [ebp - 0x114], 0
mov word [ebp - 0x124], ax
cmp word [edx], ax
jne 0x40d3e0
xor ecx, ecx
jmp 0x40d3f4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d3e5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x124]
call fcn.004020c0
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x11
push eax
call fcn.004055a0
mov ecx, eax
call fcn.004056d0
mov eax, dword [ebp - 0x110]
cmp eax, 8
jb 0x40d436
inc eax
lea ecx, [ebp - 0x124]
push eax
push dword [ebp - 0x124]
call fcn.004024e0
xor eax, eax
mov byte [ebp - 4], 0xf
mov word [ebp - 0x124], ax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x110], 7
mov dword [ebp - 0x114], 0
cmp eax, 8
jb 0x40d475
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.004024e0
push 0xc
xor eax, eax
mov dword [ebp - 0xf8], 7
push 0x533254
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], ax
call fcn.004020c0
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x12
push eax
call fcn.004055a0
mov ecx, eax
call fcn.004056d0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xf8]
cmp eax, 8
jb 0x40d4dd
inc eax
lea ecx, [ebp - 0x10c]
push eax
push dword [ebp - 0x10c]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0xf8], 7
push eax
push 0x532808
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], ax
call fcn.004020c0
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x44]
call fcn.004166e0
mov ecx, dword [ebp - 0xf8]
mov edi, eax
cmp ecx, 8
jb 0x40d539
inc ecx
push ecx
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
call fcn.004024e0
test edi, edi
jne 0x40d659
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004055a0
push esi
mov dword [eax + 0x12c], 0x5f
lea eax, [ebp - 0x15c]
push eax
call fcn.004045b0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x124]
push 0xc
xor eax, eax
mov dword [ebp - 0x110], 7
push 0x533270
mov dword [ebp - 0x114], edi
mov word [ebp - 0x124], ax
call fcn.004020c0
push esi
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004087a0
add esp, 0xc
push eax
mov byte [ebp - 4], 0x15
call fcn.004055a0
mov ecx, eax
call fcn.004056d0
mov eax, dword [ebp - 0x130]
cmp eax, 8
jb 0x40d5e3
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x134], 0
cmp eax, 8
jb 0x40d61e
inc eax
lea ecx, [ebp - 0x124]
push eax
push dword [ebp - 0x124]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x114], 0
cmp eax, 8
jb 0x40d659
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.004024e0
lea ecx, [ebp - 0x8c]
call fcn.00406a50
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.0041ba11
mov eax, dword [ebp - 0x18]
add esp, 4
cmp eax, 8
jb 0x40d696
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40d6bf
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
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