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

Disassembly:
push 0xffffffffffffffff
push 0x46aec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [0x47f9b4]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], 0
mov byte [esp + 0x17], 1
call fcn.00401730
mov edi, dword [eax]
mov byte [esp + 0x68], 1
test edi, edi
je 0x431acc
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x431ad9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], edi
test eax, eax
mov byte [esp + 0x68], 0
je 0x431aef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x78]
mov ebp, eax
lea edx, [eax*4]
mov dword [esp + 0x38], ebp
push edx
call fcn.0045cff5
sub esp, 0xc
mov dword [esi + 0x10], eax
mov al, byte [esp + 0x80]
mov edi, esp
mov dword [esp + 0x44], esp
mov dword [esi + 0x28], ebp
push 0
mov ecx, edi
mov byte [edi], al
call fcn.00401a10
mov ecx, dword [0x46f234]
lea edx, [esp + 0x80]
push ecx
push 0
push edx
mov ecx, edi
call fcn.00402510
call fcn.00431900
mov dword [esp + 0x34], eax
add esp, 0x10
fild dword [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x12], 0
mov dword [esi + 0x1c], 2
fld st(0)
fmul dword [esp + 0x84]
mov dword [esi + 0x20], 0x41c00000
fadd dword [0x46f268]
call fcn.0045d004
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x80]
cmp eax, 1
jne 0x431ba7
fmul dword [0x46f268]
fmul dword [0x46f520]
fstp dword [esp + 0x14]
jmp 0x431bba
cmp eax, 2
jne 0x431bb8
fmul dword [0x46f520]
fstp dword [esp + 0x14]
jmp 0x431bba
fstp st(0)
mov eax, dword [esp + 0x14]
xor edi, edi
test ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
jle 0x431fef
cmp dword [esp + 0x78], edi
jb 0x431bf0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x431bf0
lea ecx, [esp + 0x70]
call fcn.00432400
mov ecx, dword [esp + 0x74]
lea eax, [ecx + edi]
jmp 0x431bf5
mov eax, 0x46f230
mov al, byte [eax]
cmp al, 0xd
mov byte [esp + 0x80], al
jne 0x431c24
fld dword [esp + 0x84]
fmul dword [0x46f51c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
jmp 0x431fe2
cmp al, 0x49
sete bl
cmp al, 0x60
jne 0x431c3f
mov al, byte [esp + 0x13]
test al, al
sete al
mov byte [esp + 0x13], al
jmp 0x431fe2
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004504e0
mov byte [esp + 0x84], al
mov eax, 0x66666667
mov ebp, dword [esp + 0x84]
push ecx
and ebp, 0xff
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fstp qword [esp]
call fcn.0045d24d
add esp, 8
call fcn.0045d004
mov ecx, eax
mov dword [esp + 0x2c], eax
neg ecx
shl ecx, 2
sub ecx, eax
mov eax, dword [0x47fb20]
lea edx, [ebp + ecx*2]
mov ecx, dword [eax + 0x454]
mov dword [esp + 0x30], edx
call fcn.00414230
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push 0x3f800000
push 0x3f800000
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push 0x3f800000
mov edx, dword [ecx + eax*4]
mov edi, dword [edx + 0x18]
push edi
mov eax, dword [edi]
call dword [eax + 0x110]
test eax, eax
jge 0x431cec
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [edx + ecx*4]
mov edi, dword [eax + 0x18]
push edi
mov ecx, dword [edi]
call dword [ecx + 0xfc]
test eax, eax
jge 0x431d11
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x431d2c
mov edx, dword [0x47fb20]
mov eax, dword [edx + 0x42c]
mov eax, dword [eax]
jmp 0x431d50
cmp eax, 1
jne 0x431d42
mov ecx, dword [0x47fb20]
mov edx, dword [ecx + 0x42c]
mov eax, dword [edx + 4]
jmp 0x431d50
mov eax, dword [0x47fb20]
mov ecx, dword [eax + 0x42c]
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
add eax, 0x4c
push 0xc0
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x47ac6c]
mov eax, dword [eax]
push 0x80
fld dword [ecx + ebp*4]
fmul dword [0x46f518]
mov edi, dword [edx + 0x18]
push 0x3d99999a
mov edx, dword [edi]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push edi
call dword [edx + 0x164]
test eax, eax
jge 0x431da2
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x50]
push edx
call edi
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov word [esp + 0x50], 0x16
neg al
sbb eax, eax
add eax, 0xc
add ecx, eax
lea eax, [ecx + edx*2]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x5c], eax
call edi
lea edx, [esp + 0x50]
lea eax, [esp + 0x40]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x431df9
push eax
call fcn.0045c2f2
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
sub esp, 0x10
mov byte [esp + 0x78], 2
mov eax, dword [edx + ecx*4]
mov edx, esp
push 0
mov edi, dword [eax + 0x18]
mov eax, dword [esp + 0x54]
mov dword [edx], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [edi]
push edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 0xc], eax
call dword [ecx + 0x5c]
test eax, eax
jge 0x431e42
push 0x4790f8
push edi
push eax
call fcn.0045c300
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x431e5c
push eax
call fcn.0045c2f2
fild dword [esp + 0x2c]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
fld st(0)
fadd dword [0x46f24c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x47ac6c]
fmul dword [esi + 0x20]
mov edi, dword [ecx + 0x18]
fmul dword [0x46f414]
mov eax, dword [edi]
fstp dword [esp + 0x2c]
fild dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push ecx
fmul dword [esi + 0x20]
fst dword [esp + 0x24]
fadd dword [edx + ebp*4]
fmul dword [0x46f418]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fmul dword [esi + 0x20]
push edx
fmul dword [0x46f414]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fmul dword [0x46f418]
mov ecx, dword [esp + 0x3c]
push ecx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
push edx
push edi
call dword [eax + 0x16c]
test eax, eax
jge 0x431ee7
push 0x4790f8
push edi
push eax
call fcn.0045c300
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dl, byte [esp + 0x12]
mov eax, dword [esi + 0x10]
test dl, dl
mov edx, dword [esi + 0x14]
sete cl
mov byte [esp + 0x12], cl
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x18], 0
test eax, eax
je 0x431f26
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x479108
push eax
call dword [edx]
mov edi, dword [esi + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
mov byte [esp + 0x68], 3
mov edx, dword [edi]
push eax
push ecx
push edi
call dword [edx + 0x1a0]
test eax, eax
jge 0x431f51
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov eax, dword [esp + 0x18]
mov byte [esp + 0x68], 0
test eax, eax
je 0x431f64
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push 0
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x20]
push ecx
mov edi, dword [edx + 0x18]
mov edx, dword [esp + 0x1c]
push edx
push edi
mov eax, dword [edi]
call dword [eax + 0xb4]
test eax, eax
jge 0x431f95
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov edx, dword [esi + 0x14]
inc edx
neg bl
mov dword [esi + 0x14], edx
mov eax, dword [0x47ac6c]
sbb ebx, ebx
fld dword [eax + ebp*4]
fadd dword [0x46f390]
and ebx, 3
mov dword [esp + 0x34], ebx
fiadd dword [esp + 0x34]
call fcn.0045d004
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x38]
fild dword [esp + 0x34]
mov edi, dword [esp + 0x24]
fmul dword [0x46f260]
fmul dword [0x46f518]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
inc edi
cmp edi, ebp
mov dword [esp + 0x24], edi
jl 0x431bd0
mov eax, dword [esp + 0x84]
mov esi, dword [esi + 0x18]
push eax
push eax
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x110]
test eax, eax
jge 0x432015
push 0x4790f8
push esi
push eax
call fcn.0045c300
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x432039
mov al, byte [ecx - 1]
test al, al
je 0x43202f
cmp al, 0xff
je 0x43202f
dec al
mov byte [ecx - 1], al
jmp 0x432039
dec ecx
push ecx
call fcn.0045c5a9
add esp, 4
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x20