Function at 0x10ab0c1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x5160
call fcn.0107a6d0
mov eax, dword [0x10e607c]
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [0x10f60fc], edi
mov dword [ebp - 0x5160], eax
jne 0x10ab3f3
call fcn.0109f2f5
test ax, ax
jne 0x10ab3f3
cmp dword [0x10f5eec], edi
mov eax, dword [0x10f5ee8]
jne 0x10ab219
cmp eax, edi
jne 0x10ab1e3
push 0x1004af4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [0x10f5eec], eax
je 0x10ab1d6
push 1
push 0x20
call dword [sym.imp.msvcrt.dll_calloc]
cmp eax, edi
pop ecx
pop ecx
mov dword [0x10f5ee8], eax
je 0x10ab3fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1004ad4
mov dword [eax + 4], edi
push dword [0x10f5eec]
call esi
mov ecx, dword [0x10f5ee8]
push 0x1004ab4
mov dword [ecx + 8], eax
push dword [0x10f5eec]
call esi
mov ecx, dword [0x10f5ee8]
push 0x1004a94
mov dword [ecx + 0xc], eax
push dword [0x10f5eec]
call esi
mov ecx, dword [0x10f5ee8]
push 0x1004a74
mov dword [ecx + 0x10], eax
push dword [0x10f5eec]
call esi
mov ecx, dword [0x10f5ee8]
push 0x1004a50
mov dword [ecx + 0x14], eax
push dword [0x10f5eec]
call esi
mov ecx, dword [0x10f5ee8]
push 0x1004a04
mov dword [ecx + 0x18], eax
push dword [0x10f5eec]
call esi
mov ecx, dword [0x10f5ee8]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x10f5ee8]
cmp eax, edi
je 0x10ab3fd
cmp dword [eax + 8], edi
je 0x10ab3fd
cmp dword [eax + 0xc], edi
je 0x10ab3fd
cmp dword [eax + 0x10], edi
je 0x10ab3fd
cmp dword [eax + 0x14], edi
je 0x10ab3fd
cmp dword [eax + 0x18], edi
je 0x10ab3fd
cmp dword [eax + 0x1c], edi
je 0x10ab3fd
lea ecx, [ebp - 0x5150]
push ecx
push 0x120
mov dword [ebp - 0x5148], edi
push dword [eax + 4]
call dword [eax + 8]
test eax, eax
jne 0x10ab3fd
push dword [ebp - 0x5150]
mov eax, dword [0x10f5ee8]
mov dword [ebp - 0x5154], edi
call dword [eax + 0x10]
test eax, eax
jne 0x10ab3de
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
push ebx
lea eax, [ebp - 0x5158]
push eax
push dword [ebp - 0x5154]
mov eax, dword [0x10f5ee8]
push dword [ebp - 0x5150]
call dword [eax + 0x14]
mov ebx, eax
cmp ebx, edi
jne 0x10ab2e1
lea eax, [ebp - 0x515c]
push eax
push dword [ebp - 0x5158]
mov eax, dword [0x10f5ee8]
push dword [ebp - 0x5150]
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, edi
jne 0x10ab2e1
mov eax, 0x28a0
mov dword [ebp - 0x5148], eax
mov dword [ebp - 0x514c], eax
lea eax, [ebp - 0x5144]
push eax
lea eax, [ebp - 0x514c]
push eax
lea eax, [ebp - 0x28a4]
push eax
lea eax, [ebp - 0x5148]
push eax
push dword [ebp - 0x5158]
mov eax, dword [0x10f5ee8]
push dword [ebp - 0x5150]
call dword [eax + 0x1c]
mov ebx, eax
lea edi, [ebp - 0x28a4]
jmp 0x10ab34e
test ebx, ebx
jne 0x10ab357
cmp dword [ebp - 0x5148], 8
jbe 0x10ab315
push 4
push 0x1005efc
push edi
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x10ab315
sub dword [ebp - 0x5148], 8
add edi, 8
push 0
push edi
push dword [ebp - 0x515c]
push dword [ebp - 0x5160]
call fcn.010aae64
push edi
movsx ebx, ax
call esi
mov ecx, 0x7fffffff
sub ecx, eax
mov eax, dword [ebp - 0x5148]
lea eax, [eax + ecx*2]
push edi
mov dword [ebp - 0x5148], eax
call esi
pop ecx
pop ecx
lea edi, [edi + eax*2 + 2]
cmp dword [ebp - 0x5148], 2
ja 0x10ab2e9
lea edi, [ebp - 0x5144]
jmp 0x10ab3c4
test ebx, ebx
jne 0x10ab3cd
cmp dword [ebp - 0x514c], 8
jbe 0x10ab38b
push 4
push 0x1005efc
push edi
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x10ab38b
sub dword [ebp - 0x514c], 8
add edi, 8
push 1
push edi
push dword [ebp - 0x515c]
push dword [ebp - 0x5160]
call fcn.010aae64
push edi
movsx ebx, ax
call esi
mov ecx, 0x7fffffff
sub ecx, eax
mov eax, dword [ebp - 0x514c]
lea eax, [eax + ecx*2]
push edi
mov dword [ebp - 0x514c], eax
call esi
pop ecx
pop ecx
lea edi, [edi + eax*2 + 2]
cmp dword [ebp - 0x514c], 2
ja 0x10ab35f
inc dword [ebp - 0x5154]
xor edi, edi
test ebx, ebx
je 0x10ab25c
pop ebx
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x5150]
push eax
mov eax, dword [0x10f5ee8]
call dword [eax + 0xc]
jmp 0x10ab3fd
mov dword [0x10f60fc], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01078836
leave
ret 4