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

Disassembly:
push 0xffffffffffffffff
push 0x46ae70
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]
mov ebx, 1
push eax
mov dword [esp + 0x6c], 0
mov byte [esp + 0x16], bl
call fcn.00401730
mov edi, dword [eax]
mov byte [esp + 0x68], bl
test edi, edi
je 0x43133f
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x43134c
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 0x431362
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
add esp, 4
xor edi, edi
test ebp, ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x28], ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x13], 0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x42800000
jle 0x43140b
cmp dword [esp + 0x78], edi
jb 0x4313ce
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4313ce
lea ecx, [esp + 0x70]
call fcn.00432400
mov eax, dword [esp + 0x74]
add eax, edi
jmp 0x4313d3
mov eax, 0x46f230
mov cl, byte [eax]
push ecx
call fcn.00450490
add esp, 4
cmp al, 0x7e
mov byte [esp + 0x1c], al
je 0x431406
mov edx, dword [esp + 0x1c]
mov eax, dword [0x47a9e8]
and edx, 0xff
fld dword [eax + edx*4]
fmul dword [0x46f514]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
inc edi
cmp edi, ebp
jl 0x4313af
fld dword [esp + 0x18]
fmul dword [esp + 0x84]
fadd dword [0x46f268]
call fcn.0045d004
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x80]
cmp eax, ebx
jne 0x43143b
fld dword [esp + 0x18]
fmul dword [0x46f268]
jmp 0x431444
cmp eax, 2
jne 0x43144e
fld dword [esp + 0x18]
fmul dword [0x46f520]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
xor edi, edi
test ebp, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
jle 0x431897
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [esp + 0x78], edi
jb 0x43148a
mov eax, dword [esp + 0x74]
test eax, eax
je 0x43148a
lea ecx, [esp + 0x70]
call fcn.00432400
mov edx, dword [esp + 0x74]
lea eax, [edx + edi]
jmp 0x43148f
mov eax, 0x46f230
mov al, byte [eax]
cmp al, 0xd
mov byte [esp + 0x1c], al
jne 0x4314bb
fld dword [esp + 0x84]
fmul dword [0x46f51c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
fsubr dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x43188a
cmp al, 0x60
jne 0x4314d1
mov al, byte [esp + 0x12]
test al, al
sete cl
mov byte [esp + 0x12], cl
jmp 0x43188a
mov edx, dword [esp + 0x1c]
push edx
call fcn.00450490
mov byte [esp + 0x20], al
push ecx
mov ebp, dword [esp + 0x24]
and ebp, 0xff
mov eax, ebp
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp qword [esp]
call fcn.0045d24d
add esp, 8
call fcn.0045d004
mov ecx, dword [0x47fb20]
mov dword [esp + 0x2c], eax
neg eax
mov ecx, dword [ecx + 0x454]
lea eax, [ebp + eax*8]
mov dword [esp + 0x30], eax
call fcn.00414230
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push 0x3f800000
push 0x3f800000
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push 0x3f800000
mov ecx, dword [eax + edx*4]
mov edi, dword [ecx + 0x18]
push edi
mov edx, dword [edi]
call dword [edx + 0x110]
test eax, eax
jge 0x431569
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx + 0x18]
push edi
mov eax, dword [edi]
call dword [eax + 0xfc]
test eax, eax
jge 0x43158e
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov al, byte [esp + 0x12]
test al, al
je 0x43171e
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x431603
cmp eax, 3
jne 0x431661
mov ecx, dword [0x47fb20]
push 0x180
push 0x100
push 0x3e4ccccd
mov edx, dword [ecx + 0x42c]
mov ecx, dword [esi + 0x14]
mov eax, dword [edx + 0x10]
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + ecx*4]
mov edx, dword [0x47a9e8]
mov eax, dword [eax + 0x4c]
fld dword [edx + ebp*4]
fmul dword [0x46f518]
mov edi, dword [ecx + 0x18]
mov ecx, dword [edi]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
push edx
push eax
push edi
call dword [ecx + 0x164]
test eax, eax
jge 0x431661
jmp 0x431655
mov eax, dword [0x47fb20]
push 0x180
push 0x100
push 0x3e4ccccd
mov ecx, dword [eax + 0x42c]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x14]
mov eax, dword [edx + 0x4c]
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + ecx*4]
mov edx, dword [0x47a9e8]
fld dword [edx + ebp*4]
fmul dword [0x46f518]
mov edi, dword [ecx + 0x18]
mov ecx, dword [edi]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
push edx
push eax
push edi
call dword [ecx + 0x164]
test eax, eax
jge 0x431661
push 0x4790f8
push edi
push eax
call fcn.0045c300
lea eax, [esp + 0x50]
push eax
call ebx
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov word [esp + 0x50], 0x16
neg cl
sbb ecx, ecx
add ecx, 0xc
add edx, ecx
lea ecx, [edx + eax*2]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x5c], ecx
call ebx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x4316b2
push eax
call fcn.0045c2f2
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
sub esp, 0x10
mov byte [esp + 0x78], 2
mov ecx, dword [eax + edx*4]
mov eax, esp
push 0
mov edi, dword [ecx + 0x18]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [edi]
push edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
call dword [edx + 0x5c]
test eax, eax
jge 0x4316fb
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x6c], 0
call edi
test eax, eax
jge 0x431717
push eax
call fcn.0045c2f2
lea eax, [esp + 0x50]
push eax
call edi
fild dword [esp + 0x2c]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
fld st(0)
fadd dword [0x46f24c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x47a9e8]
fmul dword [esi + 0x20]
mov edi, dword [eax + 0x18]
fsub dword [0x46f288]
mov edx, dword [edi]
fmul dword [0x46f410]
fstp dword [esp + 0x2c]
fild dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push eax
fmul dword [esi + 0x20]
fst dword [esp + 0x1c]
fadd dword [ecx + ebp*4]
fmul dword [0x46f40c]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
fmul dword [esi + 0x20]
push ecx
fmul dword [0x46f410]
fstp dword [esp + 0x3c]
fld dword [esp + 0x20]
fmul dword [0x46f40c]
mov eax, dword [esp + 0x3c]
push eax
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
push ecx
push edi
call dword [edx + 0x16c]
test eax, eax
jge 0x4317af
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov dl, byte [esp + 0x13]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
test dl, dl
sete dl
mov byte [esp + 0x13], dl
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x80], 0
test eax, eax
je 0x4317e9
mov ecx, dword [eax]
lea edx, [esp + 0x80]
push edx
push 0x479108
push eax
call dword [ecx]
mov edi, dword [esi + 0x18]
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 3
mov eax, dword [edi]
push ecx
push edx
push edi
call dword [eax + 0x1a0]
test eax, eax
jge 0x431817
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov eax, dword [esp + 0x80]
mov byte [esp + 0x68], 0
test eax, eax
je 0x43182d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push 0
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x24]
push eax
mov edi, dword [ecx + 0x18]
mov ecx, dword [esp + 0x1c]
push ecx
push edi
mov edx, dword [edi]
call dword [edx + 0xb4]
test eax, eax
jge 0x43185e
push 0x4790f8
push edi
push eax
call fcn.0045c300
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x24]
inc eax
mov dword [esi + 0x14], eax
mov edx, dword [0x47a9e8]
fld dword [edx + ebp*4]
fmul dword [0x46f514]
mov ebp, dword [esp + 0x38]
fmul dword [0x46f518]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
inc edi
cmp edi, ebp
mov dword [esp + 0x24], edi
jl 0x43146a
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 0x4318bd
push 0x4790f8
push esi
push eax
call fcn.0045c300
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4318e1
mov al, byte [ecx - 1]
test al, al
je 0x4318d7
cmp al, 0xff
je 0x4318d7
dec al
mov byte [ecx - 1], al
jmp 0x4318e1
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