Function at 0x412410
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa54
mov eax, dword [0x49ffb8]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x41250e
push 5
push str.ERROR
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00406350
push 0x21
push str.Winmain_CommandLineToArgvW_failed
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00406350
lea edx, [esp + 0x98]
lea ecx, [esp + 0x50]
call fcn.00425f90
cmp dword [esp + 0x64], 0x10
jb 0x4124c9
push dword [esp + 0x50]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0xac], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x4124f2
push dword [esp + 0x98]
call fcn.0043d98b
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.0043cee8
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x20], 3
jge 0x41254d
push 5
push str.ERROR
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00406350
push 0x23
push str.Winmain_invalid_number_of_arguments
jmp 0x41248d
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x412625
push str.EnableLUA
lea ecx, [esp + 0x6c]
call fcn.00403fb0
push str.HKLMASOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
lea ecx, [esp + 0x54]
call fcn.00403fb0
sub esp, 8
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x5c]
call fcn.00417700
mov edi, dword [esp + 0x20]
xor ecx, ecx
add esp, 0xc
test al, al
cmove edi, ecx
cmp dword [esp + 0x64], 0x10
jb 0x4125ad
push dword [esp + 0x50]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x4125d0
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
test edi, edi
jne 0x412621
push str.WARNING
lea ecx, [esp + 0x54]
call fcn.00403fb0
push str.You_do_not_have_administrative_control_of_this_computer__therefore_some_functionality_may_be_limited.
lea ecx, [esp + 0x6c]
call fcn.00403fb0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x68]
call fcn.00426160
cmp eax, 2
lea ecx, [esp + 0x68]
sete bl
call fcn.00404080
lea ecx, [esp + 0x50]
call fcn.00404080
test bl, bl
jne 0x4124f2
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
push dword [esi + 4]
lea ecx, [esp + 0x6c]
call fcn.004134f0
lea edx, [esp + 0x68]
lea ecx, [esp + 0x158]
call fcn.0041c490
cmp dword [esp + 0x7c], 8
jb 0x412654
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x160]
push eax
mov ecx, 0x4a1b50
call fcn.00405240
push dword [esi + 8]
lea ecx, [esp + 0x6c]
call fcn.004134f0
lea edx, [esp + 0x68]
lea ecx, [esp + 0xf8]
call fcn.0041c490
cmp dword [esp + 0x7c], 8
jb 0x412699
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
push dword [esi + 0xc]
lea ecx, [esp + 0x54]
call fcn.004134f0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x110]
call fcn.0041c490
cmp dword [esp + 0x64], 8
jb 0x4126c8
push dword [esp + 0x50]
call fcn.0043d98b
add esp, 4
mov ecx, dword [0x4a3344]
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
test ecx, ecx
jne 0x412709
push 4
call fcn.0043da33
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x412701
mov dword [ecx], vtable.HappyCloud::PathsWindows.0
jmp 0x412703
xor ecx, ecx
mov dword [0x4a3344], ecx
mov eax, dword [ecx]
lea edx, [esp + 0x110]
push edx
call dword [eax + 0x38]
push dword [esi + 0x10]
lea ecx, [esp + 0x54]
call fcn.004134f0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x140]
call fcn.0041c490
cmp dword [esp + 0x64], 8
jb 0x412745
push dword [esp + 0x50]
call fcn.0043d98b
add esp, 4
mov ecx, dword [0x4a3344]
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
test ecx, ecx
jne 0x412786
push 4
call fcn.0043da33
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41277e
mov dword [ecx], vtable.HappyCloud::PathsWindows.0
jmp 0x412780
xor ecx, ecx
mov dword [0x4a3344], ecx
mov eax, dword [ecx]
lea edx, [esp + 0x140]
push edx
call dword [eax + 0x24]
push dword [esi + 0x14]
lea ecx, [esp + 0x6c]
call fcn.004134f0
lea edx, [esp + 0x68]
lea ecx, [esp + 0x128]
call fcn.0041c490
cmp dword [esp + 0x7c], 8
jb 0x4127c2
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
push str.HappyCloudClientAllowD3DXHooking
lea ecx, [esp + 0x6c]
call fcn.00403fb0
lea edx, [esp + 0x128]
lea ecx, [esp + 0x68]
call fcn.00421930
cmp dword [esp + 0x7c], 0x10
jb 0x4127f3
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
push str.hcfwexcp
lea ecx, [esp + 0x6c]
call fcn.00403fb0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x224]
call fcn.0041f880
cmp dword [esp + 0x7c], 0x10
jb 0x412825
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
lea ecx, [esp + 0x220]
call fcn.00420360
cmp dword [0x4a1a34], 2
jl 0x412880
lea ecx, [esp + 0x14]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 2
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x41285c
add eax, 0x10
jmp 0x41285e
xor eax, eax
push edi
push ecx
push str.Winmain_lpCmdLine:
push eax
call fcn.00407740
add esp, 0xc
push eax
call fcn.00407740
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0041dee0
push 0x400
lea eax, [esp + 0x25c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [0x4a1a34], 3
jl 0x4128e7
lea ecx, [esp + 0x14]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 3
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4128c0
add eax, 0x10
jmp 0x4128c2
xor eax, eax
push str.WinMain_moduleFileName_
push eax
call fcn.00407740
add esp, 8
lea edx, [esp + 0x258]
mov ecx, eax
call fcn.0041d070
lea ecx, [esp + 0x14]
call fcn.0041dee0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], vtable.Pid2Handle.0
call fcn.00436b60
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.00411d50
push ecx
mov dword [esp + 0x4c], eax
call fcn.0040ec30
add esp, 4
lea ecx, [esp + 0x68]
push str.hcfwexcp_running
call fcn.00403fb0
lea edx, [esp + 0x68]
lea ecx, [esp + 0x50]
call fcn.0041c570
push eax
mov edx, str._Log_targets4text
lea ecx, [esp + 0x84]
call fcn.004076b0
add esp, 4
cmp dword [esp + 0x64], 0x10
jb 0x41295d
push dword [esp + 0x50]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jb 0x412985
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x94], 0x10
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
push ecx
lea eax, [esp + 0xcc]
push eax
lea edx, [esp + 0xb8]
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], 0
mov byte [esp + 0xb8], 0
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
call fcn.0040fdd0
add esp, 8
test al, al
jne 0x412a42
cmp dword [0x4a1a34], 0
jl 0x412a38
lea ecx, [esp + 0x14]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x412a1f
add eax, 0x10
jmp 0x412a21
xor eax, eax
push str._tWinMain:_IPC_communication_failed__exiting
push eax
call fcn.00407740
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0041dee0
mov ebx, 1
jmp 0x41329e
mov byte [esp + 0x13], 0
xor edi, edi
lea esp, [esp]
cmp dword [esp + 0xc4], 0x10
lea eax, [esp + 0xb0]
cmovae eax, dword [esp + 0xb0]
mov dword [esp + 0xc0], 0
mov byte [eax], 0
cmp dword [esp + 0xdc], 0x10
lea eax, [esp + 0xc8]
cmovae eax, dword [esp + 0xc8]
mov dword [esp + 0xd8], 0
lea edx, [esp + 0xf8]
lea ecx, [esp + 0x170]
mov byte [eax], 0
call fcn.0041c570
push eax
mov edx, str._GetElevatedTasks_gameMetadataURL
lea ecx, [esp + 0x6c]
call fcn.004076b0
mov esi, eax
lea eax, [esp + 0x84]
add esp, 4
cmp eax, esi
je 0x412b10
cmp dword [esp + 0x94], 0x10
jb 0x412ae5
push dword [esp + 0x80]
call fcn.0043d98b
add esp, 4
push esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
call fcn.004051e0
cmp dword [esp + 0x7c], 0x10
jb 0x412b23
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x184], 0x10
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x412b51
push dword [esp + 0x170]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x94], 0x10
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
push ecx
lea eax, [esp + 0xcc]
push eax
lea edx, [esp + 0xb8]
call fcn.0040fdd0
add esp, 8
test al, al
je 0x41307a
lea ecx, [esp + 0x188]
call fcn.0042bec0
and dword [esp + 0xa0], 0xfffffe00
cmp dword [esp + 0xc4], 0x10
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xb0]
cmovae ecx, dword [esp + 0xb0]
push ecx
lea edx, [esp + 0x9c]
add eax, ecx
push edx
push eax
push ecx
lea ecx, [esp + 0x198]
mov dword [esp + 0xb4], 0
call fcn.0042bfb0
test al, al
je 0x412ee9
push str.FunctionStatus
lea ecx, [esp + 0x9c]
call fcn.00429640
cmp eax, 0x4a34c0
je 0x412c39
push ecx
lea ecx, [esp + 0x54]
call fcn.00428680
push 0
or ebx, 1
push str.FunctionStatus
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], ebx
call fcn.00429470
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00428990
test al, al
je 0x412c39
xor bl, bl
jmp 0x412c3b
mov bl, 1
mov eax, dword [esp + 0x1c]
test al, 1
je 0x412c53
and eax, 0xfffffffe
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.00428880
test bl, bl
je 0x412cce
cmp dword [0x4a1a34], 2
jl 0x412cba
lea ecx, [esp + 0x24]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 2
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x412c82
add esi, 0x10
jmp 0x412c84
xor esi, esi
push 0
push str.FunctionStatus
lea ecx, [esp + 0xa0]
call fcn.00429470
push dword [eax]
push ecx
push str._tWinMain:_IPC_FuntionStatus_is_not_OK____FunctionStatus:
push esi
call fcn.00407740
add esp, 0xc
push eax
call fcn.00407740
add esp, 8
lea ecx, [esp + 0x24]
call fcn.0041dee0
inc edi
cmp edi, 0xa
jg 0x41305b
push 0x7d0
jmp 0x412e5a
xor edi, edi
push str.ElevatedActions
lea ecx, [esp + 0x9c]
mov dword [esp + 0x18], edi
mov byte [esp + 0x16], 0
call fcn.00429640
cmp eax, 0x4a34c0
je 0x412d5e
push edi
push str.ElevatedActions
lea ecx, [esp + 0xa0]
call fcn.00429470
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x1f0]
call fcn.00401b50
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1a]
push eax
push esi
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x21], 0
call fcn.004026b0
cmp byte [esp + 0x11], 0
jne 0x412e88
lea ecx, [esp + 0x1e4]
call fcn.00401c60
push str.FullFilePrefix
lea ecx, [esp + 0x9c]
call fcn.00429640
cmp eax, 0x4a34c0
je 0x412e3e
lea eax, [esp + 0x68]
push eax
push ecx
push 0
push str.FullFilePrefix
lea ecx, [esp + 0xa8]
call fcn.00429470
add esp, 4
mov ecx, eax
call fcn.00428aa0
cmp dword [esp + 0x78], edi
je 0x412e2b
push 0
push 0x32
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edi
call fcn.00420d40
add esp, 8
lea edx, [esp + 0xe0]
lea ecx, [esp + 0x68]
call fcn.004210c0
mov esi, dword [esp + 0xe0]
mov ebx, dword [esp + 0xe4]
cmp esi, ebx
je 0x412e1f
lea ebx, [ebx]
mov edi, dword [esi]
push edi
lea ecx, [esp + 0x30]
call fcn.00410f30
test al, al
jne 0x412e14
mov byte [esp + 0x11], al
lea eax, [esp + 0x11]
push eax
push ecx
push edi
lea ecx, [esp + 0x38]
call fcn.00410b60
add esi, 4
cmp esi, ebx
jne 0x412df0
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xe0]
call fcn.00413550
cmp dword [esp + 0x7c], 0x10
jb 0x412e3e
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.004115d0
cmp byte [esp + 0x12], 0
jne 0x412e60
cmp byte [esp + 0x13], 0
jne 0x412e60
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x98]
call fcn.00428880
lea ecx, [esp + 0x188]
call fcn.00413470
cmp byte [esp + 0x13], 0
jne 0x412ee2
mov ebx, dword [esp + 0x1c]
jmp 0x412a50
cmp dword [0x4a1a34], 2
jl 0x412ecc
lea ecx, [esp + 0x14]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 2
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x412eb3
add eax, 0x10
jmp 0x412eb5
xor eax, eax
push str._tWinMain:_failure_detected_in_ActionExecutor::Process__exiting_process...
push eax
call fcn.00407740
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0041dee0
lea ecx, [esp + 0x1e4]
mov ebx, 1
call fcn.00401c60
jmp 0x413060
xor ebx, ebx
jmp 0x4130c3
push str.unable_to_parse_client_response
lea ecx, [esp + 0xe4]
call fcn.00403fb0
lea edx, [esp + 0xe0]
lea ecx, [esp + 0x50]
call fcn.0041c570
push eax
mov edx, str._Log_targets8text
lea ecx, [esp + 0x6c]
call fcn.004076b0
mov esi, eax
lea eax, [esp + 0x84]
add esp, 4
cmp eax, esi
je 0x412f6d
cmp dword [esp + 0x94], 0x10
jb 0x412f42
push dword [esp + 0x80]
call fcn.0043d98b
add esp, 4
push esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
call fcn.004051e0
cmp dword [esp + 0x7c], 0x10
jb 0x412f80
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x412fa8
push dword [esp + 0x50]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0xf4], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jb 0x412fd6
push dword [esp + 0xe0]
call fcn.0043d98b
add esp, 4
cmp dword [0x4a1a34], 0
jl 0x41302c
lea ecx, [esp + 0x14]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x413001
add eax, 0x10
jmp 0x413003
xor eax, eax
lea ecx, [esp + 0xb0]
push ecx
push ecx
push str._tWinMain:_IPC_communication_failed__outputString:
push eax
call fcn.00407740
add esp, 0xc
push eax
call fcn.004079f0
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0041dee0
cmp dword [esp + 0x94], 0x10
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
push ecx
lea eax, [esp + 0xcc]
push eax
lea edx, [esp + 0xb8]
call fcn.0040fdd0
add esp, 8
mov ebx, 1
lea ecx, [esp + 0x98]
call fcn.00428880
lea ecx, [esp + 0x188]
call fcn.00413470
jmp 0x4130c3
cmp dword [0x4a1a34], 0
jl 0x4130be
lea ecx, [esp + 0x14]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4130a5
add eax, 0x10
jmp 0x4130a7
xor eax, eax
push str._tWinMain:_IPC_communication_failed__exiting
push eax
call fcn.00407740
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0041dee0
mov ebx, 1
lea eax, [esp + 0x12]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x16], 0
call fcn.00411150
push 0x10
push str.hcfwexcp_exiting
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.00406350
lea edx, [esp + 0x50]
lea ecx, [esp + 0x98]
call fcn.0041c570
push eax
mov edx, str._Log_targets4text
lea ecx, [esp + 0x6c]
call fcn.004076b0
mov esi, eax
lea eax, [esp + 0x84]
add esp, 4
cmp eax, esi
je 0x4131b9
cmp dword [esp + 0x94], 0x10
jb 0x413147
push dword [esp + 0x80]
call fcn.0043d98b
add esp, 4
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
cmp dword [esi + 0x14], 0x10
jae 0x413185
mov eax, dword [esi + 0x10]
inc eax
je 0x413194
push eax
lea eax, [esp + 0x84]
push esi
push eax
call fcn.0043d180
add esp, 0xc
jmp 0x413194
mov eax, dword [esi]
mov dword [esp + 0x80], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x94], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x7c], 0x10
jb 0x4131cc
push dword [esp + 0x68]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0xac], 0x10
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x4131fa
push dword [esp + 0x98]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
jb 0x41322b
push dword [esp + 0x50]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x94], 0x10
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
push ecx
lea eax, [esp + 0xcc]
push eax
lea edx, [esp + 0xb8]
call fcn.0040fdd0
add esp, 8
cmp dword [0x4a1a34], 2
jl 0x41329e
lea ecx, [esp + 0x14]
call fcn.0041de50
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 2
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x413285
add eax, 0x10
jmp 0x413287
xor eax, eax
push str._tWinMain:_Program_completed_successfully__exiting...
push eax
call fcn.00407740
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0041dee0
cmp dword [esp + 0xdc], 0x10
jb 0x4132b7
push dword [esp + 0xc8]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0xc4], 0x10
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], 0
mov byte [esp + 0xc8], 0
jb 0x4132ee
push dword [esp + 0xb0]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
jb 0x413325
push dword [esp + 0x80]
call fcn.0043d98b
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
call fcn.00410ae0
lea ecx, [esp + 0x220]
call fcn.0041f9d0
cmp dword [esp + 0x13c], 0x10
jb 0x413371
push dword [esp + 0x128]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x154], 0x10
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], 0
mov byte [esp + 0x128], 0
jb 0x4133a8
push dword [esp + 0x140]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x124], 0x10
mov dword [esp + 0x154], 0xf
mov dword [esp + 0x150], 0
mov byte [esp + 0x140], 0
jb 0x4133df
push dword [esp + 0x110]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x10c], 0x10
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], 0
mov byte [esp + 0x110], 0
jb 0x413416
push dword [esp + 0xf8]
call fcn.0043d98b
add esp, 4
cmp dword [esp + 0x16c], 0x10
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], 0
mov byte [esp + 0xf8], 0
jb 0x41344d
push dword [esp + 0x158]
call fcn.0043d98b
add esp, 4
mov ecx, dword [esp + 0xa5c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0043cee8
mov esp, ebp
pop ebp
ret 0x10