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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5278de
sub esp, 0x70
call fcn.005272d0
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
test edx, edx
jne 0x5278b1
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x74]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x527604
inc edx
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jge 0x5278a6
mov eax, dword [eax + edx*4]
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x527619
mov ebx, dword [eax + 0x48]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x527635
cmp ebx, ecx
jne 0x5275fb
mov dword [esp + 0x44], eax
mov ecx, dword [eax + 0x28]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0x2710
mov dword [esp + 8], 0x2710
call fcn.00456920
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.0044c968
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x44]
cmp edx, 1
jne 0x527697
mov dword [esp + 0x6c], 1
mov edx, dword [ecx + 0x40]
cmp edx, 0x18
ja 0x527865
cmp edx, 9
ja 0x527837
cmp edx, 6
jne 0x527829
mov edx, dword [esp + 0x6c]
or edx, 0x12
mov dword [esp + 0x6c], edx
mov edx, dword [ecx + 0x3c]
cmp edx, 0xffffffff
jne 0x527820
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [ecx + 0x34]
test edx, edx
ja 0x5277c4
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jg 0x527788
mov ebp, dword [esp + 0x4c]
mov eax, dword [0xadb480]
shl ecx, 5
lea edi, [ebp + ecx]
test eax, eax
jne 0x527754
lea esi, [esp + 0x50]
call fcn.0044ce30
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
je 0x52772b
mov esi, edx
mov edi, ebp
mov edx, dword [esp + 0x38]
mov ebp, ebx
jmp 0x5275fb
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
lea eax, [0x7a76a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0040f540
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
jmp 0x527710
lea eax, [0x7a76a0]
mov dword [esp], eax
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b10
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x24]
jmp 0x5276f6
mov dword [esp + 8], edx
lea eax, [0x7718e0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00438a40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x44]
add ecx, 0x2c
test byte [ecx], al
cmp edx, 8
jle 0x527805
mov edx, 8
cmp ecx, eax
je 0x527819
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044d070
xor eax, eax
jmp 0x5276df
mov dword [esp + 0x54], edx
jmp 0x5276d4
cmp edx, 9
je 0x5276b5
jmp 0x5276c0
cmp edx, 0x17
jne 0x52784c
mov edx, dword [esp + 0x6c]
or edx, 0x18
mov dword [esp + 0x6c], edx
jmp 0x5276c0
cmp edx, 0x18
jne 0x5276c0
mov edx, dword [esp + 0x6c]
or edx, 0x14
mov dword [esp + 0x6c], edx
jmp 0x5276c0
cmp edx, 0x47
ja 0x52788d
cmp edx, 0x25
jne 0x52787f
mov edx, dword [esp + 0x6c]
or edx, 0x1a
mov dword [esp + 0x6c], edx
jmp 0x5276c0
cmp edx, 0x47
je 0x5276b5
jmp 0x5276c0
cmp edx, 0x83
je 0x52783c
cmp edx, 0x90
je 0x5276b5
jmp 0x5276c0
mov ebx, ebp
mov edx, esi
mov ebp, edi
jmp 0x52772b
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
add esp, 0x70
ret
call fcn.0044b110
jmp fcn.005275b0