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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5301ab
sub esp, 0xa0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x128]
cmp ecx, eax
jne 0x52fe45
lea eax, [0x6d0d60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x128]
xor ebx, ebx
jmp 0x52ff1e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6ffe01]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0xa0
ret
mov dword [ebp + ebx + 4], edx
mov eax, ebp
mov ebp, dword [esp + 0x30]
mov dword [eax + ebx + 8], ebp
mov ebp, dword [esp + 0x3c]
mov dword [eax + ebx + 0x10], ebp
mov ebp, dword [esp + 0x68]
lea ecx, [ebp + 0xc]
lea ebx, [esi + 1]
mov edx, dword [esp + 0x128]
cmp edx, ebx
jle 0x5300c6
mov ebp, dword [ecx + 4]
movzx edx, byte [ecx]
mov byte [esp + 0x2b], dl
mov edi, ebp
mov ebp, dword [ecx + 8]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
cmp ebx, ebp
jae 0x5301a1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x38], edi
shl ebx, 5
lea esi, [edx + ebx]
lea edi, [esp + 0x80]
call fcn.004664b0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005007f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x52ff9f
xor edx, edx
jmp 0x52ffab
test ebx, ebx
jbe 0x530198
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x5300a6
movzx ecx, byte [esp + 0x2b]
test cl, cl
jne 0x52fffd
mov ecx, dword [esp + 0x38]
cmp ecx, 2
jg 0x52ffe1
cmp ecx, 1
jne 0x52ffd1
mov eax, 0x29
jmp 0x530024
cmp ecx, 2
jne 0x530180
mov eax, 0x10
jmp 0x530024
cmp ecx, 3
jne 0x52ffed
mov eax, 6
jmp 0x530024
cmp ecx, 4
jne 0x530180
mov eax, 2
jmp 0x530024
cmp cl, 2
jne 0x530168
mov ecx, dword [esp + 0x38]
cmp ecx, 1
jne 0x530016
mov eax, 0x3b
jmp 0x530024
cmp ecx, 2
jne 0x530150
mov eax, 0x26
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
imul ebx, ecx, 0x1c
mov ebp, dword [esp + 0x6c]
lea edi, [ebp + ebx]
mov esi, ecx
mov ecx, dword [0x1eaa9f0]
lea edx, [ebp + ebx]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x94]
test ecx, ecx
jne 0x53006a
xor eax, eax
call fcn.00465fe9
mov ecx, dword [esp + 0x60]
mov dword [ebp + ebx], ecx
jmp 0x52fef7
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edx
lea eax, [0x6d0d60]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004117d0
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
call fcn.00465d80
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x2c]
jmp 0x52fef7
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0xa0
ret
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00452460
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.0052d1b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
add esp, 0xa0
ret
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x78483c]
mov dword [esp + 4], eax
call fcn.00436d20
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x784844]
mov dword [esp + 4], eax
call fcn.00436d20
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x78483c]
mov dword [esp + 4], eax
call fcn.00436d20
xor eax, eax
mov ecx, eax
call fcn.00465e00
mov eax, ebx
mov ecx, ebp
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.0052fde0