Function at 0x40c310
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x4350d0]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x40cc74
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffc
cmp ecx, 2
ja 0x40cc74
mov edi, dword [eax + 4]
call fcn.00401670
mov dword [esp + 0x10], eax
test eax, eax
je 0x40cc8c
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x42948c]
mov ecx, dword [esp + 0x10]
call esi
add eax, 0x10
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x14], eax
call fcn.00409ee0
test al, al
jne 0x40c3bd
test edi, edi
jne 0x40c39e
xor ecx, ecx
jmp 0x40c3b2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c3a3
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.0040a3b0
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xa4]
push 3
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa4], eax
push dword [edi + 8]
call fcn.0040ccc0
mov edx, dword [esp + 0xa0]
xorps xmm0, xmm0
mov ecx, edx
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c404
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0040b5a0
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x40c434
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 3
push dword [edi + 0xc]
lea eax, [esp + 0xac]
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], eax
call fcn.0040ccc0
mov edx, dword [esp + 0xa0]
xorps xmm0, xmm0
mov ecx, edx
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c477
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.0040b5a0
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x40c4a7
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x1c], 5
mov byte [esp + 0x17], 0
jl 0x40c63a
push 3
push dword [edi + 0x10]
lea eax, [esp + 0xac]
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], eax
call fcn.0040ccc0
mov edx, dword [esp + 0xa0]
xorps xmm0, xmm0
mov ecx, edx
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c500
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.0040b5a0
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x40c530
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0041d7d0
mov ecx, dword [esp + 0xa4]
add esp, 8
cmp ecx, 0x10
jb 0x40c583
mov edx, dword [esp + 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c579
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c579
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00424702
add esp, 8
cmp dword [esp + 0x54], 0x10
lea ecx, [esp + 0x40]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
cmovae ecx, edi
cmp edx, 1
jne 0x40c5fb
mov esi, 0x42bef0
sub edx, 4
jb 0x40c5b7
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40c5bc
add ecx, 4
add esi, 4
sub edx, 4
jae 0x40c5a6
cmp edx, 0xfffffffc
je 0x40c5f0
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x40c5e9
cmp edx, 0xfffffffd
je 0x40c5f0
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x40c5e9
cmp edx, 0xfffffffe
je 0x40c5f0
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x40c5e9
cmp edx, 0xffffffff
je 0x40c5f0
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x40c5f0
sbb eax, eax
or eax, 1
jmp 0x40c5f2
xor eax, eax
mov byte [esp + 0x17], 1
test eax, eax
je 0x40c600
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x40c636
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40c62c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c62c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00424702
add esp, 8
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x1c], 6
jne 0x40c7c1
push 3
push dword [edi + 0x14]
lea eax, [esp + 0xac]
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], eax
call fcn.0040ccc0
mov edx, dword [esp + 0xa0]
xorps xmm0, xmm0
mov ecx, edx
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c688
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.0040b5a0
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x40c6b8
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0041d7d0
mov ecx, dword [esp + 0xa4]
add esp, 8
cmp ecx, 0x10
jb 0x40c70b
mov edx, dword [esp + 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c701
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c701
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00424702
add esp, 8
cmp dword [esp + 0x54], 0x10
lea ecx, [esp + 0x40]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
cmovae ecx, edi
cmp edx, 1
jne 0x40c784
mov esi, 0x42bef0
sub edx, 4
jb 0x40c741
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40c746
add ecx, 4
add esi, 4
sub edx, 4
jae 0x40c730
cmp edx, 0xfffffffc
je 0x40c77a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x40c773
cmp edx, 0xfffffffd
je 0x40c77a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x40c773
cmp edx, 0xfffffffe
je 0x40c77a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x40c773
cmp edx, 0xffffffff
je 0x40c77a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x40c77a
sbb eax, eax
or eax, 1
jmp 0x40c77c
xor eax, eax
test eax, eax
jne 0x40c784
mov al, 1
jmp 0x40c786
xor al, al
mov byte [0x435880], al
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jb 0x40c7c1
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40c7b7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c7b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00424702
add esp, 8
lea eax, [esp + 0x20]
push eax
call fcn.0041cf20
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24]
mov edx, dword [esp + 0x24]
add esp, 4
mov edi, dword [esp + 0x30]
cmp eax, 0x10
mov esi, dword [esp + 0x10]
cmovae ecx, edx
cmp edi, 0xa
jne 0x40c875
mov eax, edi
mov edx, str.createdump
sub eax, 4
mov dword [esp + 0x10], eax
jb 0x40c81a
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40c81f
mov eax, dword [esp + 0x10]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x10], eax
jae 0x40c801
cmp eax, 0xfffffffc
je 0x40c859
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40c852
cmp dword [esp + 0x10], 0xfffffffd
je 0x40c859
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40c852
cmp dword [esp + 0x10], 0xfffffffe
je 0x40c859
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40c852
cmp dword [esp + 0x10], 0xffffffff
je 0x40c859
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40c859
sbb eax, eax
or eax, 1
jmp 0x40c85b
xor eax, eax
test eax, eax
jne 0x40c86d
lea ecx, [esp + 0x60]
call fcn.0040ef40
jmp 0x40cbc7
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp eax, 0x10
lea ecx, [esp + 0x20]
cmovae ecx, edx
cmp edi, 0xb
jne 0x40c92e
mov eax, edi
mov edx, str.solutionurl
sub eax, 4
mov dword [esp + 0x10], eax
jb 0x40c8b1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40c8b6
mov eax, dword [esp + 0x10]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x10], eax
jae 0x40c898
cmp eax, 0xfffffffc
je 0x40c8f0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40c8e9
cmp dword [esp + 0x10], 0xfffffffd
je 0x40c8f0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40c8e9
cmp dword [esp + 0x10], 0xfffffffe
je 0x40c8f0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40c8e9
cmp dword [esp + 0x10], 0xffffffff
je 0x40c8f0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40c8f0
sbb eax, eax
or eax, 1
jmp 0x40c8f2
xor eax, eax
test eax, eax
jne 0x40c926
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.00408fe0
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.0040a2c0
add esp, 4
add eax, 0x10
mov dword [edi], eax
call fcn.00416b10
add esp, 0x1c
jmp 0x40cbc7
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp eax, 0x10
lea ecx, [esp + 0x20]
cmovae ecx, edx
cmp edi, 7
jne 0x40c9d3
mov eax, edi
mov edx, str.sendlog
sub eax, 4
mov dword [esp + 0x10], eax
jb 0x40c96a
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40c96f
mov eax, dword [esp + 0x10]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x10], eax
jae 0x40c951
cmp eax, 0xfffffffc
je 0x40c9a9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40c9a2
cmp dword [esp + 0x10], 0xfffffffd
je 0x40c9a9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40c9a2
cmp dword [esp + 0x10], 0xfffffffe
je 0x40c9a9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40c9a2
cmp dword [esp + 0x10], 0xffffffff
je 0x40c9a9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40c9a9
sbb eax, eax
or eax, 1
jmp 0x40c9ab
xor eax, eax
test eax, eax
jne 0x40c9cb
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.00408fe0
call fcn.00414d50
add esp, 0x14
jmp 0x40cb13
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp eax, 0x10
lea ecx, [esp + 0x20]
cmovae ecx, edx
cmp edi, 8
jne 0x40ca75
mov eax, edi
mov edx, str.dontsend
sub eax, 4
mov dword [esp + 0x10], eax
jb 0x40ca0f
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40ca14
mov eax, dword [esp + 0x10]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x10], eax
jae 0x40c9f6
cmp eax, 0xfffffffc
je 0x40ca4e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40ca47
cmp dword [esp + 0x10], 0xfffffffd
je 0x40ca4e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40ca47
cmp dword [esp + 0x10], 0xfffffffe
je 0x40ca4e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40ca47
cmp dword [esp + 0x10], 0xffffffff
je 0x40ca4e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40ca4e
sbb eax, eax
or eax, 1
jmp 0x40ca50
xor eax, eax
test eax, eax
jne 0x40ca6d
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.00408fe0
call fcn.00415300
jmp 0x40cbc4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp eax, 0x10
lea ecx, [esp + 0x20]
cmovae ecx, edx
cmp edi, 0x13
jne 0x40cb3f
mov eax, edi
mov edx, str.updatepvbpreference
sub eax, 4
mov dword [esp + 0x10], eax
jb 0x40cab1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40cab6
mov eax, dword [esp + 0x10]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x10], eax
jae 0x40ca98
cmp eax, 0xfffffffc
je 0x40caf0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40cae9
cmp dword [esp + 0x10], 0xfffffffd
je 0x40caf0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40cae9
cmp dword [esp + 0x10], 0xfffffffe
je 0x40caf0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40cae9
cmp dword [esp + 0x10], 0xffffffff
je 0x40caf0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40caf0
sbb eax, eax
or eax, 1
jmp 0x40caf2
xor eax, eax
test eax, eax
jne 0x40cb37
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.0040a2c0
add esp, 4
lea ecx, [esp + 0x64]
add eax, 0x10
mov dword [edi], eax
call fcn.004126e0
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.0040a2c0
mov cl, byte [esp + 0x1f]
add esp, 4
add eax, 0x10
mov dword [edi], eax
call fcn.00414580
add esp, 4
jmp 0x40cbc7
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp eax, 0x10
lea ecx, [esp + 0x20]
cmovae ecx, edx
cmp edi, 0xf
jne 0x40cbc7
mov edx, str.opensolutionurl
sub edi, 4
jb 0x40cb71
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40cb76
add ecx, 4
add edx, 4
sub edi, 4
jae 0x40cb60
cmp edi, 0xfffffffc
je 0x40cbaa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40cba3
cmp edi, 0xfffffffd
je 0x40cbaa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40cba3
cmp edi, 0xfffffffe
je 0x40cbaa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40cba3
cmp edi, 0xffffffff
je 0x40cbaa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40cbaa
sbb eax, eax
or eax, 1
jmp 0x40cbac
xor eax, eax
test eax, eax
jne 0x40cbc7
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.00408fe0
call fcn.004182d0
add esp, 0x18
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x74]
cmp ecx, 0x10
jb 0x40cc03
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cbf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc2b
push ecx
push edx
call fcn.00424702
add esp, 8
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
jb 0x40cc3b
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cc31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40cc31
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00424702
add esp, 8
mov dword [esp + 0x30], 0
add esi, 0xfffffff0
mov dword [esp + 0x34], 0xf
or eax, 0xffffffff
mov byte [esp + 0x20], 0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40cc74
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x42948c]
mov ecx, edi
call esi
mov ecx, dword [esp + 0x12c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00424160
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00401320
int3