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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eb604
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
push edi
lea ebp, [ecx + 0x40]
lea eax, [esp + 0x60]
mov dword [esp + 0x48], ecx
push 0
push eax
mov ecx, ebp
call fcn.00416560
test eax, eax
je 0x469233
add eax, 4
jmp 0x469235
xor eax, eax
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
call fcn.004ba050
lea ecx, [esp + 0x60]
push 1
push ecx
mov ecx, ebp
call fcn.00416560
test eax, eax
je 0x469262
add eax, 4
jmp 0x469264
xor eax, eax
mov edx, dword [eax + 4]
mov esi, dword [eax]
lea ecx, [esp + 0x60]
mov dword [esp + 0x28], edx
call fcn.004ba050
mov eax, dword [esp + 0x28]
push eax
push esi
push ebx
push edi
call fcn.00434490
fadd qword [0x4f6e50]
add esp, 0x10
fst qword [esp + 0x14]
fcomp qword [0x4f6e30]
fnstsw ax
test ah, 1
jne 0x4692ab
fld qword [esp + 0x14]
fsub qword [0x4f6e30]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push ecx
push esi
push ebx
push edi
call fcn.00434090
fstp qword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.00434930
add esp, 0x18
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x60]
push 1
push ecx
mov ecx, ebp
mov dword [esp + 0x28], eax
call fcn.00416560
xor esi, esi
cmp eax, esi
je 0x4692f0
add eax, 4
jmp 0x4692f2
xor eax, eax
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
call fcn.004ba050
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push ebx
lea ecx, [esp + 0x84]
push edi
push ecx
call fcn.00433a70
mov edx, dword [eax]
add esp, 0x18
mov dword [esp + 0x84], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], 0x4f57c0
mov dword [esp + 0x88], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0xb0], esi
call fcn.004163d0
lea eax, [esi + 1]
lea ebx, [esp + esi*8 + 0x7c]
mov dword [esp + 0x24], eax
and eax, 0x80000001
jns 0x469381
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
lea edi, [esp + eax*8 + 0x7c]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00434490
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
fstp qword [esp + 0x2c]
push ecx
push edx
call fcn.00434490
fld qword [esp + 0x34]
fcomp st(1)
add esp, 0x20
fnstsw ax
test ah, 1
jne 0x4693cb
fadd qword [0x4f6e30]
fadd qword [esp + 0x14]
fmul qword [0x4f67f8]
fst qword [esp + 0x14]
fcomp qword [0x4f6e30]
fnstsw ax
test ah, 0x41
jne 0x4693f4
fld qword [esp + 0x14]
fsub qword [0x4f6e30]
fstp qword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.00433a70
add esp, 0x18
test esi, esi
jne 0x4694ac
lea ecx, [esp + 0x8c]
call fcn.004ba030
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push esi
push eax
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0xb4], 1
call fcn.004ba080
lea eax, [esp + 0x8c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0xa4]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xac]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x40]
call fcn.00416650
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa8], 0
call fcn.004ba050
lea ecx, [esp + 0x4c]
call fcn.004ba030
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push 5
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb4], 2
call fcn.004ba080
lea ecx, [esp + 0x60]
call fcn.004ba030
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push 3
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], 3
call fcn.004ba080
lea eax, [esp + 0x4c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x64]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x6c]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x40]
call fcn.00416650
lea eax, [esp + 0x60]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x78]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x80]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x84]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x40]
call fcn.00416650
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.004ba050
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0
call fcn.004ba050
mov esi, dword [esp + 0x24]
cmp esi, 2
jl 0x46936a
mov esi, dword [esp + 0x48]
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4695c3
lea ecx, [esp + 0x2c]
push ecx
call fcn.004af920
add esp, 4
mov dword [esi + 0x3c], ebx
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.004163d0
mov ecx, dword [esp + 0x34]
mov edi, ecx
cmp ecx, ebx
mov dword [esp + 0x24], edi
jne 0x46961a
mov esi, dword [ebp + 4]
cmp esi, ebx
je 0x46960f
mov eax, dword [ebp + 8]
mov edx, eax
dec eax
test edx, edx
je 0x4695fc
lea edi, [eax + 1]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
add esi, 0x14
dec edi
jne 0x4695ef
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x46976e
mov edx, dword [ebp + 4]
cmp edx, ebx
jne 0x469687
lea esi, [ecx + ecx*4]
shl esi, 2
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 4], edi
mov ebx, edi
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x48], ebx
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
lea esi, [edi]
mov dword [esp + 0x14], ebx
test ebx, ebx
mov byte [esp + 0xa8], 4
je 0x46966a
mov ecx, ebx
call fcn.004ba030
add ebx, 0x14
dec esi
mov byte [esp + 0xa8], 0
mov dword [esp + 0x48], ebx
jne 0x469653
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x469768
mov esi, dword [ebp + 0xc]
cmp ecx, esi
jg 0x4696cd
mov eax, dword [ebp + 8]
cmp eax, ecx
jge 0x4696b0
sub ecx, eax
lea eax, [eax + eax*4]
push ecx
lea ecx, [edx + eax*4]
push ecx
call fcn.00416ff0
mov ecx, dword [esp + 0x34]
mov dword [ebp + 8], edi
jmp 0x46976e
jle 0x4696c5
sub eax, ecx
push eax
lea eax, [ecx + ecx*4]
lea ecx, [edx + eax*4]
push ecx
call fcn.00416fc0
mov ecx, dword [esp + 0x34]
mov dword [ebp + 8], edi
jmp 0x46976e
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x4696f8
mov eax, dword [ebp + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4696ec
mov eax, 4
jmp 0x4696f8
cmp eax, 0x400
jle 0x4696f8
mov eax, 0x400
add eax, esi
cmp ecx, eax
jge 0x469704
mov dword [esp + 0x20], eax
jmp 0x46970a
mov dword [esp + 0x20], ecx
mov eax, ecx
lea edx, [eax + eax*4]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, ebx
lea ecx, [eax + eax*4]
add esp, 4
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x24]
mov ecx, esi
lea edx, [eax + eax*4]
sub ecx, eax
push ecx
lea eax, [ebx + edx*4]
push eax
call fcn.00416ff0
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x34]
xor ebx, ebx
xor esi, esi
cmp ecx, ebx
jle 0x4697e3
lea edx, [esp + 0x4c]
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.00416560
lea eax, [esp + 0x4c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x64]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
mov edx, dword [eax]
mov byte [esp + 0xc0], 5
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x70]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x74]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.004165b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0
call fcn.004ba050
mov ecx, dword [esp + 0x34]
inc esi
cmp esi, ecx
jl 0x469774
mov dword [esp + 0x2c], 0x4f57c0
mov esi, dword [esp + 0x30]
mov dword [esp + 0xa8], 6
cmp esi, ebx
je 0x46981e
cmp ecx, ebx
je 0x469815
lea edi, [ecx]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
dec edi
jne 0x469804
mov esi, dword [esp + 0x30]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xa0]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret