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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x567d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5c9030]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push str.sti.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], edi
call fcn.00438e87
xor ebx, ebx
push 0xa
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], ebx
call fcn.00438e87
mov byte [esp + 0x80], 1
cmp edi, ebx
je 0x41cc0a
push str.StiCreateInstance
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0x1000002
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
cmp dword [esp + 0x18], ebx
jne 0x41ca0e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41cc0a
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
call fcn.00437f60
push eax
lea ecx, [esp + 0x30]
call fcn.0042a551
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x28]
push edx
push ebx
mov byte [esp + 0x8c], 2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jge 0x41ca5d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41cbfe
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x24], ebx
jbe 0x41cb50
mov esi, dword [esp + 0x14]
add esi, 0x114
lea edi, [esi - 0x10c]
cmp word [edi - 2], 1
jne 0x41cb38
push dword [esi]
call fcn.0041816c
pop ecx
test al, al
je 0x41cb38
push edi
lea ecx, [esp + 0x24]
call fcn.00402358
mov byte [esp + 0x80], 3
push 0x5c
push dword [esp + 0x24]
call fcn.0053b9e5
pop ecx
pop ecx
cmp eax, ebx
je 0x41cb24
sub eax, dword [esp + 0x20]
sar eax, 1
js 0x41cb24
push dword [esi]
lea ecx, [esp + 0x2c]
call fcn.00402358
push 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 4
call fcn.0040ef71
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 5
call fcn.004390d2
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
call fcn.004390d2
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00402728
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402728
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add esi, 0x124
cmp eax, dword [esp + 0x24]
jb 0x41ca75
cmp dword [esp + 0x14], ebx
je 0x41cb64
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41cb72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x48], ebx
jle 0x41cbfe
push dword [esp + 0x1c]
lea ecx, [esp + 0x40]
call fcn.00438e5e
push dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.00438e5e
cmp edi, ebx
je 0x41cbf0
cmp eax, ebx
je 0x41cbf0
mov eax, dword [eax + 8]
push ebx
push ecx
sub eax, 0x10
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x8c], 6
mov eax, dword [edi + 8]
sub eax, 0x10
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [esp + 0x8c], 2
call fcn.0041c62e
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x48]
jl 0x41cb86
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], bl
call fcn.00438fb5
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00438fb5
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret