Function at 0x100186a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c75d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp byte [ebp + 0xc], 0
je 0x10018716
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 2
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.10020b90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
test al, al
jne 0x10018711
call fcn.10020b30
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.10020b30
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push 0xc
mov dword [ebp - 4], 1
call fcn.10024940
add esp, 4
cmp eax, esi
je 0x10018747
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov dword [ebp + 0xc], eax
jmp 0x1001874a
mov dword [ebp + 0xc], esi
lea ecx, [ebx + 8]
call fcn.100248a0
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax + edx*4], ecx
inc dword [ebx + 0x10]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b30
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edx*4 - 4]
mov dword [ebp - 0x10], ecx
mov byte [ebp + 0xf], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea ecx, [ecx]
inc esi
cmp word [esi*2 + str.loadDll], 0
jne 0x10018790
push esi
lea ecx, [ebp - 0x20]
call fcn.100011c0
mov edx, dword [ebp - 0x20]
mov eax, str.loadDll
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100187b0
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edx
mov dword [ebp - 4], 2
call esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10020bc0
test al, al
je 0x100188c3
push str.loadDll_1_
lea ecx, [ebp - 0x44]
call fcn.10008470
mov edx, dword [ebp - 0x44]
push edx
mov byte [ebp - 4], 3
call esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push str.CreateObject
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
test eax, eax
je 0x100188ad
push str.loadDll_2_
lea ecx, [ebp - 0x38]
call fcn.10008470
mov eax, dword [ebp - 0x38]
push eax
mov byte [ebp - 4], 4
call esi
mov ecx, dword [ebx + 0x24]
mov dword [ebp + 0xc], ecx
mov ecx, ebx
call fcn.10016ff0
mov edx, dword [ebp + 0xc]
cmp dword [ebx + 0x24], edx
mov dword [ebp - 0x14], eax
setne byte [ebp + 0xf]
test eax, eax
jne 0x100188a1
push str.loadDll_3_
lea ecx, [ebp - 0x2c]
call fcn.10008470
mov eax, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call esi
mov esi, dword [ebx + 0x38]
mov ecx, ebx
call fcn.10018280
cmp byte [ebp + 0xf], 0
mov dword [ebp - 0x14], eax
jne 0x10018891
mov byte [ebp + 0xf], 0
cmp dword [ebx + 0x38], esi
je 0x10018895
mov byte [ebp + 0xf], 1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10024970
add esp, 4
mov edx, dword [ebp - 0x38]
push edx
call fcn.10024970
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov byte [ebp - 4], 2
call fcn.10024970
add esp, 4
cmp byte [ebp + 0xf], 0
jne 0x100188cb
lea ecx, [ebx + 8]
call fcn.10024710
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.10024970
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8