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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5248a1
sub esp, 0x30
mov ebx, dword [esp + 0x34]
mov ebp, dword [ebx + 0x34]
test ebp, ebp
je 0x524888
mov ebp, dword [esp + 0x38]
cmp dword [ebx + 0x64], ebp
jge 0x523fa8
mov esi, dword [ebx + 0x7c]
test esi, esi
jne 0x523f27
mov dword [esp], ebx
call fcn.00523b70
movzx eax, byte [esp + 4]
test al, al
je 0x523f9f
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [ebx + 0x60]
mov edi, dword [ebx + 0x58]
test esi, esi
jle 0x523f83
cmp esi, edi
jge 0x523f83
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x5c]
sub ecx, esi
neg ecx
sar ecx, 0x1f
and ecx, esi
mov edx, edi
sub edi, esi
lea esi, [eax + ecx]
cmp edx, edi
jg 0x523f51
mov edi, edx
test ecx, ecx
je 0x523f75
mov dword [esp + 0x24], edx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.004617e0
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [ebx + 0x60]
mov dword [ebx + 0x60], 0
sub edx, esi
jmp 0x523f92
cmp esi, edi
jne 0x523f90
mov dword [ebx + 0x60], 0
xor edi, edi
mov edx, edi
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x58], esi
mov eax, 1
jmp 0x523fb3
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov byte [esp + 0x3c], 1
add esp, 0x30
ret
xor eax, eax
cmp dword [ebx + 0x64], ebp
jge 0x52406e
mov dword [esp + 0x18], edx
test al, al
je 0x523fd0
mov esi, dword [ebx + 0x78]
cmp dword [ebx + 0x70], esi
jne 0x5240b0
mov dword [esp], ebx
call fcn.00523ce0
movzx eax, byte [esp + 4]
test al, al
je 0x52404b
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
jmp 0x5240b0
mov ebx, dword [esp + 0x34]
movzx ebp, byte [ebx + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5244b1
mov ebp, dword [esp + 0x38]
jmp 0x524038
mov ebx, dword [esp + 0x34]
movzx ebp, byte [ebx + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x524581
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
jmp 0x524038
movzx ebp, byte [ebx + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x524607
mov ebp, dword [esp + 0x38]
movzx esi, byte [ebx + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
je 0x523fb1
jmp 0x52464a
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x5c]
mov ecx, dword [esp + 0x18]
cmp ecx, edx
ja 0x52409e
mov dword [eax + 0x58], ecx
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov esi, dword [ebx + 0x54]
mov byte [esi + edx], 0
inc edx
cmp ebp, edx
jle 0x52407b
mov ecx, dword [ebx + 0x58]
cmp edx, ecx
jb 0x524066
jmp 0x524097
mov eax, dword [ebx + 0x5c]
cmp edx, eax
ja 0x52408e
mov dword [ebx + 0x58], edx
mov byte [esp + 0x3c], 1
add esp, 0x30
ret
mov ecx, edx
mov edx, eax
call fcn.00460fa0
mov eax, edx
call fcn.00460f60
call fcn.00460fa0
inc dword [ebp + 0x64]
mov ebp, dword [esp + 0x38]
mov edx, ebx
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x70]
cmp ecx, eax
je 0x524038
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov esi, dword [ebx + 0x7c]
mov edi, dword [ebx + 0x6c]
sub ecx, eax
cmp esi, 1
jne 0x5241c9
mov esi, dword [esp + 0x24]
cmp esi, eax
jbe 0x524881
movzx ebp, byte [edi + eax]
xchg ebp, eax
test al, 0x80
xchg ebp, eax
jne 0x524101
mov dword [esp + 0x28], eax
mov eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
jmp 0x524170
xchg ebp, eax
mov byte [esp + 0xf], al
xchg ebp, eax
and ebp, 0xffffffe0
xchg ebp, eax
cmp al, 0xc0
xchg ebp, eax
jne 0x524126
movzx ebp, byte [esp + 0xf]
mov ebp, 2
mov dword [esp + 0x10], ebp
movzx ebp, byte [esp + 0xf]
jmp 0x524170
movzx ebp, byte [esp + 0xf]
and ebp, 0xfffffff0
xchg ebp, eax
cmp al, 0xe0
xchg ebp, eax
jne 0x52414a
movzx ebp, byte [esp + 0xf]
mov ebp, 3
mov dword [esp + 0x10], ebp
movzx ebp, byte [esp + 0xf]
jmp 0x524170
movzx ebp, byte [esp + 0xf]
and ebp, 0xfffffff8
xchg ebp, eax
cmp al, 0xf0
xchg ebp, eax
jne 0x5244f4
movzx ebp, byte [esp + 0xf]
mov ebp, 4
mov dword [esp + 0x10], ebp
movzx ebp, byte [esp + 0xf]
mov ebx, dword [esp + 0x10]
cmp ebx, ecx
jg 0x523ff2
xchg ebp, eax
test al, 0x80
xchg ebp, eax
jne 0x524188
and ebp, 0x7f
jmp 0x5241bf
mov ecx, ebp
and ebp, 0xffffffe0
xchg ebp, eax
cmp al, 0xc0
xchg ebp, eax
jne 0x52419b
and ecx, 0x1f
mov ebp, ecx
jmp 0x5241bf
mov ebp, ecx
and ecx, 0xfffffff0
cmp cl, 0xe0
jne 0x5241aa
and ebp, 0xf
jmp 0x5241bf
mov ecx, ebp
and ebp, 0xfffffff8
xchg ebp, eax
cmp al, 0xf0
xchg ebp, eax
jne 0x5241bd
and ecx, 7
mov ebp, ecx
jmp 0x5241bf
xor ebp, ebp
mov ecx, 1
jmp 0x524737
lea ebp, [esi - 2]
cmp ebp, 1
ja 0x52470d
cmp ecx, 2
jl 0x524026
cmp esi, 2
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea edx, [ebp + eax]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jbe 0x524704
mov dword [esp + 0x24], edx
cmp esi, 2
xchg esi, ebx
sete bl
xchg esi, ebx
xchg esi, eax
movzx eax, al
xchg esi, eax
mov dword [esp + 0x14], esi
add esi, eax
movzx edx, byte [edi + edx]
cmp ebx, esi
jbe 0x5246fb
mov dword [esp + 0x1c], esi
movzx esi, byte [edi + esi]
shl esi, 8
add esi, edx
mov edx, esi
and esi, 0xfc00
cmp esi, 0xdc00
je 0x5245c4
cmp esi, 0xd800
jne 0x5242b8
cmp ecx, 4
jl 0x52400a
lea ebp, [ebp + eax + 2]
cmp ebx, ebp
jbe 0x5246f2
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + eax + 2]
mov esi, dword [esp + 0x24]
movzx esi, byte [edi + esi + 2]
cmp ebx, ebp
jbe 0x5246e9
mov ebx, dword [esp + 0x1c]
movzx ebx, byte [edi + ebx + 2]
shl ebx, 8
add ebx, esi
mov ebp, ebx
and ebx, 0xfc00
cmp ebx, 0xdc00
jne 0x52453b
and edx, 0x3ff
shl edx, 0xa
and ebp, 0x3ff
lea esi, [ebp + edx + 0x10000]
mov ecx, 4
jmp 0x5242bf
mov esi, edx
mov ecx, 2
cmp esi, 9
je 0x52430c
cmp esi, 0xa
je 0x52430c
cmp esi, 0xd
je 0x52430c
lea ebx, [esi - 0x20]
cmp ebx, 0x5e
jbe 0x52430c
cmp esi, 0x85
je 0x52430c
lea ebx, [esi - 0xa0]
cmp ebx, 0xd75f
jbe 0x52430c
lea ebx, [esi - 0xe000]
cmp ebx, 0x1ffd
jbe 0x52430c
lea ebx, [esi - 0x10000]
cmp ebx, 0xfffff
ja 0x524668
lea ebx, [ecx + eax]
mov ebp, dword [esp + 0x34]
mov dword [ebp + 0x78], ebx
add dword [ebp + 0x80], ecx
cmp esi, 0x7f
jg 0x524342
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jae 0x5246e4
mov ebx, dword [ebp + 0x54]
xchg esi, ecx
mov byte [ebx + eax], cl
xchg esi, ecx
lea ebx, [eax + 1]
jmp 0x5240a3
cmp esi, 0x7ff
jg 0x524398
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jae 0x5246df
mov ebx, dword [ebp + 0x54]
mov edi, esi
sar esi, 6
add esi, 0xc0
xchg esi, ecx
mov byte [ebx + eax], cl
xchg esi, ecx
mov ecx, dword [ebp + 0x58]
lea ebx, [eax + 1]
cmp ecx, ebx
jbe 0x5246d8
mov ebx, dword [ebp + 0x54]
and edi, 0x3f
lea esi, [edi + 0x80]
xchg esi, ecx
mov byte [eax + ebx + 1], cl
xchg esi, ecx
lea ebx, [eax + 2]
jmp 0x5240a3
cmp esi, 0xffff
jg 0x524415
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jae 0x5246d3
mov ebx, dword [ebp + 0x54]
mov edi, esi
sar esi, 0xc
add esi, 0xe0
xchg esi, ecx
mov byte [ebx + eax], cl
xchg esi, ecx
mov ecx, dword [ebp + 0x58]
lea ebx, [eax + 1]
cmp ecx, ebx
jbe 0x5246cc
mov ebx, dword [ebp + 0x54]
mov esi, edi
sar edi, 6
and edi, 0x3f
add edi, 0x80
xchg edi, ecx
mov byte [eax + ebx + 1], cl
xchg edi, ecx
mov ecx, dword [ebp + 0x58]
lea ebx, [eax + 2]
cmp ecx, ebx
jbe 0x5246c5
mov ebx, dword [ebp + 0x54]
and esi, 0x3f
add esi, 0x80
xchg esi, ecx
mov byte [eax + ebx + 2], cl
xchg esi, ecx
lea ebx, [eax + 3]
jmp 0x5240a3
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jae 0x5246c0
mov ebx, dword [ebp + 0x54]
mov edi, esi
sar esi, 0x12
add esi, 0xf0
xchg esi, ecx
mov byte [ebx + eax], cl
xchg esi, ecx
mov ecx, dword [ebp + 0x58]
lea ebx, [eax + 1]
cmp ecx, ebx
jbe 0x5246b9
mov ebx, dword [ebp + 0x54]
mov esi, edi
sar edi, 0xc
and edi, 0x3f
add edi, 0x80
xchg edi, ecx
mov byte [eax + ebx + 1], cl
xchg edi, ecx
mov ecx, dword [ebp + 0x58]
lea ebx, [eax + 2]
cmp ecx, ebx
jbe 0x5246b2
mov ebx, dword [ebp + 0x54]
mov edi, esi
sar esi, 6
and esi, 0x3f
add esi, 0x80
xchg esi, ecx
mov byte [eax + ebx + 2], cl
xchg esi, ecx
mov ecx, dword [ebp + 0x58]
lea ebx, [eax + 3]
cmp ecx, ebx
jbe 0x5246ab
mov esi, dword [ebp + 0x54]
and edi, 0x3f
add edi, 0x80
xchg edi, ebx
mov byte [eax + esi + 3], bl
xchg edi, ebx
lea ebx, [eax + 4]
jmp 0x5240a3
mov eax, dword [ebx + 0x80]
mov dword [ebx], 2
mov dword [ebx + 8], 0x1f
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x5244d8
mov ecx, dword [ebx + 4]
call fcn.00460ef0
mov dword [edi], ecx
lea ecx, [0x58e8dc]
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0xffffffff
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, dword [ebx + 0x80]
mov dword [ebx], 2
mov dword [ebx + 8], 0x1b
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x52451b
mov ecx, dword [ebx + 4]
call fcn.00460ef0
mov dword [edi], ecx
lea ecx, [0x58d140]
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
movzx eax, byte [esp + 0xf]
movzx eax, al
mov dword [ebx + 0x10], eax
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x80]
mov dword [eax], 2
mov dword [eax + 8], 0x1b
mov edx, dword [0x6c4f80]
test edx, edx
je 0x524566
mov edx, dword [eax + 4]
call fcn.00460ef0
mov dword [edi], edx
lea edx, [0x58d176]
mov dword [eax + 4], edx
add ecx, 2
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, dword [ebx + 0x80]
mov dword [ebx], 2
mov dword [ebx + 8], 0x20
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x5245a8
mov ecx, dword [ebx + 4]
call fcn.00460ef0
mov dword [edi], ecx
lea ecx, [0x58ef18]
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0xffffffff
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x80]
mov dword [eax], 2
mov dword [eax + 8], 0x1d
mov ebx, dword [0x6c4f80]
test ebx, ebx
je 0x5245ef
mov ebx, dword [eax + 4]
call fcn.00460ef0
mov dword [edi], ebx
lea ebx, [0x58dc8d]
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, dword [ebx + 0x80]
mov dword [ebx], 2
mov dword [ebx + 8], 0x1b
mov ecx, dword [0x6c4f80]
test ecx, ecx
je 0x52462e
mov ecx, dword [ebx + 4]
call fcn.00460ef0
mov dword [edi], ecx
lea ecx, [0x58d15b]
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0xffffffff
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov ecx, dword [ebx + 0x58]
cmp edx, ecx
jae 0x524661
mov esi, dword [ebx + 0x54]
mov byte [esi + edx], 0
inc dword [ebx + 0x64]
inc edx
jmp 0x52406e
mov eax, edx
call fcn.00460f60
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x80]
mov dword [eax], 2
mov dword [eax + 8], 0x22
mov edx, dword [0x6c4f80]
test edx, edx
je 0x524693
mov edx, dword [eax + 4]
call fcn.00460ef0
mov dword [edi], edx
lea edx, [0x58f7ef]
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, ebx
call fcn.00460f60
mov eax, ebx
call fcn.00460f60
mov eax, ebx
call fcn.00460f60
call fcn.00460f60
mov eax, ebx
call fcn.00460f60
mov eax, ebx
call fcn.00460f60
call fcn.00460f60
mov eax, ebx
call fcn.00460f60
call fcn.00460f60
call fcn.00460f60
mov eax, ebp
mov ecx, ebx
call fcn.00460f60
mov eax, ebp
mov ecx, ebx
call fcn.00460f60
mov eax, esi
mov ecx, ebx
call fcn.00460f60
mov eax, edx
mov ecx, ebx
call fcn.00460f60
lea eax, [0x560820]
mov dword [esp], eax
lea eax, [0x5c02f8]
mov dword [esp + 4], eax
call fcn.00435490
shl ebp, 6
movzx edx, byte [esp + 0xf]
and edx, 0x3f
inc ecx
add ebp, edx
mov edx, dword [esp + 0x20]
cmp ecx, ebx
jge 0x5247a3
lea edx, [ecx + eax]
cmp esi, edx
jbe 0x524878
movzx edx, byte [edi + edx]
mov byte [esp + 0xf], dl
and edx, 0xffffffc0
cmp dl, 0x80
je 0x524725
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x80]
mov dword [eax], 2
mov dword [eax + 8], 0x1c
mov ebx, dword [0x6c4f80]
add ecx, edx
test ebx, ebx
je 0x524783
mov edx, dword [eax + 4]
call fcn.00460ef0
mov dword [edi], edx
lea edx, [0x58d704]
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
movzx ecx, byte [esp + 0xf]
movzx ecx, cl
mov dword [eax + 0x10], ecx
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
cmp ebx, 1
je 0x5247cf
cmp ebx, 2
jne 0x5247b5
cmp ebp, 0x80
jge 0x5247cf
cmp ebx, 3
jne 0x5247c2
cmp ebp, 0x800
jge 0x5247cf
cmp ebx, 4
jne 0x524831
cmp ebp, 0x10000
jl 0x524831
lea esi, [ebp - 0xd800]
cmp esi, 0x7ff
jbe 0x5247ee
cmp ebp, 0x10ffff
jg 0x5247ee
mov esi, ebp
mov ecx, ebx
jmp 0x5242bf
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x80]
mov dword [eax], 2
mov dword [eax + 8], 0x19
mov edx, dword [0x6c4f80]
test edx, edx
je 0x524819
mov edx, dword [eax + 4]
call fcn.00460ef0
mov dword [edi], edx
lea edx, [0x58c66c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x80]
mov dword [eax], 2
mov dword [eax + 8], 0x22
mov edx, dword [0x6c4f80]
test edx, edx
je 0x52485c
mov edx, dword [eax + 4]
call fcn.00460ef0
mov dword [edi], edx
lea edx, [0x58f7cd]
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0xffffffff
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, edx
mov ecx, esi
call fcn.00460f60
mov ecx, esi
call fcn.00460f60
lea eax, [0x560820]
mov dword [esp], eax
lea eax, [0x5c02f0]
mov dword [esp + 4], eax
call fcn.00435490
nop
call fcn.0045faf0
jmp fcn.00523ed0