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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5799d2
add esp, 0xffffff80
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
cmp ecx, eax
jle 0x5796ac
jbe 0x5799cc
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 0x579443
xor eax, eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
jmp 0x5794a2
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.00578a20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x57966a
cmp ebx, 0x1f
jl 0x5795e8
movzx ebp, byte [esp + 0x23]
mov dword [esp + 0x44], ecx
mov esi, edx
mov edi, ebx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], edi
cmp ecx, esi
jle 0x57956a
jbe 0x5799c5
movzx ebp, byte [esi + edx]
inc esi
xchg ebp, eax
test al, 0x80
xchg ebp, eax
je 0x579562
and ebp, 0x7f
test ebp, ebp
je 0x5794e4
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 0x57977b
mov dword [esp + 0x30], esi
lea eax, [0x774291]
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.004090a0
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, [0x7caba4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
and ebp, 0x7f
jmp 0x57971c
mov dword [esp + 0x30], esi
lea eax, [0x76ffd3]
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.004090a0
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, [0x7caba4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
lea eax, [0x76c4e0]
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.004090a0
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, [0x7caba4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 0
movzx eax, byte [esp + 0x23]
mov byte [esp + 0xa0], al
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ecx
sub esp, 0xffffff80
ret
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x776f9e]
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, [0x7ca6cc]
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 0x57992d
cmp ecx, esi
jle 0x5798b3
jbe 0x5799be
movzx ebx, byte [edx + esi]
inc esi
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x30]
cmp edx, 0x800000
jge 0x579839
shl edx, 8
or edx, ebx
test edx, edx
jne 0x57975a
mov dword [esp + 0x28], edx
lea eax, [0x7751f9]
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.004090a0
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, [0x7cabb8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x76cb00]
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.004090a0
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, [0x7cabb8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x76ffd3]
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.004090a0
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, [0x7caba4]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80
jl 0x579944
mov edi, dword [esp + 0x34]
mov ebp, ecx
jmp 0x57971c
lea eax, [0x76d6e4]
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.004090a0
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, [0x7cabb8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, esi
call fcn.00456b40
mov eax, esi
call fcn.00456b40
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.005793d0