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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4923ae
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
call fcn.0042d480
cmp eax, 2
je 0x418f83
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
mov ecx, dword [0x4b55bc]
mov edx, dword [ecx + 0x414]
push ebx
xor ebx, ebx
cmp edx, ebx
push edi
je 0x418faa
mov eax, dword [ecx + 0x418]
sub eax, edx
sar eax, 2
cmp eax, ebx
jne 0x41903c
xor edi, edi
mov dword [esp + 0x2c], 0x3e8
mov dword [esp + 0x30], 0x3e9
mov dword [esp + 0x34], 0x3ea
mov dword [esp + 0x38], 0x3eb
mov dword [esp + 0x3c], 0x3ec
mov dword [esp + 0x40], 0x3ed
mov dword [esp + 0x44], 0x3ee
mov dword [esp + 0x48], 0x3ef
mov dword [esp + 0x4c], 0x3f0
mov dword [esp + 0x50], 0x3f1
mov dword [esp + 0x54], 0x44c
add esi, 0x148
lea ebx, [ebx]
mov ecx, dword [esp + edi*4 + 0x2c]
mov eax, dword [esi]
push ebx
push ecx
push esi
call dword [eax + 0xc]
inc edi
cmp edi, 0xa
jle 0x419010
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00416620
mov ecx, eax
call fcn.0043ed30
cmp eax, 3
jne 0x4192ca
mov eax, dword [0x4b55b8]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov dword [eax + 0x18], ecx
jmp 0x419070
mov eax, dword [0x4b55b8]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
cmp ecx, edx
je 0x419366
mov edi, dword [ecx + 8]
cmp edi, ebx
mov edx, dword [ecx]
mov dword [eax + 0x18], edx
je 0x419366
mov eax, dword [edi]
push edi
call dword [eax + 0x28]
cmp eax, 0xe
jne 0x419070
mov ebp, edi
cmp ebp, ebx
je 0x419366
mov eax, dword [0x4b55b8]
cmp dword [eax + 0x1c], ebx
je 0x4190da
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x78]
mov edx, dword [0x4b55b8]
mov eax, dword [edx + 0x1c]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push ebx
push 0x11
push edx
push eax
call dword [ecx + 0x44]
push ebx
mov ecx, esi
call fcn.00415b70
mov eax, dword [ebp]
push ebp
call dword [eax + 0x2c]
test eax, eax
jl 0x419366
mov eax, dword [0x4b55b8]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x18], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x58]
mov ecx, dword [0x4b55bc]
call fcn.004166c0
push eax
call fcn.0042dfb0
mov ecx, dword [0x4b55bc]
add esp, 4
call fcn.00416670
push eax
lea ecx, [esp + 0x14]
call fcn.00408010
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0xb8], ebx
call fcn.00404a40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov word [esp + 0x8c], 0x14
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
push 0x403ba0
push 0x408d90
push 1
push 0x10
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0xc8], 2
call fcn.0048c53e
mov eax, dword [0x4b55b8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push eax
mov byte [esp + 0xb8], 3
call dword [ecx + 0x28]
cmp eax, 0xe
jne 0x4191c3
mov ecx, dword [0x4b55bc]
mov word [esp + 0x9c], 0x4000
call fcn.00416620
mov ecx, eax
call fcn.0043ecf0
mov dword [esp + 0xa4], eax
mov edx, dword [0x4b55b8]
cmp dword [edx + 0x1c], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x41922d
call fcn.0042d3c0
mov word [esp + 0x5c], 0x13
mov dword [esp + 0x64], eax
mov ecx, dword [0x4b55b8]
lea eax, [esp + 0x5c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebx
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push 0x22
push ecx
push eax
mov byte [esp + 0xc4], 4
call dword [edx + 0x44]
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xb8], 3
call edi
mov ecx, esi
call fcn.00412480
mov ecx, dword [0x4b55b8]
lea eax, [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 3
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esi + 4]
push 0xf
push ecx
push eax
call dword [edx + 0x44]
mov ebp, eax
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
push eax
mov dword [esp + 0x18], ebp
call dword [edx + 0x98]
test eax, eax
jne 0x4192a3
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x78]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov edx, eax
mov ebp, dword [edx]
push eax
call dword [ecx + 0x80]
mov edx, dword [esi + 0x3c]
push eax
push edx
call dword [ebp + 0x10]
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
push ebx
jge 0x419370
mov eax, dword [esi]
push 0x11
push esi
call dword [eax + 0x28]
push 0x403ba0
push 3
push 0x10
lea ecx, [esp + 0x88]
push ecx
jmp 0x419477
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [0x4b55bc]
call fcn.00416670
mov ecx, dword [0x4b55b8]
push eax
call fcn.0040a600
mov ebp, eax
cmp ebp, ebx
jne 0x4190a8
mov ecx, dword [0x4b55bc]
call fcn.00416670
push eax
mov ecx, 0x4b5634
call fcn.0043e6a0
cmp eax, ebx
je 0x41934a
mov edx, dword [eax + 0x200]
mov eax, dword [0x4b55b8]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x14], edx
mov dword [eax + 0x18], ecx
mov eax, dword [0x4b55b8]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
cmp ecx, edx
je 0x41934a
mov edi, dword [ecx + 8]
cmp edi, ebx
mov ecx, dword [ecx]
mov dword [eax + 0x18], ecx
je 0x41934a
mov edx, dword [edi]
push edi
call dword [edx + 0x28]
cmp eax, dword [esp + 0x14]
jne 0x419321
mov ebp, edi
mov ecx, dword [0x4b55bc]
call fcn.00416670
push eax
call fcn.00401cc0
add esp, 4
test eax, eax
jne 0x4190a0
mov eax, 0x80004005
jmp 0x41948e
call fcn.0042ed60
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
add esp, 4
push eax
call dword [edx + 0x88]
test eax, eax
jne 0x4193e4
call fcn.0042daa0
test eax, eax
je 0x419398
mov eax, 0xffff
jmp 0x41939d
call fcn.0042d3c0
mov word [esp + 0x5c], 0x13
mov dword [esp + 0x64], eax
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push 0x22
lea eax, [esp + 0x64]
push esi
mov byte [esp + 0xc0], 5
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebx
call dword [ecx + 0x28]
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xb8], 3
call edi
xor edi, edi
mov dword [esp + 0x30], 0x3e8
mov dword [esp + 0x34], 0x3e9
mov dword [esp + 0x38], 0x3ea
mov dword [esp + 0x3c], 0x3eb
mov dword [esp + 0x40], 0x3ec
mov dword [esp + 0x44], 0x3ed
mov dword [esp + 0x48], 0x3ee
mov dword [esp + 0x4c], 0x3ef
mov dword [esp + 0x50], 0x3f0
mov dword [esp + 0x54], 0x3f1
mov dword [esp + 0x58], 0x44c
add esi, 0x148
mov edx, dword [esp + edi*4 + 0x30]
mov ecx, dword [esi]
push 1
push edx
push esi
call dword [ecx + 0xc]
inc edi
cmp edi, 0xa
jle 0x419444
push 1
push 0x4e30
call fcn.00402f70
add esp, 8
push 0x403ba0
push 3
push 0x10
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xc4], bl
call fcn.0048c494
lea ecx, [esp + 0x10]
call fcn.00404680
mov eax, ebp
mov ecx, dword [esp + 0xac]
pop ebp
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret