Function at 0x1003b31e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100af3bc]
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 [0x100b0544], 0
je 0x1003b359
mov al, 1
jmp 0x1003b3b3
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
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.10036df4
cmp dword [ebp - 0x18], 8
lea esi, [ebp - 0x2c]
jb 0x1003b38e
mov esi, dword [ebp - 0x2c]
mov ebx, 0x1000ebe0
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
test esi, esi
jne 0x1003b3cd
lea ecx, [ebp - 0x2c]
call fcn.1002b9c2
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.1008b215
leave
ret
cmp esi, edi
jb 0x1003b3ff
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10036df4
cmp dword [ebp - 0x18], 8
lea edi, [ebp - 0x2c]
jb 0x1003b3e7
mov edi, dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1003b3a9
cmp eax, esi
jae 0x1003b3a9
push ecx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.10036d87
lea ecx, [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x1003b3ac
push 0xc
push 0x1000c1e4
push 0xffffffffffffffff
inc eax
push eax
call fcn.10037377
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
jb 0x1003b42e
mov 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 0x1003b3a9
push 0x10012098
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0548], eax
test eax, eax
jne 0x1003b463
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1003b3a9
push 0x100120b8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b054c], eax
test eax, eax
je 0x1003b457
push 0x100120d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0550], eax
test eax, eax
je 0x1003b457
push 0x100120f8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0554], eax
test eax, eax
je 0x1003b457
push 0x1001210c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0558], eax
test eax, eax
je 0x1003b457
push 0x10012128
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b055c], eax
test eax, eax
je 0x1003b457
push 0x10012148
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0560], eax
test eax, eax
je 0x1003b457
push 0x10012168
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0564], eax
test eax, eax
je 0x1003b457
lea eax, [ebp - 0x30]
mov ecx, 0x100b0544
push eax
call fcn.10036a7b
cmp dword [ebp - 0x30], 0
je 0x1003b51b
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x2c]
call fcn.1002b9c2
jmp 0x1003b355