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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56858a
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.00439570
xor ebx, ebx
push 0xa
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], ebx
call fcn.00439570
mov byte [esp + 0x80], 1
cmp edi, ebx
je 0x41cebf
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 0x41ccc3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41cebf
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
call fcn.00438647
push eax
lea ecx, [esp + 0x30]
call fcn.0042a80d
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 0x41cd12
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 0x41ceb3
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x24], ebx
jbe 0x41ce05
mov esi, dword [esp + 0x14]
add esi, 0x114
lea edi, [esi - 0x10c]
cmp word [edi - 2], 1
jne 0x41cded
push dword [esi]
call fcn.00418423
pop ecx
test al, al
je 0x41cded
push edi
lea ecx, [esp + 0x24]
call fcn.0040235d
mov byte [esp + 0x80], 3
push 0x5c
push dword [esp + 0x24]
call fcn.0053c0c5
pop ecx
pop ecx
cmp eax, ebx
je 0x41cdd9
sub eax, dword [esp + 0x20]
sar eax, 1
js 0x41cdd9
push dword [esi]
lea ecx, [esp + 0x2c]
call fcn.0040235d
push 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 4
call fcn.0040f0c6
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 5
call fcn.004397bb
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402722
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
call fcn.004397bb
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00402722
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402722
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add esi, 0x124
cmp eax, dword [esp + 0x24]
jb 0x41cd2a
cmp dword [esp + 0x14], ebx
je 0x41ce19
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 0x41ce27
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 0x41ceb3
push dword [esp + 0x1c]
lea ecx, [esp + 0x40]
call fcn.0048bf2b
push dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.0048bf2b
cmp edi, ebx
je 0x41cea5
cmp eax, ebx
je 0x41cea5
mov eax, dword [eax + 8]
push ebx
push ecx
sub eax, 0x10
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00402431
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.00402431
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [esp + 0x8c], 2
call fcn.0041c8e3
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x48]
jl 0x41ce3b
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.00402722
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], bl
call fcn.0043969e
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0043969e
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret