Function at 0x402b40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e752b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x6780cc]
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 ebx, ecx
push 0x6424c4
mov dword [ebp - 0xb0], 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
cmp dword [ebx + 0x15c], 0
jne 0x402bff
push 0x2c
call fcn.00459629
mov esi, eax
add esp, 4
mov dword [ebp - 0xb0], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x402bf0
push 0x2c
push 0
push esi
call fcn.005b9e00
add esp, 8
push 1
sub esp, 0x18
mov ecx, esp
push 0x2d
push str.GlobalCDF58EEC_E7BF_42dd_B3C5_AE2129FE636B
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403460
mov ecx, esi
call fcn.00418b50
jmp 0x402bf2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x15c], eax
cmp dword [ebx + 0x158], 0
jne 0x402c71
push 0x2c
call fcn.00459629
mov esi, eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x402c62
push 0x2c
push 0
push esi
call fcn.005b9e00
add esp, 8
push 1
sub esp, 0x18
mov ecx, esp
push 0x2d
push str.GlobalD14718B7_BC31_4F09_9E3C_75D933967967
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403460
mov ecx, esi
call fcn.00418b50
jmp 0x402c64
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x158], eax
mov edi, dword [ebx + 0x15c]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5feac0]
mov ecx, edi
call esi
test al, al
jne 0x4030d1
mov edi, dword [ebx + 0x158]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5feac0]
mov ecx, edi
call esi
test al, al
jne 0x4030d1
mov edi, dword [ebx + 0x164]
test edi, edi
jne 0x402d1a
push 0x2c
call fcn.00459629
mov esi, eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x402d0b
push 0x2c
push edi
push esi
call fcn.005b9e00
add esp, 8
push 0xff
sub esp, 0x18
mov ecx, esp
push 0x2d
push str.GlobalC476B6A9_CDF7_44F0_8EC5_4EFA456358DB
mov dword [ecx], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.00403460
mov ecx, esi
call fcn.00418b50
mov edi, eax
jmp 0x402d0d
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x164], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5feac0]
mov ecx, edi
call esi
test al, al
je 0x4030d1
call dword [sym.imp.KERNEL32.dll_UnregisterApplicationRestart]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 3
call fcn.00425c80
push 3
push 0x642508
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00403510
mov byte [ebp - 4], 4
mov edx, dword [0x683144]
mov ecx, edx
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402db4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xcc]
call fcn.00403460
push ecx
lea edx, [ebp - 0xcc]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.00426c00
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xb8]
cmp ecx, 8
jb 0x402e2a
mov edx, dword [ebp - 0xcc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030ef
push ecx
push edx
call fcn.005a5f31
add esp, 8
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov byte [ebp - 4], 8
lea edx, [ebp - 0xe4]
push ecx
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], al
mov dword [ebp - 0xb0], 2
call fcn.00434f30
cmp dword [ebp - 0xd0], 0x10
lea edx, [ebp - 0xe4]
push 0
cmovae edx, dword [ebp - 0xe4]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x4c]
push 0
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x38], 0x10
push 0
cmovae eax, dword [ebp - 0x4c]
push 0
push 0
push 0
push 0
push 0
push 0x642504
push edx
push 0x642514
push ecx
push eax
push 0
call dword [sym.imp.CRClient.dll_CrashReporterInitialize]
mov byte [ebp - 4], 7
add esp, 0x3c
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0x10
jb 0x402f10
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402f06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f4
push ecx
push edx
call fcn.005a5f31
add esp, 8
call dword [sym.imp.CRClient.dll_ShowCRDialogOnlyOnFirstCrash]
call dword [sym.imp.CRClient.dll_DisableCRDunamisExitEventCapture]
call dword [sym.imp.CRClient.dll_ShowCRNativeDialogOnCrash]
push 0x2c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.005b9e00
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.0045567d
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.0045672e
cmp dword [ebp - 0x98], 8
jne 0x402f62
xor ebx, ebx
jmp 0x403000
lea eax, [ebp - 0x34]
mov byte [ebx + 0xcc], 1
push eax
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x30], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00456480
push 0
call fcn.00460e0c
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x48], eax
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 0x14]
mov edx, eax
call fcn.00406760
mov esi, eax
mov dword [ebx + 0xd0], esi
cmp esi, 5
je 0x402ff9
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x402ff9
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x402fd1
xor ebx, ebx
test esi, esi
sete bl
lea ecx, [ebp - 0xac]
call fcn.00455843
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x40303f
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403035
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f9
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x403085
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40307b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f9
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 8
jb 0x4030cd
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4030c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f9
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov eax, ebx
jmp 0x4030d3
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 - 0x10]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
ret
call fcn.005bd02a
call fcn.005bd02a
call fcn.005bd02a
int3