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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x525ce4
add esp, 0xffffff80
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
cmp ecx, eax
jle 0x5259be
jbe 0x525cde
mov edx, dword [esp + 0x84]
movzx ebx, byte [eax + edx]
test bl, 0x20
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
lea esi, [eax + 1]
mov edi, ebx
shr bl, 6
movzx ebx, bl
mov dword [esp + 0x38], ebx
and edi, 0x1f
cmp edi, 0x1f
je 0x525753
xor eax, eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
jmp 0x5257b4
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.00524c50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test ebx, ebx
jne 0x52597c
cmp eax, 0x1f
jl 0x5258fa
mov edx, dword [esp + 0x84]
mov esi, ecx
mov edi, eax
mov eax, ebx
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x38]
movzx ebp, byte [esp + 0x23]
mov dword [esp + 0x34], edi
cmp ecx, esi
jle 0x52587c
jbe 0x525cd7
movzx ebp, byte [esi + edx]
inc esi
xchg ebp, eax
test al, 0x80
xchg ebp, eax
je 0x525874
and ebp, 0x7f
test ebp, ebp
je 0x5257f6
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
jmp 0x525a8d
mov dword [esp + 0x30], esi
lea eax, [0x66e6d2]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x21
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf768]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
and ebp, 0x7f
jmp 0x525a2e
mov dword [esp + 0x30], esi
lea eax, [0x669d10]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x17
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf768]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
lea eax, [0x665c53]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0xf
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf768]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
movzx eax, byte [esp + 0x23]
mov byte [esp + 0xa0], al
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebp
sub esp, 0xffffff80
ret
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x671399]
mov dword [eax], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov byte [esp + 0xa0], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf2f4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebp
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea ebx, [edi + 1]
mov edi, dword [esp + 0x84]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x24]
cmp edi, ebp
jge 0x525c3f
cmp ecx, esi
jle 0x525bc5
jbe 0x525cd0
movzx ebx, byte [edx + esi]
inc esi
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x30]
cmp edx, 0x800000
jge 0x525b4b
shl edx, 8
or edx, ebx
test edx, edx
jne 0x525a6c
mov dword [esp + 0x28], edx
lea eax, [0x66f694]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x23
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf754]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x66634d]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf754]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x669d10]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x17
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf768]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80
jl 0x525c56
mov edi, dword [esp + 0x34]
mov ebp, ecx
jmp 0x525a2e
lea eax, [0x6670c5]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x12
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x6cf754]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, esi
call fcn.0045f420
mov eax, esi
call fcn.0045f420
call fcn.0045f420
nop
call fcn.0045df90
jmp fcn.005256e0