Function at 0x52aa2a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
xor eax, eax
push esi
push edi
push 0xe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
call fcn.0052aeba
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
push eax
call edi
push 0x11
mov ebx, eax
call fcn.0052aeba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
push eax
push ebx
call esi
push 0x12
mov dword [ebp - 0x28], eax
call fcn.0052aeba
pop ecx
push eax
push ebx
call esi
push 0xf
mov dword [ebp - 0x48], eax
call fcn.0052aeba
pop ecx
push eax
call edi
push 0x13
mov ebx, eax
call fcn.0052aeba
pop ecx
push eax
push ebx
call esi
push 0x10
mov dword [ebp - 0x1c], eax
call fcn.0052aeba
pop ecx
push eax
call edi
mov ebx, eax
push 0x19b
push ebx
call esi
push 0x17
push ebx
mov dword [ebp - 0x24], eax
call esi
push 0x18
push ebx
mov dword [ebp - 0x30], eax
call esi
push 8
push ebx
mov dword [ebp - 0x38], eax
call esi
push 0x10
push ebx
mov dword [ebp - 0x20], eax
call esi
push 0xf
push ebx
mov dword [ebp - 0x2c], eax
call esi
push 0x1a
push ebx
mov dword [ebp - 0x50], eax
call esi
push 8
mov dword [ebp - 0x44], eax
call fcn.0052aeba
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x16
mov ebx, eax
call fcn.0052aeba
pop ecx
push eax
push ebx
call esi
push 0x15
mov dword [ebp - 0x4c], eax
call fcn.0052aeba
pop ecx
push eax
call edi
push 0x17
call fcn.0052aeba
pop ecx
push eax
push ebx
call esi
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x40], eax
je 0x52ae71
cmp dword [ebp - 0x48], 0
je 0x52ae71
cmp dword [ebp - 0x1c], 0
je 0x52ae71
cmp dword [ebp - 0x24], 0
je 0x52ae71
cmp dword [ebp - 0x30], 0
je 0x52ae71
cmp dword [ebp - 0x38], 0
je 0x52ae71
cmp dword [ebp - 0x20], 0
je 0x52ae71
cmp dword [ebp - 0x2c], 0
je 0x52ae71
xor edi, edi
push edi
call dword [ebp - 0x28]
mov esi, eax
cmp esi, edi
jge 0x52abc3
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x52ab88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x52ab95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x52aba2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x52abaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x52abbc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x52aeb5
lea eax, [ebp - 4]
push eax
push 0x5290ec
push 0x5290dc
push edi
push 0x529158
push edi
call dword [ebp - 0x1c]
mov esi, eax
cmp esi, edi
jl 0x52ab7b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov esi, eax
cmp esi, edi
jl 0x52ab7b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x34]
mov esi, eax
cmp esi, edi
mov eax, dword [ebp - 0x10]
jl 0x52ab7e
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x529138
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x52ab7b
push dword [ebp + 0xc]
push edi
push 0x11
call dword [ebp - 0x24]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x28], ebx
jne 0x52ac72
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x52ac41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x52ac4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x52ac5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x52ac68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
jmp 0x52aeaa
lea eax, [ebp - 0x34]
push eax
push ebx
mov dword [ebp - 0x34], edi
call dword [ebp - 0x30]
mov esi, eax
cmp esi, edi
jl 0x52adcd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x34]
call fcn.0052941c
add esp, 0xc
push ebx
call dword [ebp - 0x38]
mov esi, eax
cmp esi, edi
jl 0x52adcd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
call dword [ecx + 0xb4]
mov esi, eax
cmp esi, edi
jl 0x52adcd
push ebx
call dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
mov dword [ebp - 0x28], edi
call dword [ecx + 0x40]
mov esi, eax
cmp esi, edi
jl 0x52adda
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x48]
mov esi, eax
cmp esi, edi
jl 0x52adda
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x38]
push edx
push 0x529148
mov word [ebp - 0x60], 9
mov dword [ebp - 0x38], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x80]
push eax
call dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], edi
je 0x52ada5
cmp word [eax], di
je 0x52ada5
xor esi, esi
inc esi
push esi
push edi
push pe_nt_image_headers32
call dword [ebp - 0x24]
xor ebx, ebx
cmp dword [ebp - 0x40], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esi
je 0x52ad55
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x4c]
push eax
call dword [ebp - 0x40]
mov ebx, eax
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x38], edi
dec eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push 8
call dword [ebp - 0x50]
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], esi
mov edi, eax
jle 0x52ad88
push dword [ebx + esi*4]
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [ebp - 0x44]
inc dword [ebp - 0x1c]
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x52ad74
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov word [ebp - 0x70], 0x2008
mov dword [ebp - 0x68], edi
call dword [ebp - 0x44]
jmp 0x52ada8
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
push dword [ebp - 0x18]
lea esi, [ebp - 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
mov esi, eax
test esi, esi
jge 0x52ade2
xor edi, edi
cmp dword [ebp - 0x28], edi
je 0x52adda
push dword [ebp - 0x28]
call dword [ebp - 0x2c]
call dword [ebp - 0x48]
jmp 0x52ab7b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
mov eax, dword [ebp - 0x10]
jge 0x52ae2f
test eax, eax
je 0x52adfe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x52ae0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x52ae18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x52ae25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
jmp 0x52abb4
test eax, eax
je 0x52ae39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x52ae46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x52ae53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x52ae60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x52ae6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x52aeb5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x52ae7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x52ae8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x52ae98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x52aea5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x52aeb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret