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

Disassembly:
push 0xffffffffffffffff
push 0x479f4c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
xor ebx, ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0xbc]
mov esi, eax
mov dword [esp + 0x54], esi
cmp eax, ebx
je 0x407f88
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 4
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0x20]
push edx
push esi
call eax
cmp eax, ebx
jl 0x4082d7
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4082d7
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x4082d7
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
jle 0x4082d7
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x5c]
push edx
call esi
mov byte [esp + 0xb0], 8
cmp word [esp + 0x44], 3
je 0x40801b
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, 3
mov word [esp + 0x44], cx
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x74]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x78]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x7c]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x58]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov esi, dword [edx]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esi + 0x2c]
mov dword [eax + 0xc], ecx
call edx
test eax, eax
jl 0x40827c
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40827c
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x483138
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40827c
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40827c
mov ecx, dword [eax]
cmp dword [esp + 0xd4], ebx
jbe 0x4081cb
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
test eax, eax
jl 0x4081bf
mov ebx, dword [esp + 0x3c]
lea esi, [esp + 0x6c]
call fcn.0040eac0
lea eax, [esp + 0xc0]
mov edx, esi
mov byte [esp + 0xb0], 9
call fcn.0040d990
test al, al
je 0x4081b4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0xf8]
call eax
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x88]
call fcn.0040eac0
mov bl, 0xa
mov byte [esp + 0xb0], bl
mov ecx, dword [esp + 0x30]
push ecx
call ebp
sub esp, 0x1c
mov edx, esi
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00406900
sub esp, 0x1c
mov byte [esp + 0xe8], 0xb
lea eax, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
call fcn.00406900
mov byte [esp + 0xe8], bl
call fcn.00411f70
add esp, 0x38
test eax, eax
je 0x4081a8
push 0x30
call fcn.0043968c
add esp, 4
test eax, eax
je 0x408195
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov edi, dword [esp + 0x18]
push edx
push ecx
mov esi, eax
call fcn.00401e20
jmp 0x408197
xor eax, eax
mov edi, dword [esp + 0x2c]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0040d100
lea ecx, [esp + 0x88]
call fcn.00401df0
lea ecx, [esp + 0x6c]
call fcn.00401df0
xor ebx, ebx
mov eax, dword [esp + 0x3c]
push eax
call ebp
jmp 0x40827c
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xf8]
call eax
mov ebx, dword [esp + 0x40]
lea esi, [esp + 0x6c]
call fcn.0040eac0
mov bl, 0xc
mov byte [esp + 0xb0], bl
mov ecx, dword [esp + 0x40]
push ecx
call ebp
sub esp, 0x1c
mov edx, esi
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.00406900
sub esp, 0x1c
mov byte [esp + 0xe8], 0xd
lea eax, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00406900
mov byte [esp + 0xe8], bl
call fcn.00411f70
add esp, 0x38
test eax, eax
je 0x408271
push 0x30
call fcn.0043968c
add esp, 4
test eax, eax
je 0x40825e
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov edi, dword [esp + 0x18]
push edx
push ecx
mov esi, eax
call fcn.00401e20
jmp 0x408260
xor eax, eax
mov edi, dword [esp + 0x2c]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0040d100
lea ecx, [esp + 0x6c]
call fcn.00401df0
xor ebx, ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x5c]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
mov byte [esp + 0xb0], 5
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4082a8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4082c0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
jl 0x407fda
mov esi, dword [esp + 0x54]
mov byte [esp + 0xb0], 3
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0xb0], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4082ff
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x40831a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, 0x10
cmp dword [esp + 0xd8], esi
jb 0x408338
mov eax, dword [esp + 0xc4]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
cmp dword [esp + 0xf4], esi
jb 0x40836a
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0045e1a6
add esp, 0xa0
ret 0x40