Function at 0x42b810
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49bde6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
xor edi, edi
call fcn.0042b470
lea eax, [esp + 0x20]
push eax
call fcn.0043ed50
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x34], esi
push edx
mov ebx, str._sres.daw
mov dword [esp + 0x20], esi
call fcn.00406650
mov eax, dword [eax]
push 0x4ae834
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004762ec
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42b8da
mov ecx, dword [esp + 0x18]
push 2
push 0
push ecx
call fcn.00476726
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
call fcn.00476936
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00476a08
add esp, 4
test esi, esi
jne 0x42b8e7
call fcn.0043e2d0
test eax, eax
je 0x42b98f
call fcn.0042a950
call fcn.0042ba90
call fcn.0042aaf0
call fcn.0042b600
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 1
lea ecx, [esp + 0x20]
push 0x4ad110
push ecx
mov byte [esp + 0x3c], 1
call fcn.0040c2b0
add esp, 0xc
test byte [0x4d9890], 1
jne 0x42b957
or dword [0x4d9890], 1
mov byte [esp + 0x30], 2
call fcn.0041c0b0
push 0x4a1fa0
call fcn.00473c75
add esp, 4
mov byte [esp + 0x30], 1
lea eax, [esp + 0x1c]
mov edi, 0x4d9834
call fcn.00404db0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov edi, 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b98f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0043e8f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
call fcn.00401ba0
mov byte [esp + 0x30], 3
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
test esi, esi
jns 0x42b9be
push 0x80070057
call fcn.00401a50
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x42b9dd
push esi
lea ecx, [esp + 0x18]
call fcn.004019b0
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00474cd7
mov eax, dword [esp + 0x1c]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x42b9b4
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + esi*2], dx
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edx
jl 0x42ba2a
push 0x4ae850
push ecx
call fcn.00474ab4
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x42ba2a
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x42ba2a
xor edi, edi
lea eax, [ecx - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret