Function at 0x410190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41f220
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [eax], 0
mov eax, dword [esp + 0x40]
mov dword [ecx], 0
mov dword [edx], 0
mov dword [eax], 0
mov edx, dword [0x434350]
mov eax, dword [edx + 0xc]
mov ecx, 0x434350
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [0x434350]
mov eax, dword [edx + 0xc]
mov ecx, 0x434350
mov dword [esp + 0x38], 0
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, dword [0x434350]
mov eax, dword [edx + 0xc]
mov ecx, 0x434350
mov byte [esp + 0x38], 1
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov edx, dword [0x434350]
mov eax, dword [edx + 0xc]
mov ecx, 0x434350
mov byte [esp + 0x38], 2
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax - 0xc]
add esi, 0xc
test ecx, ecx
mov byte [esp + 0x38], 3
jle 0x41027e
mov ebp, dword [sym.imp.MSVCR80.dll__mbschr]
push 0x2e
push eax
call ebp
add esp, 8
test eax, eax
je 0x41027e
sub eax, dword [esi]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
jne 0x4102cc
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41029f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4102c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x4104fd
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
add eax, 1
mov dword [esp + 0x2c], eax
js 0x41027e
cmp eax, edx
jge 0x41027e
add ecx, eax
push 0x2e
push ecx
call ebp
add esp, 8
test eax, eax
je 0x41027e
sub eax, dword [esi]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4102fb
mov edi, dword [esp + 0x1c]
jmp 0x41027e
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
jl 0x410322
cmp ebx, ecx
jge 0x410322
add eax, ebx
push 0x2e
push eax
call ebp
add esp, 8
test eax, eax
je 0x410322
sub eax, dword [esi]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x410353
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410347
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
jmp 0x4102a2
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.0040fe60
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 4
call fcn.00402b30
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x2c]
mov ecx, edi
sub ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
sub ecx, 1
push ecx
push edx
push eax
mov ecx, esi
call fcn.00401d20
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 5
call fcn.00402b30
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebp
sub ecx, edi
sub ecx, 1
push ecx
push ebx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00401d20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 6
call fcn.00402b30
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410430
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
sub eax, ebp
sub eax, 1
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0040fde0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 7
call fcn.00402b30
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41047b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCR80.dll_atoi]
push ecx
call esi
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x1c]
push ebp
mov dword [edx], eax
call esi
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ecx], eax
call esi
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x2c]
push edi
mov dword [edx], eax
call esi
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
lea eax, [edi - 0x10]
add esp, 0x10
mov byte [esp + 0x38], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4104d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4104fa
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41051b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x38], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41053f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10