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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esp + 0x48]
mov ebx, 3
mov ecx, edi
call fcn.00425b00
add edi, 0x18
dec ebx
jne 0x4196f3
xor ebx, ebx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0x20], 0x42bfc4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov ecx, esi
mov dword [esp + 0x1b8], ebx
call fcn.004138d0
mov edi, eax
cmp edi, 2
mov dword [esp + 0x14], edi
jge 0x41985f
mov dword [esp + 0x20], 0x42bfc4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1b8], 1
cmp eax, ebx
je 0x419e1b
jmp 0x419e12
test edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jle 0x419df7
test ebx, ebx
jne 0x4198ce
lea eax, [esp + 0x168]
push ebx
push eax
mov ecx, esi
call fcn.00413900
push eax
lea ecx, [esp + 0x4c]
call fcn.0040e220
sub esp, 0x18
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00425b50
lea ecx, [esp + 0x38]
call fcn.0040dd80
inc dword [esp + 0x10]
jmp 0x419aa5
lea eax, [edi - 1]
cmp ebx, eax
je 0x419ab4
lea ecx, [ebx - 1]
lea edx, [esp + 0x138]
push ecx
push edx
mov ecx, esi
call fcn.00413900
push eax
lea ecx, [esp + 0x4c]
call fcn.0040e220
lea eax, [esp + 0x198]
push ebx
push eax
mov ecx, esi
call fcn.00413900
push eax
lea ecx, [esp + 0x64]
call fcn.0040e220
lea edi, [ebx + 1]
lea ecx, [esp + 0x180]
push edi
push ecx
mov ecx, esi
call fcn.00413900
push eax
lea ecx, [esp + 0x7c]
call fcn.0040e220
fld qword [esp + 0x60]
fsub qword [esp + 0x48]
lea edx, [esp + 0xf0]
lea ecx, [esp + 0xc0]
push edx
fstp qword [esp + 0xf4]
fld qword [esp + 0x6c]
fsub qword [esp + 0x54]
fstp qword [esp + 0xfc]
fld qword [esp + 0x74]
fsub qword [esp + 0x5c]
fstp qword [esp + 0x104]
call fcn.00425e60
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x150]
push eax
push ecx
call fcn.004261c0
add esp, 8
lea ecx, [esp + 0x90]
push eax
call fcn.00426290
fld qword [esp + 0x78]
fsub qword [esp + 0x60]
lea edx, [esp + 0x108]
lea ecx, [esp + 0xd8]
push edx
fstp qword [esp + 0x10c]
fld qword [esp + 0x84]
fsub qword [esp + 0x6c]
fstp qword [esp + 0x114]
fld qword [esp + 0x8c]
fsub qword [esp + 0x74]
fstp qword [esp + 0x11c]
call fcn.00425e60
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x120]
push eax
push ecx
call fcn.004261c0
add esp, 8
lea ecx, [esp + 0xa8]
push eax
call fcn.00426290
lea edx, [esp + 0x90]
lea eax, [esp + 0xa8]
push edx
push eax
call fcn.00426110
add esp, 8
call fcn.00427c12
fabs
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
mov eax, dword [esi + 0xf0]
fld qword [eax + edi*8]
fsub qword [eax + ebx*8]
fadd qword [esp + 0x3c]
fstp qword [esp + 0x3c]
fld qword [esp + 0x34]
fcomp qword [0x42c1e8]
fnstsw ax
test ah, 0x41
je 0x419a5c
fld qword [esp + 0x3c]
fcomp qword [0x42beb8]
fnstsw ax
test ah, 0x41
jne 0x419aa1
sub esp, 0x18
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00425b50
lea ecx, [esp + 0x38]
call fcn.0040dd80
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], 0
inc eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x14]
inc ebx
cmp ebx, edi
jl 0x41988b
mov eax, dword [esp + 0x10]
jmp 0x419af0
dec edi
lea eax, [esp + 0x120]
push edi
push eax
mov ecx, esi
call fcn.00413900
push eax
lea ecx, [esp + 0x4c]
call fcn.0040e220
sub esp, 0x18
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00425b50
lea ecx, [esp + 0x38]
call fcn.0040dd80
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
jne 0x419be4
lea ebx, [esi + 0x108]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esi + 0x14c], 0
call fcn.0040f510
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x11c]
call fcn.0040df20
push 0
lea ecx, [esp + 0x24]
call fcn.0040f650
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00425b50
mov ecx, ebx
call fcn.0040dd80
mov ecx, esi
call fcn.00415c70
fmul qword [0x42ae20]
sub esp, 8
lea eax, [esp + 0x128]
mov ecx, esi
fstp qword [esp]
push eax
call fcn.00419380
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x78], edx
call fcn.00425b50
mov ecx, ebx
call fcn.0040dd80
push 1
lea ecx, [esp + 0x24]
call fcn.0040f650
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00425b50
mov ecx, ebx
call fcn.0040dd80
mov eax, dword [ebp + 8]
mov dword [esi + 0xbc], 1
test eax, eax
je 0x419df7
jmp 0x419dee
jle 0x419df7
xor edi, edi
lea ebx, [esi + 0x108]
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [esi + 0x14c], edi
call fcn.0040f510
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x11c]
call fcn.0040df20
mov ecx, dword [esp + 0x28]
cmp ecx, edi
mov dword [esp + 0x14], ecx
jne 0x419c3e
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x419c33
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x419d97
mov edx, dword [ebx + 4]
cmp edx, edi
jne 0x419cc1
lea edi, [ecx + ecx*2]
shl edi, 3
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov dword [esp + 0x14], edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
lea eax, [edi]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
test ecx, ecx
mov byte [esp + 0x1b8], 2
je 0x419c98
call fcn.00425b00
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 0x18
dec eax
mov byte [esp + 0x1b8], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x419c7b
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x419d97
mov edi, dword [ebx + 0xc]
cmp ecx, edi
jg 0x419cee
mov eax, dword [ebx + 8]
cmp ecx, eax
jle 0x419ce2
sub ecx, eax
push ecx
lea ecx, [eax + eax*2]
lea edx, [edx + ecx*8]
push edx
call fcn.0040e080
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [ebx + 8], eax
jmp 0x419d97
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x419d19
mov eax, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x419d0d
mov eax, 4
jmp 0x419d19
cmp eax, 0x400
jle 0x419d19
mov eax, 0x400
add eax, edi
cmp ecx, eax
jge 0x419d25
mov dword [esp + 0x10], eax
jmp 0x419d2b
mov dword [esp + 0x10], ecx
mov eax, ecx
lea ecx, [eax + eax*2]
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x1c], eax
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*2]
push edx
lea edx, [eax + ecx*8]
push edx
call fcn.0040e080
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], esi
mov esi, dword [esp + 0x1c]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ebx + 4], eax
mov edx, dword [esp + 0x24]
mov ebx, dword [ebx + 4]
test ecx, ecx
je 0x419ddd
mov dword [esp + 0x14], ecx
mov eax, edx
mov ecx, ebx
add edx, 0x18
add ebx, 0x18
mov edi, dword [eax]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov dword [ecx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [ecx + 0xc], edi
mov edi, dword [eax + 0x10]
mov dword [ecx + 0x10], edi
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x419da6
mov eax, dword [ebp + 8]
mov dword [esi + 0xbc], 1
test eax, eax
je 0x419df7
push 1
mov ecx, esi
call fcn.00413b80
mov dword [esp + 0x20], 0x42bfc4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1b8], 3
test eax, eax
je 0x419e1b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4