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

Disassembly:
push 0xffffffffffffffff
push 0x43f6c4
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x454810]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454810]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x3a8]
mov ecx, dword [esp + 0x3a0]
mov dword [esp + 0x28], edi
mov dword [esp + 0x398], 0
call fcn.004094a0
mov esi, eax
test esi, esi
jne 0x408e9f
mov eax, dword [esp + 0x3a4]
add eax, 0xfffffff0
mov dword [esp + 0x398], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xa
jmp 0x4092f1
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x408eac
call fcn.004297b7
mov ebp, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x28]
cmp edi, dword [ecx + 0x10]
jbe 0x408ec3
call fcn.004297b7
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
push ebx
push ebp
push edi
push eax
lea edx, [esp + 0x68]
push edx
call fcn.004042d0
mov eax, dword [esp + 0x3a4]
push 0x442a77
push eax
call fcn.004298ee
xor edi, edi
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x408f2b
mov eax, dword [esp + 0x3a4]
add eax, 0xfffffff0
mov dword [esp + 0x398], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408f21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 7
jmp 0x4092f1
push 0x104
lea ecx, [esp + 0x84]
push edi
push ecx
call fcn.00428200
push 0x208
lea edx, [esp + 0x194]
push edi
push edx
call fcn.00428200
mov eax, dword [esp + 0x3bc]
push 0x103
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0042ad40
add esp, 0x24
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0x103
call fcn.004066d0
mov dword [esp + 0x14], edi
mov edx, dword [esi]
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0x14]
push eax
push esi
mov byte [esp + 0x3a0], 1
call ecx
cmp eax, edi
mov eax, dword [esp + 0x14]
jge 0x409001
mov byte [esp + 0x398], 0
cmp eax, edi
je 0x408fc9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x3a4]
add eax, 0xfffffff0
mov dword [esp + 0x398], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 8
jmp 0x4092f1
lea edx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, edi
jge 0x409044
mov eax, dword [esp + 0x14]
mov byte [esp + 0x398], 0
cmp eax, edi
je 0x40902e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x3a4]
call fcn.00401400
mov eax, 9
jmp 0x4092f1
lea ecx, [esp + 0x2c]
call fcn.00406d70
xor esi, esi
cmp dword [esp + 0x24], edi
mov byte [esp + 0x398], 2
jle 0x4092a0
mov ebx, 3
jmp 0x409070
mov eax, ebx
mov word [esp + 0x70], ax
lea eax, [esp + 0x20]
push eax
sub esp, 0x10
mov eax, esp
mov ecx, ebx
mov word [esp + 0x74], cx
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov dword [eax], ebp
mov ebp, dword [esp + 0x78]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x98]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x3c], edi
mov edx, dword [ecx]
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebp
call ecx
cmp eax, edi
jl 0x4093d3
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4093d3
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x18]
push ecx
push 0x448794
push eax
call edx
cmp eax, edi
jl 0x40939c
cmp dword [esp + 0x18], edi
je 0x40939c
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.type
lea ecx, [esp + 0x58]
mov byte [esp + 0x39c], bl
call fcn.00406af0
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea ebp, [esp + 0x44]
push ebp
push edi
push eax
mov eax, dword [edx + 0x20]
push ecx
mov byte [esp + 0x3a8], 4
call eax
mov ecx, dword [esp + 0x54]
push ecx
mov byte [esp + 0x39c], bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [esp + 0x44], 8
jne 0x409276
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x409276
lea edx, [esp + 0x184]
push edx
push eax
call fcn.0042d734
add esp, 8
test eax, eax
jne 0x409276
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x448794
push eax
mov eax, dword [ecx]
call eax
cmp eax, edi
jl 0x40935a
cmp dword [esp + 0x18], edi
je 0x40935a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push 0x4487a4
push eax
mov eax, dword [ecx]
call eax
cmp eax, edi
jl 0x40931b
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x34], ecx
mov edx, dword [esp + 0x30]
sub dword [esp + 0x38], edx
lea eax, [esp + 0x3a4]
push eax
lea ecx, [esp + 0x40]
call fcn.004030d0
cmp dword [esp + 0x2c], edi
jle 0x409282
cmp dword [esp + 0x30], edi
jle 0x409282
cmp dword [esp + 0x34], edi
jle 0x409282
cmp dword [esp + 0x38], edi
jle 0x409282
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00408a30
mov edx, ebp
push edx
jmp 0x409287
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x39c], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc esi
cmp esi, dword [esp + 0x24]
jl 0x409070
lea ecx, [esp + 0x2c]
call fcn.00402950
mov eax, dword [esp + 0x14]
mov byte [esp + 0x398], 0
cmp eax, edi
je 0x4092c1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3a4]
add eax, 0xfffffff0
mov dword [esp + 0x398], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.0042827a
add esp, 0x388
ret 0xc
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x2c]
call fcn.00402950
mov eax, dword [esp + 0x14]
mov byte [esp + 0x398], 0
cmp eax, edi
je 0x409347
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x3a4]
call fcn.00401400
mov eax, 5
jmp 0x4092f1
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x2c]
call fcn.00402950
mov eax, dword [esp + 0x14]
mov byte [esp + 0x398], 0
cmp eax, edi
je 0x409386
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x3a4]
call fcn.00401400
mov eax, 4
jmp 0x4092f1
lea ecx, [esp + 0x2c]
call fcn.00402950
mov eax, dword [esp + 0x14]
mov byte [esp + 0x398], 0
cmp eax, edi
je 0x4093bd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x3a4]
call fcn.00401400
mov eax, 2
jmp 0x4092f1
lea ecx, [esp + 0x2c]
call fcn.00402950
mov eax, dword [esp + 0x14]
mov byte [esp + 0x398], 0
cmp eax, edi
je 0x4093f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3a4]
add eax, 0xfffffff0
mov dword [esp + 0x398], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409422
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4092f1