Function at 0x427460
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x49c51c
call fcn.00498a28
sub esp, 0x98
xor eax, eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
push esi
mov byte [ebx + 4], al
mov dword [ebx], 0x10000
push edi
lea edi, [ebx + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebx + 0x18], 0
lea edi, [ebx + 0x20]
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 7
mov word [ebx + 0x20], ax
or dword [ebx + 0x38], 0xffffffff
and dword [ebp - 4], eax
xor edi, edi
and dword [ebp - 0x14], eax
inc edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x40
pop esi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], esi
jle 0x4275b2
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
mov edx, esi
mov dword [ebp - 0x40], 0xf0
lea ecx, [ebp - 0x8f]
mov dword [ebp - 0x3c], 9
mov dword [ebp - 0x38], str.C:BooCode_OffergateMultiSetup_srcmulti_setup.cpp
mov dword [ebp - 0x34], str.struct_LaunchParameters___cdecl_ReadLaunchParameters_wchar_t__
call fcn.0040ffba
push ecx
lea ecx, [ebp - 0x8f]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00410071
mov dword [ebp - 0x18], 7
push 0x17
push str.Max_arguments_count_is
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], edi
call fcn.0040efea
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403476
mov dword [ebp - 0x18], 0xf
push 0x1b
push str.._Ignoring_other_arguments.
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.0040ff44
push eax
lea ecx, [ebp - 0x74]
call fcn.00403476
mov dword [ebp - 0x18], 0x1f
mov byte [ebp - 4], 3
lea edx, [ebp - 0x40]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x74]
call fcn.00402fc0
lea ecx, [ebp - 0x8c]
call fcn.00402fc0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00402fc0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0x427779
cmp dword [eax + edi*4], 0
je 0x42776f
push dword [eax + edi*4]
lea ecx, [ebp - 0x30]
call fcn.00402788
mov dword [ebp - 4], 4
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x4cefa0]
cmp eax, dword [esi + 4]
jle 0x427619
push 0x4cefa0
call fcn.0046f407
cmp dword [0x4cefa0], 0xffffffff
pop ecx
jne 0x427619
push 0x49f94a
call fcn.0046f376
mov dword [esp], 0x4cefa0
call fcn.0046f3b6
pop ecx
mov edx, 0x4cbce8
lea ecx, [ebp - 0x30]
call fcn.0042811e
test al, al
je 0x427632
mov byte [ebx], 1
jmp 0x427760
mov eax, dword [0x4cefa4]
cmp eax, dword [esi + 4]
jle 0x42766a
push 0x4cefa4
call fcn.0046f407
cmp dword [0x4cefa4], 0xffffffff
pop ecx
jne 0x42766a
push 0x49f940
call fcn.0046f376
mov dword [esp], 0x4cefa4
call fcn.0046f3b6
pop ecx
mov edx, 0x4cbcd0
lea ecx, [ebp - 0x30]
call fcn.0042811e
test al, al
je 0x4276ac
cmp dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x30]
mov eax, dword [0x4cbce0]
cmova ecx, dword [ebp - 0x30]
lea edx, [ecx + eax*2]
lea ecx, [ebp - 0x5c]
call fcn.00414e3a
push eax
lea ecx, [ebx + 8]
call fcn.00414d0b
lea ecx, [ebp - 0x5c]
call fcn.00402fc0
jmp 0x427760
mov eax, dword [0x4cefa8]
cmp eax, dword [esi + 4]
jle 0x4276e4
push 0x4cefa8
call fcn.0046f407
cmp dword [0x4cefa8], 0xffffffff
pop ecx
jne 0x4276e4
push 0x49f936
call fcn.0046f376
mov dword [esp], 0x4cefa8
call fcn.0046f3b6
pop ecx
mov edx, 0x4cbcb8
lea ecx, [ebp - 0x30]
call fcn.0042811e
test al, al
je 0x4276fb
mov byte [ebx + 4], 1
jmp 0x427760
mov eax, dword [0x4cefac]
cmp eax, dword [esi + 4]
jle 0x427733
push 0x4cefac
call fcn.0046f407
cmp dword [0x4cefac], 0xffffffff
pop ecx
jne 0x427733
push 0x49f92c
call fcn.0046f376
mov dword [esp], 0x4cefac
call fcn.0046f3b6
pop ecx
mov edx, 0x4cbca0
lea ecx, [ebp - 0x30]
call fcn.0042811e
test al, al
je 0x427760
cmp dword [ebp - 0x20], 2
jbe 0x427760
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
cmp word [eax + 4], 0x30
setne al
mov byte [ebx + 2], al
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00402f3d
mov eax, dword [ebp - 0x10]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x4275bd
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret