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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x48]
cmp eax, dword [ecx + 8]
jbe 0x52ae3c
sub esp, 0xc8
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xcc]
movzx ebp, byte [ecx + 0xf]
mov ebx, ebp
and ebx, 0x1f
movzx ebp, bl
cmp ebp, 0x14
je 0x52a7d1
mov byte [esp + 0xd4], 0
add esp, 0xc8
ret
mov dword [esp + 0x48], ecx
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 0x28]
cmp ebp, 0
jne 0x52a7f0
mov byte [esp + 0xd4], 1
add esp, 0xc8
ret
mov ebx, dword [esp + 0xd0]
movzx ebp, byte [ebx + 0xf]
mov ebx, ebp
and ebx, 0x1f
movzx ebp, bl
cmp ebp, 0x14
jne 0x52aad5
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], 0
xor eax, eax
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx + 0x28]
cmp eax, ebp
jge 0x52a9da
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov esi, dword [ebx + 0x28]
cmp ebp, esi
jae 0x52aace
mov esi, dword [ebx + 0x24]
shl ebp, 3
add esi, ebp
mov dword [esp + 0x40], esi
mov ebx, dword [esp + 0x3c]
cmp ebx, 0
je 0x52aac7
mov dword [esp + 0x18], eax
mov ebp, eax
mov esi, dword [ebx + 0x28]
cmp eax, esi
jae 0x52aac0
mov esi, dword [ebx + 0x24]
shl ebp, 3
add esi, ebp
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov dword [esp + 0x34], esi
mov ebp, dword [esi]
mov dword [esp + 4], ebp
call fcn.00525fc0
mov ecx, dword [esp + 8]
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x58], ecx
xor ebx, ebx
cmp ecx, ebx
jne 0x52aa5e
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x52aa53
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx]
mov dword [esp + 4], ebp
call fcn.00525fc0
mov eax, dword [esp + 8]
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x4c], eax
xor ebx, ebx
cmp eax, ebx
jne 0x52a9f3
mov edi, dword [esp + 0x98]
mov dword [esp + 0xa8], edi
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x80]
mov dword [esp + 0xa0], esi
mov eax, dword [esp + 0x84]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa4], eax
cmp ecx, eax
jne 0x52a9e9
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
call fcn.00451bb0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x52a9e9
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x34]
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
call fcn.00526010
mov ebx, dword [esp + 8]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x52a9eb
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
call fcn.00526010
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x7c]
cmp ebx, eax
jne 0x52a9e9
mov ebx, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 0x28]
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
jl 0x52a9c6
mov byte [esp + 0xd4], 1
add esp, 0xc8
ret
mov eax, dword [esp + 0x18]
inc eax
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx + 0x28]
cmp eax, ebp
jl 0x52a830
mov byte [esp + 0xd4], 0
add esp, 0xc8
ret
jmp 0x52a9c6
mov dword [0], eax
jmp 0x52a983
lea ebx, [esp + 0x80]
mov edx, ebx
mov dword [esp + 0x70], eax
cmp eax, 0
je 0x52aa4f
mov ebp, eax
add ebp, 3
mov dword [esp + 0x5c], ebx
cmp ebx, 0
je 0x52aa4b
cmp byte [0x6cfdf8], 0
jne 0x52aa35
mov dword [ebx], ebp
movzx esi, byte [eax + 1]
mov ebx, esi
shl ebx, 8
movzx esi, byte [eax + 2]
or ebx, esi
mov dword [edx + 4], ebx
jmp 0x52a8f2
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e410
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x70]
jmp 0x52aa1e
mov dword [ebx], eax
jmp 0x52aa13
mov dword [eax], eax
jmp 0x52aa05
mov dword [0], eax
jmp 0x52a8c1
mov edx, ecx
lea ebx, [esp + 0x98]
mov edi, ebx
mov dword [esp + 0x78], ecx
cmp ecx, 0
je 0x52aabc
mov ebp, ecx
add ebp, 3
mov dword [esp + 0x64], ebx
cmp ebx, 0
je 0x52aab8
cmp byte [0x6cfdf8], 0
jne 0x52aaa2
mov dword [ebx], ebp
movzx esi, byte [edx + 1]
mov ebx, esi
shl ebx, 8
movzx esi, byte [edx + 2]
or ebx, esi
mov dword [edi + 4], ebx
jmp 0x52a8b0
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e410
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x78]
jmp 0x52aa8b
mov dword [ebx], eax
jmp 0x52aa80
mov dword [ecx], eax
jmp 0x52aa72
call fcn.004278c0
ud2
mov dword [ebx], eax
jmp 0x52a85c
call fcn.004278c0
ud2
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
call fcn.00526090
mov ebx, dword [esp + 4]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x38]
xor ebp, ebp
cmp ebx, ebp
jne 0x52ab05
mov byte [esp + 0xd4], 0
add esp, 0xc8
ret
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x38]
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 0x52ae35
cmp ecx, ebx
ja 0x52ae35
cmp edx, 0
je 0x52ae2e
mov dword [esp + 0xb0], edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc4], ebx
xor eax, eax
mov ebx, dword [esp + 0x38]
movzx ebp, word [ebx + 4]
cmp ebp, eax
jle 0x52ad3c
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x20]
mov esi, dword [ebx + 0x28]
cmp ebp, esi
jae 0x52ae27
mov esi, dword [ebx + 0x24]
shl ebp, 3
add esi, ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], eax
mov ebx, eax
mov ebp, dword [esp + 0xc0]
cmp eax, ebp
jae 0x52ae20
mov ebp, dword [esp + 0xbc]
shl ebx, 4
add ebp, ebx
mov eax, dword [ebp]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 4], eax
call fcn.00525fc0
mov eax, dword [esp + 8]
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x54], eax
xor ebx, ebx
cmp eax, ebx
jne 0x52adc0
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x52adb5
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx]
mov dword [esp + 4], ebp
call fcn.00525fc0
mov eax, dword [esp + 8]
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x50], eax
xor ebx, ebx
cmp eax, ebx
jne 0x52ad55
mov edi, dword [esp + 0x88]
mov dword [esp + 0xa8], edi
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
mov dword [esp + 0xa0], esi
mov eax, dword [esp + 0x94]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa4], eax
cmp ecx, eax
jne 0x52ad4b
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
call fcn.00451bb0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x52ad4b
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
call fcn.00526010
mov ebx, dword [esp + 8]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x52ad4d
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
call fcn.00526010
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x7c]
cmp ebx, eax
jne 0x52ad4b
mov ebx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 0x28]
mov ebx, dword [esp + 0x20]
cmp ebx, ebp
jl 0x52ad27
mov byte [esp + 0xd4], 1
add esp, 0xc8
ret
mov eax, dword [esp + 0x14]
inc eax
mov ebx, dword [esp + 0x38]
movzx ebp, word [ebx + 4]
cmp ebp, eax
jg 0x52ab83
mov byte [esp + 0xd4], 0
add esp, 0xc8
ret
jmp 0x52ad27
mov dword [0], eax
jmp 0x52ace4
lea ebx, [esp + 0x90]
mov edx, ebx
mov dword [esp + 0x74], eax
cmp eax, 0
je 0x52adb1
mov ebp, eax
add ebp, 3
mov dword [esp + 0x60], ebx
cmp ebx, 0
je 0x52adad
cmp byte [0x6cfdf8], 0
jne 0x52ad97
mov dword [ebx], ebp
movzx esi, byte [eax + 1]
mov ebx, esi
shl ebx, 8
movzx esi, byte [eax + 2]
or ebx, esi
mov dword [edx + 4], ebx
jmp 0x52ac56
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e410
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x74]
jmp 0x52ad80
mov dword [ebx], eax
jmp 0x52ad75
mov dword [eax], eax
jmp 0x52ad67
mov dword [0], eax
jmp 0x52ac25
lea ebx, [esp + 0x88]
mov edx, ebx
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x52ae1c
mov ebp, eax
add ebp, 3
mov dword [esp + 0x68], ebx
cmp ebx, 0
je 0x52ae18
cmp byte [0x6cfdf8], 0
jne 0x52ae02
mov dword [ebx], ebp
movzx esi, byte [eax + 1]
mov ebx, esi
shl ebx, 8
movzx esi, byte [eax + 2]
or ebx, esi
mov dword [edx + 4], ebx
jmp 0x52ac14
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e410
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
jmp 0x52adeb
mov dword [ebx], eax
jmp 0x52ade0
mov dword [eax], eax
jmp 0x52add2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
mov dword [edx], eax
jmp 0x52ab47
call fcn.00427930
ud2
call fcn.0044fe90
jmp fcn.0052a750