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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x567703
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.00438896
xor ebx, ebx
push 0xa
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], ebx
call fcn.00438896
mov byte [esp + 0x80], 1
cmp edi, ebx
je 0x41c8a9
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 0x41c6ad
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41c8a9
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
call fcn.00437969
push eax
lea ecx, [esp + 0x30]
call fcn.00402738
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 0x41c6fc
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 0x41c89d
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x24], ebx
jbe 0x41c7ef
mov esi, dword [esp + 0x14]
add esi, 0x114
lea edi, [esi - 0x10c]
cmp word [edi - 2], 1
jne 0x41c7d7
push dword [esi]
call fcn.00417e0d
pop ecx
test al, al
je 0x41c7d7
push edi
lea ecx, [esp + 0x24]
call fcn.00402372
mov byte [esp + 0x80], 3
push 0x5c
push dword [esp + 0x24]
call fcn.0053b3d5
pop ecx
pop ecx
cmp eax, ebx
je 0x41c7c3
sub eax, dword [esp + 0x20]
sar eax, 1
js 0x41c7c3
push dword [esi]
lea ecx, [esp + 0x2c]
call fcn.00402372
push 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 4
call fcn.0040ee16
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 5
call fcn.00438ae1
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402760
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
call fcn.00438ae1
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00402760
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402760
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add esi, 0x124
cmp eax, dword [esp + 0x24]
jb 0x41c714
cmp dword [esp + 0x14], ebx
je 0x41c803
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 0x41c811
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 0x41c89d
push dword [esp + 0x1c]
lea ecx, [esp + 0x40]
call fcn.0043886d
push dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.0043886d
cmp edi, ebx
je 0x41c88f
cmp eax, ebx
je 0x41c88f
mov eax, dword [eax + 8]
push ebx
push ecx
sub eax, 0x10
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00402446
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.00402446
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [esp + 0x8c], 2
call fcn.0041c2cd
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x48]
jl 0x41c825
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], bl
call fcn.004389c4
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.004389c4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret