Function at 0x4042b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429c98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x434d68]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00408798
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4042f8
push 0x80004005
call fcn.00402ea0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x42f0f8
mov eax, 0x439524
call fcn.00405f20
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx edx, word [esp + 0x30]
movzx ecx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push ecx
movzx ecx, word [esp + 0x34]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push str._04d__02d__02d__02d:_02d:_02d_CommandLine_s_r_n
push edx
call fcn.00403390
mov eax, dword [esp + 0x34]
add esp, 0x24
push eax
mov eax, 0x439524
call fcn.00405f20
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004035e0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
movzx ecx, byte [ebp + 8]
push edx
push eax
push str.NULL
push esi
push ecx
lea edx, [esp + 0x28]
push str.GE_GetURLExW_Category_d_DeviceID_s_Additional_s_Lang_d_Country_d_WSI_d_r_n
push edx
call fcn.00403390
mov eax, dword [esp + 0x30]
push eax
mov eax, 0x439524
call fcn.00405f20
add esp, 0x24
call fcn.00408798
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4043d7
push 0x80004005
call fcn.00402ea0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x40], 1
call fcn.00408798
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404406
push 0x80004005
call fcn.00402ea0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x40], 2
call fcn.00408798
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404435
push 0x80004005
call fcn.00402ea0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 3
call fcn.00408798
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404464
push 0x80004005
call fcn.00402ea0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push esi
mov byte [esp + 0x48], 4
call fcn.00404960
lea ebx, [esp + 0x20]
lea edi, [esp + 0x24]
call fcn.00404e40
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push ebx
push eax
lea ecx, [esp + 0x28]
push str.OSV_sPSI4_sOATR_s
push ecx
call fcn.00403390
mov edi, dword [esp + 0x30]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
add esp, 0x1c
or ecx, eax
jge 0x4044d4
push 0
lea ecx, [esp + 0x18]
call fcn.00403280
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push 1
push edx
push edi
push eax
mov ecx, esi
call fcn.00403900
mov esi, eax
lea eax, [edi - 0x10]
add esp, 0x1c
mov byte [esp + 0x40], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404518
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40455e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14