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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52d9fc
sub esp, 0x6c
mov eax, dword [esp + 0x94]
test eax, eax
je 0x52d693
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x52d693
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0xf0]
xor ebx, ebx
jmp 0x52d9aa
mov eax, dword [esp + 0xf0]
cmp dword [0x78ff74], eax
jne 0x52d70c
mov ecx, dword [0x78ff70]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004030b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x52d705
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x52d6f7
movzx ecx, byte [esp + 0x78]
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
lea edx, [0x52e1f0]
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], cl
lea eax, [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0xf0]
jmp 0x52d910
mov eax, dword [esp + 0xf0]
cmp dword [0x78ff6c], eax
jne 0x52d7bf
mov ecx, dword [0x78ff68]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004030b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x52d7b8
mov ecx, dword [esp + 0xbc]
test ecx, ecx
jne 0x52d7ac
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
test ecx, ecx
jne 0x52d763
mov ecx, 6
lea edx, [0x60a536]
mov ebx, dword [esp + 0x84]
test ebx, ebx
jne 0x52d774
mov ebx, dword [0x78f90c]
mov dword [esp + 0x1c], ecx
movzx ebp, byte [esp + 0x78]
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0046c08b
lea ecx, [0x52dea0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
xchg ebp, eax
mov byte [esp + 0x68], al
xchg ebp, eax
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0xf0]
jmp 0x52d910
mov eax, dword [esp + 0xf0]
cmp dword [0x78ffb4], eax
jne 0x52d890
mov ecx, dword [0x78ffb0]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004030b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x52d889
mov eax, dword [esp + 0xc8]
test eax, eax
jne 0x52d87b
movzx eax, byte [esp + 0x78]
mov byte [esp + 0x1b], al
mov ecx, dword [0x78ff70]
mov edx, dword [0x78ff74]
lea ebx, [0x5df340]
mov dword [esp], ebx
mov ebp, dword [esp + 0xe8]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00411210
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x54], 0
lea edx, [0x52db60]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
movzx eax, byte [esp + 0x1b]
mov byte [esp + 0x54], al
lea eax, [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0xf0]
jmp 0x52d910
mov eax, dword [esp + 0xf0]
cmp dword [0x78ffc4], eax
jne 0x52d8ff
mov ecx, dword [0x78ffc0]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004030b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x52d8f8
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x52d8ed
movzx ecx, byte [esp + 0x78]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
lea edx, [0x52da10]
mov dword [esp + 0x2c], edx
mov byte [esp + 0x30], cl
lea eax, [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0xf0]
jmp 0x52d910
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xd0]
test ecx, ecx
jne 0x52d910
lea ecx, [0x62067c]
mov dword [esp + 0x40], ecx
lea edx, [0x5df340]
mov dword [esp], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00411210
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x52d9a5
mov edx, dword [esp + 0xe4]
mov ebx, dword [edx + 4]
sub ebx, dword [edx + 0xc]
test ebx, ebx
jle 0x52d995
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], ecx
mov dword [esp], edx
mov byte [esp + 4], 0x20
call fcn.0050c810
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0050c320
add esp, 0x6c
ret
inc ebx
cmp ebx, ecx
jge 0x52d693
lea ebp, [eax + ebx*8]
mov esi, dword [ebp + 4]
cmp edx, esi
jne 0x52d9a9
mov dword [esp + 0x24], ebx
mov eax, dword [ebp]
mov dword [esp], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004030b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52d9f8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0x24]
jmp 0x52d9a9
add esp, 0x6c
ret
call fcn.0046aa70
jmp fcn.0052d650