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

Disassembly:
push 0xffffffffffffffff
push 0x4a7af1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd4a4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x229c], 0
jne 0x44008f
push 0x80004003
call fcn.0049fa80
mov ebx, dword [esp + 0xa0]
mov ecx, dword [ebp + 0x229c]
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.00403960
mov esi, eax
cmp dword [esi], 0
mov dword [esp + 0x98], 0
jne 0x4400c3
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x17c]
push esi
call edx
test eax, eax
jge 0x4400e0
push 0x4b3a68
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x98], 0xffffffff
je 0x4400fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
fld1
mov eax, 4
fst dword [esp + 0x58]
mov word [esp + 0x50], ax
mov edi, dword [esp + 0xa4]
sub edi, ebx
mov dword [esp + 0x98], 1
mov word [esp + 0x40], 3
mov dword [esp + 0x48], edi
fstp dword [esp + 0x38]
mov word [esp + 0x30], ax
cmp dword [ebp + 0x114], 0
mov byte [esp + 0x98], 3
jne 0x44014e
push 0x80004003
call fcn.0049fa80
mov ecx, dword [ebp + 0x114]
lea eax, [esp + 0x14]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x98], 4
jne 0x440177
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x200]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
test eax, eax
jge 0x4401a8
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x98], 3
je 0x4401c0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x30]
push ecx
call esi
lea edx, [esp + 0x40]
push edx
call esi
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x9c], 0xffffffff
call esi
mov ecx, ebp
call fcn.0043f880
test al, al
je 0x44046c
cmp dword [ebp + 0x229c], 0
jne 0x440208
push 0x80004003
call fcn.0049fa80
mov ecx, dword [ebp + 0x229c]
push ebx
lea edx, [esp + 0x18]
push edx
call fcn.00403960
mov esi, eax
cmp dword [esi], 0
mov dword [esp + 0x98], 5
jne 0x440235
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 0x17c]
push esi
call ecx
test eax, eax
jge 0x440252
push 0x4b3a68
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x98], 0xffffffff
je 0x44026d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
add edi, 1
mov dword [esp + 0x14], edi
cmp dword [ebp + 0x114], 0
jne 0x440287
push 0x80004003
call fcn.0049fa80
mov ecx, dword [ebp + 0x114]
lea edx, [esp + 0x24]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], 0
mov dword [esp + 0x98], 6
jne 0x4402b3
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x20]
push eax
call fcn.00403e10
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x98], 7
jne 0x4402d8
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
call fcn.004035d0
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x98], 8
jne 0x4402fd
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x18]
push ecx
push esi
call edx
test eax, eax
jge 0x44031c
push 0x4b3a78
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
setl bl
test eax, eax
mov byte [esp + 0x98], 7
je 0x44033f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [esp + 0x98], 6
je 0x440357
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
or edi, 0xffffffff
test eax, eax
mov dword [esp + 0x98], edi
je 0x440371
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x44046c
fld1
mov eax, 4
fst dword [esp + 0x88]
mov word [esp + 0x80], ax
mov dword [esp + 0x98], 9
mov word [esp + 0x70], 3
mov dword [esp + 0x78], 1
fstp dword [esp + 0x68]
mov word [esp + 0x60], ax
cmp dword [ebp + 0x114], 0
mov byte [esp + 0x98], 0xb
jne 0x4403cd
push 0x80004003
call fcn.0049fa80
mov ecx, dword [ebp + 0x114]
lea eax, [esp + 0x28]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x98], 0xc
jne 0x4403f6
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x200]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x84]
push eax
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x6c]
push eax
push esi
call ecx
test eax, eax
jge 0x44042a
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0x98], 0xb
je 0x440442
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x60]
push ecx
call esi
lea edx, [esp + 0x70]
push edx
call esi
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x9c], edi
call esi
jmp 0x440274
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8