Function at 0x412390
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x598]
sub esp, 0x598
push 0xffffffffffffffff
push 0x4483e7
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x461054]
xor eax, ebp
mov dword [ebp + 0x594], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0x5a8]
mov dword [ebp - 0x18], 0
mov dword [ebp + 0x164], 0
xor eax, eax
mov dword [ebp + 0x174], 0
mov dword [ebp + 0x178], 7
mov word [ebp + 0x164], ax
mov dword [ebp - 4], 1
mov dword [ebp + 0x11c], eax
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x130], 7
mov word [ebp + 0x11c], ax
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], al
mov byte [ebp - 0x1d], al
mov dword [ebp + 0x134], eax
mov ecx, edx
mov dword [ebp + 0x144], eax
mov dword [ebp + 0x148], 7
mov word [ebp + 0x134], ax
mov byte [ebp - 4], 3
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412453
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0x134]
call fcn.0040ccc0
mov edx, dword [0x44d0e4]
mov ecx, edx
shr ecx, 1
mov eax, dword [0x44ba9c]
mov dword [ebp + 0x14c], eax
mov ax, word [0x44baa0]
mov word [ebp + 0x150], ax
mov al, byte [0x44baa2]
mov dword [ebp + 0x160], 0xf
mov dword [ebp + 0x15c], 7
mov byte [ebp + 0x152], al
mov byte [ebp + 0x153], 0
push ecx
push edx
lea eax, [ebp + 0x14c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp + 0x40]
call fcn.0041dd80
mov edx, dword [ebp + 0x160]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x41250a
mov ecx, dword [ebp + 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412500
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4135b4
push edx
push ecx
call fcn.0042c7bf
add esp, 8
lea eax, [ebp - 0x1c]
mov dword [ebp + 0x15c], 0
push eax
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x160], 0xf
mov byte [ebp + 0x14c], 0
call fcn.0041edd0
mov esi, eax
lea eax, [ebp - 0x13]
push eax
call fcn.004193a0
add esp, 4
mov ecx, esi
push 0x44baa4
push eax
push 0x44babc
call fcn.0041e460
mov esi, eax
lea eax, [ebp + 0x164]
push eax
call fcn.00405770
add esp, 4
mov ecx, esi
push str.directory_to_install_EntryProtect
push eax
push 0x44bae8
call fcn.0041e460
mov esi, eax
lea eax, [ebp + 0x11c]
push eax
call fcn.00405770
add esp, 4
mov ecx, esi
push 0x44baf4
push eax
push 0x44bb18
call fcn.0041e460
mov esi, eax
lea eax, [ebp - 0x12]
push eax
call fcn.004193a0
add esp, 4
mov ecx, esi
push str.will_not_cause_UAC_prompt..._an_exit_code_of_5L_will_be_returned_if_administrator_privileges_are_required
push eax
push str.nouac
call fcn.0041e460
mov esi, eax
lea eax, [ebp - 0x1d]
push eax
call fcn.004193a0
add esp, 4
mov ecx, esi
push str.force_reinstall_even_if_the_installed_version_has_the_same_or_higher_version_number
push eax
push str.force
call fcn.0041e460
lea ecx, [ebp + 0xfc]
mov byte [ebp - 4], 0xa
call fcn.0042a860
lea eax, [ebp + 0x134]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x188]
push eax
call fcn.004299b0
add esp, 8
push eax
lea ecx, [ebp + 0x52c]
mov byte [ebp - 4], 0xc
call fcn.00405860
mov esi, eax
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.004282a0
lea eax, [ebp + 0x40]
push 0x1019
mov ecx, esi
mov dword [esi + 0x60], eax
call fcn.004282b0
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.00410fc0
lea ecx, [ebp + 0xfc]
mov byte [ebp - 4], 0xe
push ecx
push eax
call fcn.0042c1f0
add esp, 8
lea ecx, [ebp]
call fcn.00407990
lea ecx, [ebp + 0x52c]
call fcn.00408700
lea ecx, [ebp + 0x188]
mov byte [ebp - 4], 0xb
call fcn.00408210
lea eax, [ebp + 0xfc]
push eax
call fcn.0042af20
add esp, 4
mov eax, 0x22
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
mov dword [ecx], 0
mov dword [ecx + 0x10], 1
mov word [ecx], ax
lea eax, [ecx + 2]
push 1
push eax
push ecx
call fcn.00402e30
add esp, 0x10
lea eax, [ebp + 0x164]
mov esi, 1
mov dword [ebp - 0x18], esi
push eax
call fcn.00404d10
mov eax, dword [ebp + 0x114]
add esp, 0x18
push dword [eax + 4]
lea eax, [ebp + 0x114]
push eax
mov ecx, eax
call fcn.00402620
push 0x40
push dword [ebp + 0x114]
call fcn.0042c7bf
mov eax, dword [ebp + 0x10c]
add esp, 8
push dword [eax + 4]
lea eax, [ebp + 0x10c]
push eax
mov ecx, eax
call fcn.00402790
push 0x28
push dword [ebp + 0x10c]
call fcn.0042c7bf
mov eax, dword [ebp + 0x104]
add esp, 8
push dword [eax + 4]
lea eax, [ebp + 0x104]
push eax
mov ecx, eax
call fcn.00402670
push 0x38
push dword [ebp + 0x104]
call fcn.0042c7bf
add esp, 8
mov dword [ebp - 4], 9
cmp byte [ebp - 0x13], 0
jne 0x4131d3
call fcn.0040f400
xor ebx, ebx
mov byte [ebp - 0x11], al
push 0x44bc04
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00406040
push 0x44bc20
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x19
call fcn.00406040
cmp byte [ebp - 0x11], bl
mov byte [ebp - 4], 0x1a
sete al
movzx eax, al
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x84]
push eax
call fcn.004147b0
add esp, 0x10
lea ecx, [ebp + 0x28]
call fcn.00407b10
lea ecx, [ebp + 0x10]
call fcn.00407b10
mov ecx, dword [ebp + 0x174]
test ecx, ecx
jne 0x41294e
lea eax, [ebp + 0x14c]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0040f6d0
add esp, 4
mov edi, 0x41
mov dword [ebp - 0x18], edi
cmp dword [ebp + 0x15c], ebx
jne 0x4128b4
lea eax, [ebp + 0x17c]
push eax
lea ecx, [ebp + 0x84]
call fcn.00413b10
mov byte [ebp - 4], 0x1f
cmp dword [ebp + 0x18c], ebx
jne 0x412875
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push eax
push 0xf8
push str.install.cpp
lea eax, [ebp + 0x194]
push 0x44b900
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
call fcn.004135e0
test eax, eax
je 0x412863
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x412863
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp + 0x18c], 0
je 0x4128a9
lea eax, [ebp + 0x17c]
push eax
lea ecx, [ebp + 0x104]
call fcn.00405fb0
lea eax, [ebp + 0x104]
mov edi, 0xc1
push eax
lea ecx, [ebp + 0x14c]
call fcn.00408c90
lea ecx, [ebp + 0x104]
call fcn.00407b10
lea ecx, [ebp + 0x17c]
call fcn.00407b10
lea eax, [ebp + 0x14c]
push eax
lea ecx, [ebp + 0x164]
call fcn.00408c90
lea ecx, [ebp + 0x14c]
mov byte [ebp - 4], 0x1d
and edi, 0xffffffbf
call fcn.00407b10
cmp dword [ebp + 0x174], 0
jne 0x412a59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push eax
push 0xa2
push str.install.cpp
lea eax, [ebp + 0x194]
push 0x44b900
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
call fcn.004135e0
test eax, eax
je 0x412940
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x412940
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x412a59
cmp dword [ebp + 0x178], 8
lea eax, [ebp + 0x164]
mov dword [ebp + 0x17c], 0
cmovae eax, dword [ebp + 0x164]
mov dword [ebp + 0x15c], eax
push ecx
xor edx, edx
mov dword [ebp + 0x18c], 0
push eax
lea ecx, [ebp + 0x17c]
mov dword [ebp + 0x190], 7
mov word [ebp + 0x17c], dx
mov byte [ebp - 4], 0x20
call fcn.0040ccc0
mov dword [ebp - 0x18], 0x301
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp + 0x17c]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp + 0x14c]
mov dword [ebp - 0x30], 0x461014
push eax
call fcn.00411980
add esp, 0xc
mov dword [ebp - 0x18], 0x701
cmp dword [ebp - 0x34], 0
jne 0x4135b9
lea eax, [ebp + 0x14c]
push eax
lea ecx, [ebp + 0x104]
call fcn.00405fb0
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp + 0x164]
call fcn.00408c90
lea ecx, [ebp + 0x104]
call fcn.00407b10
lea ecx, [ebp + 0x14c]
mov edi, 0xb01
call fcn.00407b10
mov eax, dword [ebp + 0x190]
cmp eax, 8
jb 0x412a52
inc eax
lea ecx, [ebp + 0x17c]
push eax
push dword [ebp + 0x17c]
call fcn.0040db60
jmp 0x412a52
mov dword [ebp - 4], 0x1d
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x84]
call fcn.00415390
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 4], 0x25
je 0x412a78
mov byte [ebp - 0x18], 1
jmp 0x412a9e
lea ecx, [ebp + 0x84]
call fcn.00415ae0
cmp edx, 0x6000b
ja 0x412a9a
jb 0x412a94
cmp eax, 0x22f0a
jae 0x412a9a
mov byte [ebp - 0x18], 1
jmp 0x412a9e
mov byte [ebp - 0x18], 0
cmp dword [ebp + 0x178], 8
lea eax, [ebp + 0x164]
mov dword [ebp + 0xbc], 0
cmovae eax, dword [ebp + 0x164]
mov dword [ebp + 0x15c], eax
push dword [ebp + 0x174]
xor ecx, ecx
mov dword [ebp + 0xcc], 0
mov word [ebp + 0xbc], cx
lea ecx, [ebp + 0xbc]
push eax
mov dword [ebp + 0xd0], 7
mov byte [ebp - 4], 0x25
call fcn.0040ccc0
or edi, 0x3000
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 0x11c]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp + 0xd4]
call fcn.00405fb0
lea eax, [ebp + 0xbc]
mov byte [ebp - 4], 0x28
push eax
lea eax, [ebp + 0x188]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402820
mov esi, dword [ebp + 0x190]
cmp byte [esi + 0xd], 0
jne 0x412b52
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0xbc]
call fcn.00413a30
test al, al
jne 0x412b52
mov eax, dword [ebp - 0x28]
jmp 0x412b57
mov eax, dword [ebp - 0x28]
mov esi, eax
cmp esi, eax
sete al
cmp byte [ebp - 0x18], 0
mov byte [ebp - 0x1e], al
jne 0x412b7c
test al, al
jne 0x412b7c
lea ecx, [ebp + 0x84]
call fcn.00413a20
test al, al
jne 0x412f74
cmp byte [ebp - 0x11], 0
jne 0x412cdf
cmp byte [ebp - 0x12], 0
je 0x412c6a
lea ecx, [ebp + 0xbc]
call fcn.00408520
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, eax
call fcn.00402740
push 0x40
push dword [ebp - 0x28]
call fcn.0042c7bf
add esp, 8
lea ecx, [ebp + 0x84]
call fcn.00413940
lea ecx, [ebp + 0x40]
call fcn.004089c0
mov eax, dword [ebp + 0x148]
cmp eax, 8
jb 0x412bea
inc eax
lea ecx, [ebp + 0x134]
push eax
push dword [ebp + 0x134]
call fcn.0040db60
xor eax, eax
mov dword [ebp + 0x144], 0
mov word [ebp + 0x134], ax
mov eax, dword [ebp + 0x130]
mov dword [ebp + 0x148], 7
cmp eax, 8
jb 0x412c25
inc eax
lea ecx, [ebp + 0x11c]
push eax
push dword [ebp + 0x11c]
call fcn.0040db60
xor eax, eax
mov dword [ebp + 0x12c], 0
mov word [ebp + 0x11c], ax
mov eax, dword [ebp + 0x178]
mov dword [ebp + 0x130], 7
cmp eax, 8
jb 0x412c60
inc eax
lea ecx, [ebp + 0x164]
push eax
push dword [ebp + 0x164]
call fcn.0040db60
mov eax, 5
jmp 0x41358f
lea eax, [ebp + 0x134]
push eax
call fcn.00404960
add esp, 4
lea ecx, [ebp + 0xbc]
mov esi, eax
call fcn.00408520
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push dword [ecx + 4]
mov ecx, eax
push eax
call fcn.00402740
push 0x40
push dword [ebp - 0x28]
call fcn.0042c7bf
add esp, 8
lea ecx, [ebp + 0x84]
call fcn.00413940
lea ecx, [ebp + 0x40]
call fcn.004089c0
lea ecx, [ebp + 0x134]
call fcn.00407b10
lea ecx, [ebp + 0x11c]
call fcn.00407b10
lea ecx, [ebp + 0x164]
call fcn.00407b10
mov eax, esi
jmp 0x41358f
lea ecx, [ebp + 0x84]
call fcn.00413a20
test al, al
jne 0x412d4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push eax
push 0xb8
push str.install.cpp
lea eax, [ebp + 0x194]
push 0x44b900
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
call fcn.004135e0
test eax, eax
je 0x412d48
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x412d48
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp + 0x84]
call fcn.00413a20
test al, al
jne 0x412d6a
call fcn.004142c0
mov ebx, eax
jmp 0x412f67
cmp byte [ebp - 0x18], 0
je 0x412e6d
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp + 0x84]
call fcn.004146d0
lea ecx, [ebp + 0x104]
mov esi, dword [eax + 0x10]
call fcn.00407b10
test esi, esi
jne 0x412e11
push esi
lea eax, [ebp + 0x164]
push eax
lea ecx, [ebp + 0x104]
call fcn.004011c0
lea eax, [ebp + 0x134]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.0040e880
add esp, 8
mov byte [ebp - 4], 0x28
mov ebx, eax
lea ecx, [ebp + 0x104]
mov dword [ebp - 0x2c], ebx
call fcn.00407b10
push ebx
call fcn.0040df30
add esp, 4
test al, al
je 0x412e4b
push esi
lea eax, [ebp + 0x164]
push eax
lea ecx, [ebp + 0x104]
call fcn.004011c0
lea eax, [ebp + 0x104]
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [ebp + 0x84]
call fcn.00414ce0
jmp 0x412e3c
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp + 0x84]
call fcn.004146d0
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 0x2b
push ecx
push eax
call fcn.0040e880
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, eax
lea ecx, [ebp + 0x104]
mov byte [ebp - 4], 0x28
call fcn.00407b10
push ebx
call fcn.0040df30
add esp, 4
test al, al
je 0x412e6d
push CreateEventW
push 0x22f0a
lea ecx, [ebp + 0x84]
call fcn.004152d0
cmp byte [ebp - 0x1e], 0
je 0x412f67
push ebx
call fcn.0040df30
add esp, 4
test al, al
je 0x412f67
lea eax, [ebp + 0xbc]
push eax
lea eax, [ebp + 0x158]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402820
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp + 0x188], xmm0
cmp byte [eax + 0xd], 0
jne 0x412eca
add eax, 0x10
lea ecx, [ebp + 0xbc]
push eax
call fcn.00413a30
test al, al
je 0x412f58
cmp dword [ebp - 0x24], 0x3ffffff
je 0x4135ce
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
mov dword [ebp + 0x15c], eax
push 0x40
mov byte [ebp - 4], 0x2c
mov dword [ebp + 0x160], 0
call fcn.0042c78f
mov edi, eax
add esp, 4
mov dword [ebp + 0x160], edi
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x2d
lea eax, [ebp + 0xbc]
mov dword [ebp - 0x30], esi
push eax
mov ecx, esi
call fcn.00405fb0
lea eax, [ebp + 0xd4]
mov byte [ebp - 4], 0x2f
lea ecx, [esi + 0x18]
push eax
call fcn.00405fb0
push edi
push dword [ebp + 0x18c]
mov dword [edi], ebx
lea ecx, [ebp - 0x28]
push dword [ebp + 0x188]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
mov byte [ebp - 4], 0x28
call fcn.0040b960
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x84]
call fcn.00414db0
test ebx, ebx
je 0x412f74
cmp ebx, 4
jne 0x4130e8
push 0
lea eax, [ebp + 0x164]
push eax
lea ecx, [ebp + 0x104]
call fcn.004011c0
mov al, byte [ebp - 0x1e]
or al, byte [ebp - 0x18]
movzx eax, al
push eax
lea eax, [ebp + 0x104]
mov byte [ebp - 4], 0x30
push eax
call fcn.0040f150
add esp, 8
mov byte [ebp - 4], 0x28
lea ecx, [ebp + 0x104]
or ebx, eax
call fcn.00407b10
cmp ebx, 5
jne 0x412fd8
cmp byte [ebp - 0x11], 0
jne 0x412fd8
cmp byte [ebp - 0x12], 0
jne 0x412fd8
lea eax, [ebp + 0x134]
push eax
call fcn.00404960
add esp, 4
mov ebx, eax
mov esi, dword [ebp - 0x28]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x4130e8
mov byte [ebp - 0x2c], 0
nop dword [eax + eax]
lea edi, [esi + 0x10]
push edi
lea ecx, [ebp + 0xec]
call fcn.00405fb0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x31
push eax
lea ecx, [ebp + 0x104]
call fcn.00405fb0
push dword [ebp - 0x2c]
cmp dword [ebp + 0x178], 8
lea eax, [ebp + 0x164]
push dword [ebp + 0x174]
cmovae eax, dword [ebp + 0x164]
push eax
lea eax, [ebp + 0x17c]
mov byte [ebp - 4], 0x32
push eax
call fcn.00401b60
or dword [ebp - 0x1c], 0x4000
lea eax, [ebp + 0x17c]
add esp, 0x10
lea ecx, [ebp + 0xec]
cmp dword [ebp + 0x190], 8
cmovae eax, dword [ebp + 0x17c]
push dword [ebp + 0x18c]
push eax
call fcn.0040d250
lea ecx, [ebp + 0x17c]
mov edi, eax
call fcn.00407b10
test edi, edi
je 0x413093
push dword [ebp - 0x18]
lea eax, [ebp + 0xec]
push eax
call fcn.0040f150
add esp, 8
lea ecx, [ebp + 0xec]
mov byte [ebp - 4], 0x28
call fcn.00408520
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4130c8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4130c4
cmp esi, dword [eax + 8]
jne 0x4130c4
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4130b4
mov esi, eax
jmp 0x4130de
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4130de
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4130d2
cmp byte [esi + 0xd], 0
je 0x412ff0
lea ecx, [ebp + 0xbc]
call fcn.00408520
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, eax
call fcn.00402740
push 0x40
push dword [ebp - 0x28]
call fcn.0042c7bf
add esp, 8
lea ecx, [ebp + 0x84]
call fcn.00413940
lea ecx, [ebp + 0x40]
call fcn.004089c0
mov eax, dword [ebp + 0x148]
cmp eax, 8
jb 0x413142
inc eax
lea ecx, [ebp + 0x134]
push eax
push dword [ebp + 0x134]
call fcn.0040db60
xor eax, eax
mov dword [ebp + 0x144], 0
mov word [ebp + 0x134], ax
mov eax, dword [ebp + 0x130]
mov dword [ebp + 0x148], 7
cmp eax, 8
jb 0x41317d
inc eax
lea ecx, [ebp + 0x11c]
push eax
push dword [ebp + 0x11c]
call fcn.0040db60
xor eax, eax
mov dword [ebp + 0x12c], 0
mov word [ebp + 0x11c], ax
mov eax, dword [ebp + 0x178]
mov dword [ebp + 0x130], 7
cmp eax, 8
jb 0x4131b8
inc eax
lea ecx, [ebp + 0x164]
push eax
push dword [ebp + 0x164]
call fcn.0040db60
mov eax, ebx
jmp 0x41358f
mov dword [ebp + 0x4e4], 0x44ba8c
mov dword [ebp + 0x4f4], 0x44ba94
mov dword [ebp + 0x554], 0
mov dword [ebp + 0x574], 0
mov dword [ebp + 0x578], 0
mov dword [ebp + 0x57c], 0
mov dword [ebp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp + 0x4fc]
mov byte [ebp - 4], 0x10
or esi, 2
lea ecx, [ebp + 0x4e4]
push eax
mov dword [ebp - 0x18], esi
call fcn.00405a50
mov eax, dword [ebp + 0x4f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax + method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp + 0x4f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx + 0x4f0], eax
mov eax, dword [ebp + 0x4e4]
mov eax, dword [eax + 4]
mov dword [ebp + eax + method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp + 0x4e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx + 0x4e0], eax
mov eax, dword [ebp + 0x4e4]
push 8
mov dword [ebp - 4], 0x14
mov eax, dword [eax + 4]
mov dword [ebp + eax + method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp + 0x4e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx + 0x4e0], eax
mov dword [ebp + method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0042c78f
mov edi, eax
add esp, 4
test edi, edi
je 0x4132e2
push 1
mov byte [ebp - 4], 0x15
call fcn.00416049
add esp, 4
mov dword [edi + 4], eax
jmp 0x4132e4
xor edi, edi
lea eax, [ebp + 0x500]
mov dword [ebp + 0x530], edi
mov dword [ebp + 0x508], eax
lea eax, [ebp + 0x504]
mov dword [ebp + 0x50c], eax
lea eax, [ebp + 0x510]
mov dword [ebp + 0x518], eax
lea eax, [ebp + 0x514]
mov dword [ebp + 0x51c], eax
lea eax, [ebp + 0x520]
mov dword [ebp + 0x528], eax
lea eax, [ebp + 0x524]
mov dword [ebp + 0x52c], eax
mov dword [ebp + 0x504], 0
mov dword [ebp + 0x514], 0
mov dword [ebp + 0x524], 0
mov dword [ebp + 0x500], 0
mov dword [ebp + 0x510], 0
mov dword [ebp + 0x520], 0
mov dword [ebp + method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp + 0x534], 0
mov dword [ebp + 0x538], 0
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp + 0x4f4]
push eax
call fcn.0041e440
add esp, 8
mov dword [ebp + 0x17c], 0
mov edx, dword [ebp + 0x538]
or esi, 0x20
mov eax, edx
mov dword [ebp - 4], 0x18
and al, 0x22
mov dword [ebp + 0x18c], 0
mov byte [ebp + 0x17c], 0
mov edi, 0xf
mov dword [ebp + 0x190], edi
xorps xmm0, xmm0
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x18], esi
movq qword [ebp + 0x158], xmm0
mov dword [ebp + 0x160], 0
cmp al, 2
je 0x413422
mov eax, dword [ebp + 0x51c]
mov ecx, dword [eax]
test ecx, ecx
je 0x413422
mov eax, dword [ebp + 0x50c]
cmp ecx, dword [ebp + 0x534]
cmovb ecx, dword [ebp + 0x534]
mov edx, dword [eax]
sub ecx, edx
jmp 0x413453
test dl, 4
jne 0x413447
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
test ecx, ecx
je 0x413447
mov eax, dword [ebp + 0x508]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp + 0x528]
add ecx, dword [eax]
jmp 0x413453
mov ecx, dword [ebp + 0x15c]
mov edx, dword [ebp + 0x158]
test edx, edx
je 0x41346a
push ecx
push edx
lea ecx, [ebp + 0x17c]
call fcn.0040cbd0
mov edi, dword [ebp + 0x190]
push 0x40
cmp edi, 0x10
lea eax, [ebp + 0x17c]
push 0x44bbf4
cmovae eax, dword [ebp + 0x17c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp + 0x190]
cmp edx, 0x10
jb 0x4134c4
mov ecx, dword [ebp + 0x17c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4134ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4135d3
push edx
push ecx
call fcn.0042c7bf
add esp, 8
lea ecx, [ebp + 0x4e4]
call fcn.004091a0
lea ecx, [ebp + 0x40]
call fcn.004089c0
mov edx, dword [ebp + 0x148]
cmp edx, 8
jb 0x413517
mov ecx, dword [ebp + 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41350d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4135d8
push edx
push ecx
call fcn.0042c7bf
add esp, 8
xor eax, eax
mov dword [ebp + 0x144], 0
mov word [ebp + 0x134], ax
mov eax, dword [ebp + 0x130]
mov dword [ebp + 0x148], 7
cmp eax, 8
jb 0x413552
inc eax
lea ecx, [ebp + 0x11c]
push eax
push dword [ebp + 0x11c]
call fcn.0040db60
xor eax, eax
mov dword [ebp + 0x12c], 0
mov word [ebp + 0x11c], ax
mov eax, dword [ebp + 0x178]
mov dword [ebp + 0x130], 7
cmp eax, 8
jb 0x41358d
inc eax
lea ecx, [ebp + 0x164]
push eax
push dword [ebp + 0x164]
call fcn.0040db60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x594]
xor ecx, ebp
call fcn.0042cc35
lea esp, [ebp + 0x598]
pop ebp
ret 0x10
call fcn.00430d2f
lea eax, [ebp + 0x17c]
push eax
lea eax, [ebp - 0x34]
push eax
push str.weakly_canonical
call fcn.0040c0e0
call fcn.0040c270
call fcn.00430d2f
call fcn.00430d2f
int3