Function at 0x10002bf0
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
cmp dword [0x100d6b80], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x10002dea
push 0x20
lea eax, [esp + 0xc]
push 0x100ba8f0
push eax
call fcn.10002b70
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100d6b80], eax
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x100d3028]
je 0x10002c57
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002c57
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.1007f6d5
add esp, 4
cmp dword [0x100d6b80], 0
je 0x10002e9a
push 0x20
lea eax, [esp + 0xc]
push 0x100ba850
push eax
call fcn.10002b70
mov eax, dword [eax]
mov ecx, dword [0x100d6b80]
add esp, 0xc
push eax
push ecx
call esi
mov dword [0x100d6cc4], eax
mov eax, dword [esp + 8]
lea edx, [eax - 0xc]
cmp edx, dword [0x100d3028]
je 0x10002cb2
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002cb2
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.1007f6d5
add esp, 4
push 0x20
lea ecx, [esp + 0xc]
push 0x100ba870
push ecx
call fcn.10002b70
mov eax, dword [eax]
mov edx, dword [0x100d6b80]
add esp, 0xc
push eax
push edx
call esi
mov dword [0x100d6cc8], eax
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x100d3028]
je 0x10002d00
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002d00
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.1007f6d5
add esp, 4
push 0x20
lea eax, [esp + 0xc]
push 0x100ba890
push eax
call fcn.10002b70
mov eax, dword [eax]
mov ecx, dword [0x100d6b80]
add esp, 0xc
push eax
push ecx
call esi
mov dword [0x100d6ccc], eax
mov eax, dword [esp + 8]
lea edx, [eax - 0xc]
cmp edx, dword [0x100d3028]
je 0x10002d4e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002d4e
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.1007f6d5
add esp, 4
push 0x20
lea ecx, [esp + 0xc]
push 0x100ba8b0
push ecx
call fcn.10002b70
mov eax, dword [eax]
mov edx, dword [0x100d6b80]
add esp, 0xc
push eax
push edx
call esi
mov dword [0x100d6cd0], eax
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x100d3028]
je 0x10002d9c
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002d9c
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.1007f6d5
add esp, 4
push 0x20
lea eax, [esp + 0xc]
push 0x100ba8d0
push eax
call fcn.10002b70
mov eax, dword [eax]
mov ecx, dword [0x100d6b80]
add esp, 0xc
push eax
push ecx
call esi
mov dword [0x100d6cd4], eax
mov eax, dword [esp + 8]
lea edx, [eax - 0xc]
cmp edx, dword [0x100d3028]
je 0x10002dea
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002dea
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.1007f6d5
add esp, 4
push edi
push 0x100baaf4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x10002e90
push 0x20
lea ecx, [esp + 0x10]
push 0x100d3034
push ecx
call fcn.10002b70
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
call esi
mov dword [0x100d6cd8], eax
mov eax, dword [esp + 0xc]
lea edx, [eax - 0xc]
cmp edx, dword [0x100d3028]
je 0x10002e48
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002e48
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.1007f6d5
add esp, 4
push 0x20
lea ecx, [esp + 0x10]
push 0x100d3054
push ecx
call fcn.10002b70
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
call esi
mov dword [0x100d6cdc], eax
mov eax, dword [esp + 0xc]
lea edx, [eax - 0xc]
cmp edx, dword [0x100d3028]
je 0x10002e90
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10002e90
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.1007f6d5
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
pop esi
xor eax, eax
pop ebx
pop ecx
ret