Function at 0x424520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46fd10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004140c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x40], eax
xor ebp, ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], ebp
call fcn.00424450
lea ecx, [esp + 0x40]
call fcn.004243f0
lea ecx, [esp + 0x40]
call fcn.0041e6b0
push 0x20
lea ecx, [esp + 0x44]
call fcn.00424330
push 4
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x48]
call fcn.004244f0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.00414500
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4245d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x48]
call fcn.00424260
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call fcn.00414500
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42461b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x493fc0]
mov eax, dword [edx + 0xc]
mov ecx, 0x493fc0
xor esi, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x38], 3
jmp 0x424652
xor ebp, ebp
cmp dword [esp + 0x14], 4
jge 0x424779
cmp esi, ebp
mov eax, dword [ebx - 0xc]
jl 0x42467e
cmp esi, eax
jg 0x42467e
lea ecx, [esi + ebx]
push 0x480b68
push ecx
call dword [sym.imp.MSVCR90.dll__mbsstr]
add esp, 8
cmp eax, ebp
jne 0x4246e9
or ebp, 0xffffffff
mov eax, dword [ebx - 0xc]
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004241b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 5
call fcn.00414500
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4246ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x14], ecx
cmp eax, 3
ja case.default.0x4246e2
jmp dword [eax*4 + 0x4247f8]
sub eax, ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x424681
mov edx, ebp
sub edx, esi
push edx
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
call fcn.004241b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 4
call fcn.00414500
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 0x42473a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 1]
jmp 0x4246ca
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [esp + 0x28], eax
jmp 0x42476d
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [esp + 0x24], eax
jmp 0x42476d
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [esp + 0x20], eax
jmp 0x42476d
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
cmp ebp, 0xffffffff
jne 0x424650
movzx ecx, byte [esp + 0x1c]
movzx edx, byte [esp + 0x20]
movzx eax, byte [esp + 0x24]
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x44]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
lea eax, [edi - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4247b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4247dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret