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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x52ddb9
sub esp, 0xb0
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov ebx, 0x6c9a80
mov dword [esp], ebx
call fcn.004d3d70
mov eax, dword [esp + 0xb4]
mov dword [esp], 0x5c61a0
mov ebx, dword [0x6c9a98]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040ab70
mov eax, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
mov byte [esp + 0x22], bl
mov ebp, dword [eax]
mov dword [esp + 0x80], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x84], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x88], ebp
mov ebx, 0x6c9a80
mov dword [esp], ebx
call fcn.004d3de0
cmp byte [esp + 0x22], 0
je 0x52d924
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
call fcn.0052d450
mov eax, dword [esp + 4]
xor ebp, ebp
cmp eax, ebp
jne 0x52d95b
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, eax
add edx, ecx
movzx ecx, word [eax + 4]
movzx ebp, word [eax + 4]
movzx ebx, cx
mov ecx, ebx
movzx ebx, bp
cmp ebx, 0x10000
ja 0x52ddb2
cmp ecx, ebx
ja 0x52ddb2
cmp edx, 0
je 0x52ddab
mov dword [esp + 0x74], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x52da6d
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x52dda4
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x38], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
call fcn.0052d380
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x52dd9a
xor eax, eax
cmp al, 0
jne 0x52dd89
mov byte [esp + 0x23], 0
cmp byte [esp + 0x23], 0
je 0x52dbb0
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x88], ebx
mov ebx, 0x6c9a80
mov dword [esp], ebx
call fcn.004d3ef0
mov eax, dword [0x6c9a98]
xor ebx, ebx
cmp eax, ebx
jne 0x52dafe
mov dword [esp], 0x5c61a0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00407930
mov ebx, dword [esp + 0x14]
cmp byte [0x6dae38], 0
jne 0x52db9a
mov dword [0x6c9a98], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x94], ebx
mov dword [esp], 0x5c61a0
mov ebx, dword [0x6c9a98]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x8c]
mov dword [esp + 0xc], ebx
call fcn.00408540
mov ebx, 0x6c9a80
mov dword [esp], ebx
call fcn.004d3fc0
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebp, 0x6c9a98
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040fcf0
jmp 0x52dafe
mov eax, dword [esp + 0xa8]
mov dword [esp], 0x5dbd80
mov dword [esp + 4], 0
mov dword [esp + 8], 0
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043cbf0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x84], esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x52dd11
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x52dd82
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x48], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 4], eax
call fcn.0052d380
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x52dd78
xor eax, eax
cmp al, 0
je 0x52dcf9
mov ecx, dword [esp + 0x80]
mov eax, esi
mov ebx, esi
inc ebx
cmp ebx, edi
ja 0x52dd33
mov esi, ebx
mov dword [esp + 0x84], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 0x10
add ebx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [ebx], ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [ebx + 0xc], ebp
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jl 0x52dc39
cmp esi, edi
ja 0x52dd2c
cmp esi, esi
ja 0x52dd2c
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
jmp 0x52daa2
call fcn.00429210
ud2
mov dword [esp], 0x5dbd80
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, esi
inc esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x80], ecx
jmp 0x52dcd5
mov eax, 1
jmp 0x52dcb7
mov dword [eax], eax
jmp 0x52dc48
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
jmp 0x52d9e7
mov eax, 1
jmp 0x52da5f
mov dword [eax], eax
jmp 0x52d9fe
mov dword [edx], eax
jmp 0x52d991
call fcn.00429210
ud2
call fcn.004518d0
jmp fcn.0052d850