Function at 0x52c710
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x54]
mov ebx, eax
test ebx, ebx
jne 0x52c73d
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052c4c0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
call fcn.0052e360
mov esi, eax
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x52c75c
push 0x6154fc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
push 2
push ebx
call eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x52c901
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
call fcn.0052e360
mov dword [ebp - 8], eax
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x52c7a9
push 0x615554
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2c], eax
mov ecx, eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call ecx
cmp dword [ebp - 4], 0
je 0x52c901
cmp dword [ebp + 0x10], 0
je 0x52c842
push 4
push ebx
call fcn.0052e360
push eax
call fcn.0052e310
mov eax, dword [esi + 0x20]
mov ecx, edi
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x10]
call fcn.0052bc80
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.0052e360
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 0x70]
test ecx, ecx
jne 0x52c82b
push 0x61567c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x70], eax
mov ecx, eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push ebx
call ecx
push dword [ebp + 0x10]
call fcn.0052e360
push eax
call fcn.0052e270
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x52c8d8
cmp dword [eax], 0
jle 0x52c8d8
mov esi, dword [esi + 0x34]
mov eax, 4
test esi, esi
cmove esi, eax
call fcn.0052e360
push esi
push ebx
push eax
call fcn.0052e310
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x2c]
mov ecx, edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
call fcn.0052c060
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0x10], eax
call fcn.0052e360
mov esi, eax
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jne 0x52c8c2
push 0x615624
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x5c], eax
mov ecx, eax
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push esi
push ebx
call ecx
push esi
call fcn.0052e360
push eax
call fcn.0052e2a0
mov eax, dword [ebp - 4]
mov dword [ebp + 0x10], eax
call fcn.0052e360
mov esi, eax
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x52c8fc
push 0x6155e0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x4c], eax
push dword [ebp + 0x10]
call eax
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x58]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc