Function at 0x1002bbb0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, eax
mov eax, dword [ebx]
push edi
test eax, eax
jne 0x1002bbcd
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
mov edx, esi
neg edx
sbb edx, edx
add edx, 0x22f6
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [ebx]
test eax, eax
jne 0x1002bbf2
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0
push 0x8000000
push eax
call edx
mov eax, dword [ebx]
test eax, eax
jne 0x1002bc11
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
push 5
push eax
call edx
mov eax, dword [ebx]
test eax, eax
jne 0x1002bc2b
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.DLL_CopyRect]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [0x100c7a60]
test eax, eax
jne 0x1002bc93
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
jne 0x1002bc75
mov eax, 6
jmp 0x1002bc9d
push 0x100a9e44
push eax
call ebp
mov dword [0x100c7a60], eax
test eax, eax
jne 0x1002bc8d
mov eax, 6
jmp 0x1002bc9d
push 6
call eax
jmp 0x1002bc9d
push 6
call eax
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
add dword [esp + 0x24], eax
mov eax, 0x100aa830
test esi, esi
jne 0x1002bcaf
mov eax, 0x100aa85c
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 0x54]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x1c], eax
test eax, eax
jbe 0x1002be61
mov eax, 0x100a7ca8
lea edi, [esp + 0x18]
call fcn.1003e030
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1002be61
mov eax, dword [ebx]
test eax, eax
jne 0x1002bcf4
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf4]
push esi
push eax
call edx
mov eax, dword [0x100c7a60]
test eax, eax
jne 0x1002bd3e
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x1002bd1f
mov eax, 0x3c
jmp 0x1002bd42
push 0x100a9e44
push eax
call ebp
mov ecx, eax
mov dword [0x100c7a60], ecx
test ecx, ecx
jne 0x1002bd38
lea eax, [ecx + 0x3c]
jmp 0x1002bd48
push 0x3c
call ecx
jmp 0x1002bd42
push 0x3c
call eax
mov ecx, dword [0x100c7a60]
mov edx, dword [esp + 0x14]
lea ebp, [eax + edx]
test ecx, ecx
jne 0x1002bd86
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x1002bd69
mov eax, 0xa
jmp 0x1002bd8a
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, eax
mov dword [0x100c7a60], ecx
test ecx, ecx
jne 0x1002bd86
lea eax, [ecx + 0xa]
jmp 0x1002bd90
push 0xa
call ecx
mov ecx, dword [0x100c7a60]
mov edx, dword [esp + 0x24]
lea ebx, [eax + edx]
test ecx, ecx
jne 0x1002bdcf
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x1002bdaf
lea edi, [eax + 0xf]
jmp 0x1002bdd5
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a60], eax
test eax, eax
jne 0x1002bdc9
lea edi, [eax + 0xf]
jmp 0x1002bdde
push 0xf
call eax
jmp 0x1002bdd3
push 0xf
call ecx
mov edi, eax
mov eax, dword [0x100c7a60]
test eax, eax
jne 0x1002be10
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x1002bdf4
mov eax, 0xf
jmp 0x1002be14
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a60], eax
test eax, eax
jne 0x1002be10
mov eax, 0xf
jmp 0x1002be14
push 0xf
call eax
add eax, ebp
push 1
add edi, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ecx
push esi
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
push ecx
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x68]
push 0
push 4
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov eax, 0x100a7ca8
lea edi, [esp + 0x18]
call fcn.1003df80
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1002c063
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
test eax, eax
jne 0x1002be8f
push 0x80004003
call fcn.100830f0
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0xf4]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [0x100c7a60]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x1002befb
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push 0x100a6b44
call esi
test eax, eax
jne 0x1002bedc
mov eax, 0x52
jmp 0x1002bf05
push 0x100a9e44
push eax
call ebp
mov ecx, eax
mov dword [0x100c7a60], ecx
test ecx, ecx
jne 0x1002bef5
lea eax, [ecx + 0x52]
jmp 0x1002bf0b
push 0x52
call ecx
jmp 0x1002bf05
push 0x52
call eax
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov ecx, dword [0x100c7a60]
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x1002bf44
push 0x100a6b44
call esi
test eax, eax
jne 0x1002bf2b
mov eax, 0xb
jmp 0x1002bf48
push 0x100a9e44
push eax
call ebp
mov ecx, eax
mov dword [0x100c7a60], ecx
test ecx, ecx
jne 0x1002bf44
lea eax, [ecx + 0xb]
jmp 0x1002bf4e
push 0xb
call ecx
mov ecx, dword [0x100c7a60]
mov edx, dword [esp + 0x24]
add eax, edx
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x1002bf8c
push 0x100a6b44
call esi
test eax, eax
jne 0x1002bf6e
mov eax, 0x10
jmp 0x1002bf90
push 0x100a9e44
push eax
call ebp
mov dword [0x100c7a60], eax
test eax, eax
jne 0x1002bf86
mov eax, 0x10
jmp 0x1002bf90
push 0x10
call eax
jmp 0x1002bf90
push 0x10
call ecx
mov ecx, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x3c], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push 0x22f1
push ebx
call eax
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x44]
push 1
lea edx, [esp + 0x34]
push edx
push ebx
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x7c]
push 0xf
push ebx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5c]
push 0
push 0x20
push ebx
call ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
push 0
push 0x200
push ebx
call eax
test byte [0x100c7b94], 1
jne 0x1002c004
mov ecx, dword [0x100bc66c]
or dword [0x100c7b94], 1
push 0x100a35f0
mov dword [0x100c7b90], ecx
call fcn.1008416d
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.1005dd60
push 0x100aa884
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
je 0x1002c02d
push 0x100aa884
mov esi, eax
lea edi, [esp + 0x18]
call fcn.10011310
mov esi, dword [esp + 0x14]
push 0xe
push 0xe
push esi
lea eax, [esp + 0x24]
call fcn.1003ef80
lea eax, [esi - 0xc]
add esp, 0xc
cmp eax, 0x100bc65c
je 0x1002c063
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x1002c063
push esi
call fcn.1008441c
add esp, 4
mov eax, 0x100a7ca8
lea edi, [esp + 0x1c]
call fcn.1003e030
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1002c144
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
test eax, eax
jne 0x1002c091
push 0x80004003
call fcn.100830f0
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0xf4]
call eax
mov eax, dword [0x100c7a60]
test eax, eax
jne 0x1002c0d4
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x1002c0bc
mov eax, 1
jmp 0x1002c0d8
push 0x100a9e44
push eax
call ebp
mov dword [0x100c7a60], eax
test eax, eax
jne 0x1002c0d4
mov eax, 1
jmp 0x1002c0d8
push 1
call eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
push 1
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push edx
push esi
call eax
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0x100aa8a4
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x108]
push eax
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x7c]
push 0xd
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
push 0
push 2
push esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
test ebx, ebx
je 0x1002c150
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret 8