Function at 0x41da60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d276
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
xor edi, edi
call fcn.0041d6c0
lea eax, [esp + 0x20]
push eax
call fcn.0043a780
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.004066b0
mov eax, dword [eax]
push 0x4aebb4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004754dc
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 0x41daf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41db2a
mov ecx, dword [esp + 0x18]
push 2
push 0
push ecx
call fcn.00475916
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
call fcn.00475b26
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00475bf8
add esp, 4
test esi, esi
jne 0x41db37
call fcn.00439d00
test eax, eax
je 0x41dbdf
call fcn.0041cba0
call fcn.0041dce0
call fcn.0041cd40
call fcn.0041d850
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 0x4ad518
push ecx
mov byte [esp + 0x3c], 1
call fcn.0040bea0
add esp, 0xc
test byte [0x4da8c0], 1
jne 0x41dba7
or dword [0x4da8c0], 1
mov byte [esp + 0x30], 2
call fcn.00431400
push 0x4a32c0
call fcn.00472e64
add esp, 4
mov byte [esp + 0x30], 1
lea eax, [esp + 0x1c]
mov edi, 0x4da85c
call fcn.00404dc0
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 0x41dbdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0043a320
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
call fcn.00401c90
mov byte [esp + 0x30], 3
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
test esi, esi
jns 0x41dc0e
push 0x80070057
call fcn.00401b40
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x41dc2d
push esi
lea ecx, [esp + 0x18]
call fcn.00401aa0
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00473f3c
mov eax, dword [esp + 0x1c]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x41dc04
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 0x41dc7a
push 0x4aebd0
push ecx
call fcn.00473d19
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x41dc7a
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x41dc7a
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 0x41dc9b
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 0x41dcc3
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