Function at 0x41e630
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cab9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4921d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], esi
mov edi, 1
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c60
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004015f0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov esi, dword [ebx - 0xc]
test esi, esi
jns 0x41e6be
push 0x80070057
call fcn.00401b10
mov eax, dword [ebx - 8]
mov ecx, edi
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x41e6d8
push esi
lea ecx, [ebp - 0x18]
call fcn.00401a70
mov ebx, dword [ebp - 0x18]
lea edx, [esi + 1]
push edx
push ebx
call fcn.0044cc87
add esp, 8
cmp esi, dword [ebx - 8]
jg 0x41e6b4
xor eax, eax
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], ax
mov eax, dword [ebx - 0xc]
test eax, eax
js 0x41e851
push 0x47f338
push ebx
call fcn.0044ca64
add esp, 8
test eax, eax
je 0x41e851
sub eax, ebx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x41e851
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
lea edx, [ebp - 0x10]
push edx
lea ecx, [edi + 3]
lea edx, [ebp - 0x14]
call fcn.004014a0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
jns 0x41e750
push 0x80070057
call fcn.00401b10
cmp word [esi], 0x22
jne 0x41e7d3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
lea edx, [ebp - 0x10]
push edx
lea ecx, [edi + 4]
lea edx, [ebp - 0x20]
call fcn.004014a0
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00404aa0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e79a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jl 0x41e831
push 0x47f340
push esi
call fcn.0044ca64
add esp, 8
test eax, eax
je 0x41e831
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x41e831
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x14]
call fcn.0040b5a0
mov byte [ebp - 4], 5
jmp 0x41e806
test eax, eax
jns 0x41e7dc
or eax, 0xffffffff
jmp 0x41e7f7
push 0x47b6d0
push esi
call fcn.0044ca64
add esp, 8
test eax, eax
jne 0x41e7f3
or eax, 0xffffffff
jmp 0x41e7f7
sub eax, esi
sar eax, 1
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x14]
call fcn.0040b5a0
mov byte [ebp - 4], 6
mov edi, dword [ebp + 8]
call fcn.00404aa0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e851
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e871
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4