Function at 0x53dcd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx], 0
jne 0x53dd06
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004fd590
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x53dd5c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 0x24]
jbe 0x53dd5c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x80]
cdq
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x18]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.004c1190
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
push 5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.004f82a0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x24], ecx
cmp dword [ebp - 4], 0
jne 0x53deb4
cmp dword [ebp + 0xc], 0
je 0x53deb4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x18]
ja 0x53dea6
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x18]
and ecx, 0x20
jne 0x53dea6
mov ecx, dword [ebp - 0x14]
sub ecx, 1
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
cdq
push edx
push eax
push esi
push ecx
call fcn.004c1190
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 1
jne 0x53ddce
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004fd6b0
add esp, 4
mov edx, dword [ebp + 8]
cmp dword [edx + 0xb0], 0
jne 0x53dde5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
jmp 0x53de1d
push 6
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xbc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb0]
call edx
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x53de1d
mov eax, 7
jmp 0x53deb7
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
push eax
call fcn.004f83a0
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 1
jne 0x53de63
push 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
push ecx
mov edx, dword [ebp + 8]
add edx, 0x64
push edx
call fcn.004bb670
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x20]
jbe 0x53de77
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0xa8], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
push edx
call fcn.0053d9e0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0xc], ecx
jmp 0x53dd5c
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret