Function at 0x4313e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8848
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6403f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [0x645b34], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x3c], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.00433f50
add esp, 4
call fcn.00448af0
push 0x5e1118
push 0
call fcn.0053664a
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x5e111c
call fcn.00439410
add esp, 8
push 0
mov ecx, dword [0x645b34]
push ecx
push 0
mov ecx, 0x649bd0
call fcn.00428170
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
call fcn.0040d1d0
mov dword [ebp - 4], 0
call fcn.0042d310
mov ecx, eax
call fcn.0046f240
call fcn.004349b0
mov ecx, eax
call fcn.00442470
mov edx, dword [ebp + 0x10]
push edx
call fcn.00421d70
mov ecx, eax
call fcn.0041c1e0
mov eax, dword [ebp + 0x10]
push eax
push str.lpstrCmdLine_s
call fcn.00439410
add esp, 8
call fcn.00431c30
call fcn.00421d70
mov ecx, eax
call fcn.0041c7b0
push eax
call fcn.00441c70
mov ecx, dword [ebp + 8]
push ecx
call fcn.00487530
add esp, 4
push 4
call fcn.00487890
add esp, 4
push 0x361
call fcn.00487830
add esp, 4
call fcn.00431eb0
lea ecx, [ebp - 0x10]
call fcn.00407c40
mov byte [ebp - 4], 1
lea edx, [ebp - 0x10]
push edx
call fcn.00431f40
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x431645
cmp dword [ebp - 0x1c], 0
jge 0x431539
push 0
push 0x5e1164
push 0x5e1168
push 0
call fcn.00441c80
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0
call fcn.004327a0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
push 0
push 0
push str.exist
call fcn.00434900
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.0040faa0
call fcn.00421d70
mov ecx, eax
call fcn.0041c8b0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00421d70
mov ecx, eax
call fcn.0041c630
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 0
jne 0x431615
call fcn.00448af0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x58]
call edx
call fcn.00448af0
mov dword [ebp - 0x24], eax
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x5e1190
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00419860
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x5c]
call edx
lea ecx, [ebp - 0x18]
call fcn.00434840
push eax
push 0x5e11c4
call fcn.00439410
add esp, 8
call fcn.00448af0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
call fcn.00434840
push eax
push 0x5e11ec
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00407db0
jmp 0x4316ea
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0
call fcn.004327a0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
push 0
push 0
push 0x5e1210
call fcn.00434900
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.0040faa0
call fcn.00431a70
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4316a1
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00407db0
jmp 0x4316ea
call fcn.00431d40
test eax, eax
jne 0x4316bf
mov dword [ebp - 0x14], 0xe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00407db0
jmp 0x4316ea
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00431760
add esp, 0xc
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00407db0
xor edx, edx
jne 0x4314f6
call fcn.004349b0
mov ecx, eax
call fcn.004428e0
call fcn.0042d310
mov ecx, eax
call fcn.0046f3b0
call fcn.00449420
mov ecx, 0x649c0c
call fcn.0040d3f0
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x649bd0
call fcn.004284d0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040d1f0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret