Function at 0x413300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x34]
call fcn.00425b00
xor ebx, ebx
mov dword [esp + 0x58], 0x42bfc4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x6c], 0x42c1c4
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov eax, dword [edi + 0xb4]
mov ecx, dword [edi + 0x98]
inc eax
mov byte [esp + 0xb8], 1
cmp ecx, eax
jae 0x413398
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14c], ebx
jne 0x4133a9
push 1
mov ecx, edi
call fcn.00411af0
push 0xffffffffffffffff
lea ecx, [edi + 0xc4]
push ebx
call fcn.0040f510
lea esi, [edi + 0xd8]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0040df20
push 0xffffffffffffffff
lea ecx, [edi + 0xec]
push ebx
call fcn.0040df20
mov eax, dword [edi + 0x98]
mov ebp, dword [edi + 0xb4]
mov edx, eax
mov ecx, dword [edi + 0xa0]
sub edx, ebp
mov dword [esp + 0x28], ebx
imul edx, dword [edi + 0xc0]
fld qword [ecx + eax*8]
fsub qword [ecx + ebp*8]
mov dword [esp + 0x24], edx
cmp ebp, eax
fild qword [esp + 0x24]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
fdivp st(1)
fstp qword [esp + 0x24]
jae 0x4136dd
fld qword [ecx + ebp*8]
mov dword [esp + 0x2c], 1
fstp qword [esp + 0x14]
fld qword [esp + 0x24]
fadd qword [ecx + ebp*8 + 8]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4136ce
cmp ebp, dword [edi + 0xb4]
je 0x413469
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x413469
fld qword [esp + 0x14]
fadd qword [esp + 0x24]
mov dword [esp + 0x2c], 0
fstp qword [esp + 0x14]
jmp 0x4136b1
fld qword [esp + 0x14]
fcomp qword [ecx + ebp*8 + 8]
fnstsw ax
test ah, 0x41
jne 0x41357c
fld qword [ecx + ebp*8 + 8]
lea edx, [esp + 0x80]
fstp qword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebp
push edx
mov ecx, edi
call fcn.00412e60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov dword [esp + 0x64], edx
call fcn.00425b50
lea ecx, [esp + 0x70]
call fcn.0040dd80
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ebx, ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
jne 0x41353a
sub esp, 0x18
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00425b50
lea ecx, [edi + 0xc4]
call fcn.0040dd80
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
inc eax
push eax
mov ecx, esi
call fcn.0040df20
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
fld qword [esp + 0x14]
fstp qword [ecx + edx*8]
jmp 0x4136a0
mov ecx, dword [esp + 0x30]
mov eax, ebx
sub eax, ecx
cmp eax, 2
jle 0x4136a0
lea eax, [ebx - 1]
push eax
push ecx
lea ecx, [esp + 0x60]
push ecx
call fcn.0040db50
fcomp qword [0x42be48]
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x4136a0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
jmp 0x413664
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0xa0]
push ebp
push edx
mov ecx, edi
call fcn.00412e60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov dword [esp + 0x64], edx
call fcn.00425b50
lea ecx, [esp + 0x70]
call fcn.0040dd80
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ebx, ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
jne 0x41362f
sub esp, 0x18
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00425b50
lea ecx, [edi + 0xc4]
call fcn.0040dd80
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
inc eax
push eax
mov ecx, esi
call fcn.0040df20
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
fld qword [esp + 0x14]
fstp qword [ecx + edx*8]
jmp 0x4136a0
mov ecx, dword [esp + 0x30]
mov eax, ebx
sub eax, ecx
cmp eax, 2
jle 0x4136a0
lea eax, [ebx - 1]
push eax
push ecx
lea ecx, [esp + 0x60]
push ecx
call fcn.0040db50
fcomp qword [0x42be48]
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x4136a0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x4c]
push edx
call fcn.00425b50
lea ecx, [edi + 0xc4]
call fcn.0040dd80
mov ebx, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea eax, [ebx + 1]
push eax
call fcn.0040df20
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 4]
fld qword [esp + 0x14]
lea eax, [edx - 1]
fstp qword [ecx + ebx*8]
mov dword [esp + 0x30], eax
mov ebx, edx
fld qword [esp + 0x14]
fadd qword [esp + 0x24]
inc ebx
mov dword [esp + 0x10], ebx
fstp qword [esp + 0x14]
mov ecx, dword [edi + 0xa0]
fld qword [esp + 0x24]
fadd qword [ecx + ebp*8 + 8]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x413440
mov eax, dword [edi + 0x98]
inc ebp
cmp ebp, eax
jb 0x41341a
mov ebp, dword [edi + 0xcc]
cmp ebp, 2
jae 0x413725
sub esp, 0x18
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00425b50
lea ecx, [edi + 0xc4]
call fcn.0040dd80
mov ebx, dword [esi + 8]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
mov ecx, esi
call fcn.0040df20
mov edx, dword [esi + 4]
fld qword [esp + 0x4c]
fstp qword [edx + ebx*8]
jmp 0x4137ce
mov eax, dword [edi + 0xc8]
lea ebx, [ebp + ebp*2]
shl ebx, 3
lea edx, [esp + 0x34]
lea ecx, [eax + ebx - 0x18]
push ecx
push edx
call fcn.00425d80
fcomp qword [0x42bf00]
add esp, 8
fnstsw ax
test ah, 1
je 0x413796
mov eax, dword [edi + 0xc8]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax + ebx - 0x18], ecx
lea eax, [eax + ebx - 0x18]
fld qword [esp + 0x4c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [edi + 0xdc]
fstp qword [eax + ebp*8 - 8]
jmp 0x4137ce
sub esp, 0x18
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00425b50
lea ecx, [edi + 0xc4]
call fcn.0040dd80
mov ebx, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea eax, [ebx + 1]
push eax
call fcn.0040df20
mov ecx, dword [esi + 4]
fld qword [esp + 0x4c]
fstp qword [ecx + ebx*8]
mov ebx, dword [edi + 0xf4]
lea esi, [edi + 0xec]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [ebx + 1]
mov dword [esp + 0x28], 0
push edx
mov dword [esp + 0x30], 0
call fcn.0040df20
mov eax, dword [esi + 4]
mov dword [eax + ebx*8], 0
mov dword [eax + ebx*8 + 4], 0
mov eax, dword [edi + 0xcc]
cmp eax, 1
jbe 0x413864
dec eax
mov ebp, 0x18
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + 0xc8]
lea eax, [ecx + ebp]
push eax
add eax, 0xffffffe8
push eax
call fcn.00425d80
mov ebx, dword [esi + 8]
add esp, 8
fadd qword [esp + 0x24]
lea edx, [ebx + 1]
push 0xffffffffffffffff
push edx
mov ecx, esi
fstp qword [esp + 0x2c]
call fcn.0040df20
mov eax, dword [esi + 4]
add ebp, 0x18
fld qword [esp + 0x24]
fstp qword [eax + ebx*8]
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x41381e
mov eax, dword [edi + 0xbc]
mov dword [edi + 0x100], 1
test eax, eax
mov dword [edi + 0x104], 0
jne 0x41388b
push 1
mov ecx, edi
call fcn.004196c0
mov dword [esp + 0x58], 0x42bfc4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb8], 5
test eax, eax
je 0x4138af
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xb0]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret