Function at 0x41b600
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41b635
sub eax, edx
mov esi, eax
cmp esi, 0xf4240
jb 0x41b668
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41b668
push esi
push str.fatal_buffer_size_error__size_lu
push 0x10
call fcn.00408640
add esp, 0xc
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
push 0x100
push 0xa
lea ebx, [esp + 0x38]
lea esi, [esp + 0x28]
mov dword [esp + 0x34], edi
call fcn.00403790
add esp, 8
test eax, eax
je 0x41b6b3
add dword [esp + 0x10], 1
push 0x100
push 0xa
lea ebx, [esp + 0x38]
lea esi, [esp + 0x28]
call fcn.00403790
add esp, 8
test eax, eax
jne 0x41b693
mov ecx, dword [esp + 0x10]
add ecx, 1
mov eax, ecx
mov edx, 4
mul edx
cmp ecx, 0xffffffff
mov esi, eax
ja 0x41b6d3
test edx, edx
ja 0x41b6d3
cmp esi, 0xffffffff
jbe 0x41b6f0
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41b6f0
push str.attemped_allocation_of_excessively_large_array
push 0x10
call fcn.00408640
add esp, 8
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x41b839
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x41b712
jmp fcn.00408a80
mov edx, dword [ebx]
lea ecx, [eax + 4]
mov dword [eax], edx
mov dword [esp + 0x14], ecx
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
push esi
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41b734
sub eax, edx
mov esi, eax
cmp esi, 0xf4240
jb 0x41b767
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41b767
push esi
push str.fatal_buffer_size_error__size_lu
push 0x10
call fcn.00408640
add esp, 0xc
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
push 0x100
push 0xa
lea ebx, [esp + 0x38]
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], edi
call fcn.00403790
add esp, 8
test eax, eax
je 0x41b8a4
lea ebx, [ebx]
lea edi, [esp + 0x30]
call fcn.004033c0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x10]
jl 0x41b7da
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41b7da
push 0x69a
push str..misc.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov al, byte [esp + 0x30]
test al, al
lea ebx, [esp + 0x30]
je 0x41b7f8
cmp al, 0x20
je 0x41b7ee
cmp al, 9
jne 0x41b7f8
mov al, byte [ebx + 1]
add ebx, 1
test al, al
jne 0x41b7e6
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41b800
sub eax, edx
cmp dword [esp + 0x1c], 0
lea edi, [eax + 1]
je 0x41b854
lea edx, [edi + 4]
push edx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
je 0x41b70d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [eax], edx
lea esi, [eax + 4]
mov dword [ecx], eax
jmp 0x41b868
push esi
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x41b71f
jmp fcn.00408a80
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x41b70d
push edi
push ebx
push esi
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [ecx + eax*4], esi
add eax, 1
push 0x100
push 0xa
lea ebx, [esp + 0x38]
lea esi, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00403790
add esp, 8
test eax, eax
jne 0x41b7a0
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x10]
jle 0x41b8d5
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41b8d5
push 0x69e
push str..misc.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x134]
pop edi
mov dword [eax + esi*4], 0
pop esi
pop ebx
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret