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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x52b0e3
sub esp, 0xa8
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [esp + 0xb4]
movzx esi, byte [ebp]
xchg esi, eax
test al, al
xchg esi, eax
je 0x52ad0b
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x52acda
mov edx, dword [ecx + 8]
test edx, edx
je 0x52acda
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea edx, [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0052ca70
mov eax, dword [esp + 0xc]
test eax, eax
je 0x52acc8
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
jmp 0x52ad0b
mov dword [esp + 0xc0], 0
add esp, 0xa8
ret
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.00529d20
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
add esp, 0xa8
ret
mov esi, dword [ebp + 8]
mov dword [esp + 0x48], esi
mov edi, dword [ebp + 4]
mov dword [esp + 0x70], edi
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x52af74
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edx
mov ebp, dword [esp + 0xac]
cmp eax, ebp
je 0x52ad7e
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
mov ebx, dword [eax + 0xc]
mov edx, dword [eax + 4]
test esi, esi
je 0x52af47
test ebx, ebx
je 0x52af39
lea esi, [edi + esi*4 - 4]
lea edx, [edx + ebx*4 - 4]
cmp edx, esi
jne 0x52af2b
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov byte [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea esi, [esp + 0x88]
cmp eax, esi
je 0x52af22
mov dword [esp + 0x7c], ecx
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
test esi, esi
jg 0x52ade3
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
jmp 0x52aeb4
mov dword [esp + 0x64], esi
mov dword [esp + 0x80], edi
cmp esi, 1
jne 0x52ae5a
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
mov ecx, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
mov edx, 1
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
jmp 0x52aeb4
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 8], eax
call fcn.0043f090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x58], esi
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x58]
cmp ebx, esi
jg 0x52aebe
mov esi, ebx
mov edx, dword [esp + 0x78]
cmp edx, edi
je 0x52aef3
mov dword [esp], edx
mov dword [esp + 4], edi
shl esi, 2
mov dword [esp + 8], esi
call fcn.00452920
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x8c], edx
movzx eax, byte [eax]
mov byte [esp + 0x88], al
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x88]
jmp 0x52af53
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
jmp 0x52af53
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
jmp 0x52af53
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x48]
mov eax, edi
mov edi, dword [esp + 0x70]
jmp 0x52af84
xor eax, eax
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
movzx ebp, byte [esp + 0xbc]
xchg ebp, eax
mov byte [esp + 0x30], al
xchg ebp, eax
call fcn.005314f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xac]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
lea edi, [ebx + 4]
mov edx, dword [0x6d6280]
test edx, edx
jne 0x52b019
mov dword [ebx + 4], ecx
jmp 0x52b024
mov edx, eax
mov eax, ecx
call fcn.00452020
mov eax, edx
test eax, eax
je 0x52b04e
mov eax, dword [esp + 0xb0]
movzx eax, byte [eax]
test al, al
je 0x52b04e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x52b04e
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
test eax, 1
setne al
jmp 0x52b050
xor eax, eax
mov byte [ebx], al
test al, al
je 0x52b0d5
mov eax, dword [esp + 0x50]
test eax, eax
je 0x52b0d5
mov dword [esp + 0x84], edi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x74]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
call fcn.0052dde0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xac]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x52b0c6
mov dword [ebx + 4], eax
jmp 0x52b0d2
mov edi, dword [esp + 0x84]
call fcn.00452020
mov byte [ebx], 0
mov dword [esp + 0xc0], ebx
add esp, 0xa8
ret
call fcn.00450c10
jmp fcn.0052ac10