Function at 0x1004cb94
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7fcc
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100cfa9c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x100d0a78], 0
je 0x1004cbcf
mov al, 1
jmp 0x1004cc31
and dword [ebp - 4], 0
lea edi, [ebp - 0x2c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push ecx
mov edi, 0x104
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.10036a6f
push 8
pop ebx
cmp dword [ebp - 0x18], ebx
lea esi, [ebp - 0x2c]
push 0x1000cab4
cmovae esi, dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
test edi, edi
jne 0x1004cc4b
lea ecx, [ebp - 0x2c]
call fcn.10037030
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100a6b85
leave
ret
cmp edi, 0x104
jb 0x1004cc83
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.10036a6f
cmp dword [ebp - 0x18], ebx
lea esi, [ebp - 0x2c]
push 0x1000cab4
cmovae esi, dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1004cc27
cmp eax, edi
jae 0x1004cc27
cmp dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push 0x5c
push ecx
call fcn.10036d68
lea ecx, [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x1004cc2a
push 0xc
push 0x1000cad4
push 0xffffffffffffffff
inc eax
push eax
call fcn.10036abb
cmp dword [ebp - 0x18], ebx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
je 0x1004cc27
push 0x100162f0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a7c], eax
test eax, eax
jne 0x1004ccef
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1004cc27
push 0x10016310
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a80], eax
test eax, eax
je 0x1004cce3
push 0x10016330
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a84], eax
test eax, eax
je 0x1004cce3
push 0x10016350
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a88], eax
test eax, eax
je 0x1004cce3
push 0x10016364
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a8c], eax
test eax, eax
je 0x1004cce3
push 0x10016380
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a90], eax
test eax, eax
je 0x1004cce3
push 0x100163a0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a94], eax
test eax, eax
je 0x1004cce3
push 0x100163c0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d0a98], eax
test eax, eax
je 0x1004cce3
lea eax, [ebp - 0x30]
mov ecx, 0x100d0a78
push eax
call fcn.10036a31
cmp dword [ebp - 0x30], 0
je 0x1004cda7
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x2c]
call fcn.10037030
jmp 0x1004cbcb