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

Disassembly:
mov ecx, dword [0x6d0e30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519520
sub esp, 0x30
mov ebx, dword [esp + 0x34]
mov ebp, dword [ebx + 0x34]
test ebp, ebp
je 0x519507
mov ebp, dword [esp + 0x38]
cmp dword [ebx + 0x64], ebp
jge 0x518c48
mov esi, dword [ebx + 0x78]
test esi, esi
jne 0x518bc7
mov dword [esp], ebx
call fcn.00518830
movzx eax, byte [esp + 4]
test al, al
je 0x518c3f
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [ebx + 0x60]
mov edi, dword [ebx + 0x58]
test esi, esi
jle 0x518c23
cmp esi, edi
jge 0x518c23
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x54]
sub eax, esi
neg eax
sar eax, 0x1f
and eax, esi
mov edx, edi
sub edi, esi
lea esi, [ecx + eax]
cmp edx, edi
jg 0x518bf1
mov edi, edx
test eax, eax
je 0x518c15
mov dword [esp + 0x2c], edx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.004653e0
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [ebx + 0x60]
mov dword [ebx + 0x60], 0
sub edx, esi
jmp 0x518c32
cmp esi, edi
jne 0x518c30
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 0x518c53
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 0x518d0e
mov dword [esp + 0x18], edx
test al, al
je 0x518c70
mov esi, dword [ebx + 0x74]
cmp dword [ebx + 0x6c], esi
jne 0x518d50
mov dword [esp], ebx
call fcn.00518990
movzx eax, byte [esp + 4]
test al, al
je 0x518ceb
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
jmp 0x518d50
mov ebx, dword [esp + 0x34]
movzx ebp, byte [ebx + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x51914e
mov ebp, dword [esp + 0x38]
jmp 0x518cd8
mov ebx, dword [esp + 0x34]
movzx ebp, byte [ebx + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x519215
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
jmp 0x518cd8
movzx ebp, byte [ebx + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x519295
mov ebp, dword [esp + 0x38]
movzx esi, byte [ebx + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
je 0x518c51
jmp 0x5192d5
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x5c]
mov ecx, dword [esp + 0x18]
cmp ecx, edx
ja 0x518d3e
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 0x518d1b
mov ecx, dword [ebx + 0x58]
cmp edx, ecx
jb 0x518d06
jmp 0x518d37
mov eax, dword [ebx + 0x5c]
cmp edx, eax
ja 0x518d2e
mov dword [ebx + 0x58], edx
mov byte [esp + 0x3c], 1
add esp, 0x30
ret
mov ecx, edx
mov edx, eax
call fcn.00464bb0
mov eax, edx
call fcn.00464b70
call fcn.00464bb0
inc dword [ebp + 0x64]
mov ebp, dword [esp + 0x38]
mov edx, ebx
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x6c]
cmp ecx, eax
je 0x518cd8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov esi, dword [ebx + 0x78]
mov edi, dword [ebx + 0x68]
sub ecx, eax
cmp esi, 1
jne 0x518e69
mov esi, dword [esp + 0x2c]
cmp esi, eax
jbe 0x519500
movzx ebp, byte [edi + eax]
xchg ebp, eax
test al, 0x80
xchg ebp, eax
jne 0x518da1
mov dword [esp + 0x1c], eax
mov eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
jmp 0x518e10
xchg ebp, eax
mov byte [esp + 0xf], al
xchg ebp, eax
and ebp, 0xffffffe0
xchg ebp, eax
cmp al, 0xc0
xchg ebp, eax
jne 0x518dc6
movzx ebp, byte [esp + 0xf]
mov ebp, 2
mov dword [esp + 0x10], ebp
movzx ebp, byte [esp + 0xf]
jmp 0x518e10
movzx ebp, byte [esp + 0xf]
and ebp, 0xfffffff0
xchg ebp, eax
cmp al, 0xe0
xchg ebp, eax
jne 0x518dea
movzx ebp, byte [esp + 0xf]
mov ebp, 3
mov dword [esp + 0x10], ebp
movzx ebp, byte [esp + 0xf]
jmp 0x518e10
movzx ebp, byte [esp + 0xf]
and ebp, 0xfffffff8
xchg ebp, eax
cmp al, 0xf0
xchg ebp, eax
jne 0x51918e
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 0x518c92
xchg ebp, eax
test al, 0x80
xchg ebp, eax
jne 0x518e28
and ebp, 0x7f
jmp 0x518e5f
mov ecx, ebp
and ebp, 0xffffffe0
xchg ebp, eax
cmp al, 0xc0
xchg ebp, eax
jne 0x518e3b
and ecx, 0x1f
mov ebp, ecx
jmp 0x518e5f
mov ebp, ecx
and ecx, 0xfffffff0
cmp cl, 0xe0
jne 0x518e4a
and ebp, 0xf
jmp 0x518e5f
mov ecx, ebp
and ebp, 0xfffffff8
xchg ebp, eax
cmp al, 0xf0
xchg ebp, eax
jne 0x518e5d
and ecx, 7
mov ebp, ecx
jmp 0x518e5f
xor ebp, ebp
mov ecx, 1
jmp 0x5193bf
lea ebp, [esi - 2]
cmp ebp, 1
ja 0x519395
cmp ecx, 2
jl 0x518cc6
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 + 0x2c]
cmp ebx, edx
jbe 0x51938c
mov dword [esp + 0x2c], 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 [edx + edi]
cmp ebx, esi
jbe 0x519383
mov dword [esp + 0x24], esi
movzx esi, byte [esi + edi]
shl esi, 8
add esi, edx
mov edx, esi
and esi, 0xfc00
cmp esi, 0xdc00
je 0x519255
cmp esi, 0xd800
jne 0x518f58
cmp ecx, 4
jl 0x518caa
lea ebp, [ebp + eax + 2]
cmp ebx, ebp
jbe 0x51937a
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + eax + 2]
mov esi, dword [esp + 0x2c]
movzx esi, byte [esi + edi + 2]
cmp ebx, ebp
jbe 0x519371
mov ebx, dword [esp + 0x24]
movzx ebx, byte [ebx + edi + 2]
shl ebx, 8
add ebx, esi
mov ebp, ebx
and ebx, 0xfc00
cmp ebx, 0xdc00
jne 0x5191d2
and edx, 0x3ff
shl edx, 0xa
and ebp, 0x3ff
lea esi, [ebp + edx + 0x10000]
mov ecx, 4
jmp 0x518f5f
mov esi, edx
mov ecx, 2
cmp esi, 9
je 0x518fac
cmp esi, 0xa
je 0x518fac
cmp esi, 0xd
je 0x518fac
lea ebx, [esi - 0x20]
cmp ebx, 0x5e
jbe 0x518fac
cmp esi, 0x85
je 0x518fac
lea ebx, [esi - 0xa0]
cmp ebx, 0xd75f
jbe 0x518fac
lea ebx, [esi - 0xe000]
cmp ebx, 0x1ffd
jbe 0x518fac
lea ebx, [esi - 0x10000]
cmp ebx, 0xfffff
ja 0x5192f3
lea ebx, [ecx + eax]
mov ebp, dword [esp + 0x34]
mov dword [ebp + 0x74], ebx
add dword [ebp + 0x7c], ecx
cmp esi, 0x7f
jg 0x518fdf
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x51936c
mov ebx, dword [ebp + 0x54]
xchg esi, ecx
mov byte [ebx + eax], cl
xchg esi, ecx
lea ebx, [eax + 1]
jmp 0x518d43
cmp esi, 0x7ff
jg 0x519035
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x519367
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 0x519360
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 0x518d43
cmp esi, 0xffff
jg 0x5190b2
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x51935b
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 0x519354
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 0x51934d
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 0x518d43
mov ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x519348
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 0x519341
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 0x51933a
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 0x519333
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 0x518d43
mov eax, dword [ebx + 0x7c]
mov dword [ebx], 2
mov dword [ebx + 8], 0x1f
mov ecx, dword [0x6d0ed8]
test ecx, ecx
je 0x519172
mov ecx, dword [ebx + 4]
call fcn.00464af0
mov dword [edi], ecx
lea ecx, [0x5841b4]
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 + 0x7c]
mov dword [ebx], 2
mov dword [ebx + 8], 0x1b
mov ecx, dword [0x6d0ed8]
test ecx, ecx
je 0x5191b2
mov ecx, dword [ebx + 4]
call fcn.00464af0
mov dword [edi], ecx
lea ecx, [0x582a85]
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 + 0x7c]
mov dword [eax], 2
mov dword [eax + 8], 0x1b
mov edx, dword [0x6d0ed8]
test edx, edx
je 0x5191fa
mov edx, dword [eax + 4]
call fcn.00464af0
mov dword [edi], edx
lea edx, [0x582abb]
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 + 0x7c]
mov dword [ebx], 2
mov dword [ebx + 8], 0x20
mov ecx, dword [0x6d0ed8]
test ecx, ecx
je 0x519239
mov ecx, dword [ebx + 4]
call fcn.00464af0
mov dword [edi], ecx
lea ecx, [0x584811]
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 + 0x7c]
mov dword [eax], 2
mov dword [eax + 8], 0x1d
mov ebx, dword [0x6d0ed8]
test ebx, ebx
je 0x51927d
mov ebx, dword [eax + 4]
call fcn.00464af0
mov dword [edi], ebx
lea ebx, [0x583544]
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 + 0x7c]
mov dword [ebx], 2
mov dword [ebx + 8], 0x1b
mov ecx, dword [0x6d0ed8]
test ecx, ecx
je 0x5192b9
mov ecx, dword [ebx + 4]
call fcn.00464af0
mov dword [edi], ecx
lea ecx, [0x582aa0]
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 0x5192ec
mov esi, dword [ebx + 0x54]
mov byte [esi + edx], 0
inc dword [ebx + 0x64]
inc edx
jmp 0x518d0e
mov eax, edx
call fcn.00464b70
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x7c]
mov dword [eax], 2
mov dword [eax + 8], 0x22
mov edx, dword [0x6d0ed8]
test edx, edx
je 0x51931b
mov edx, dword [eax + 4]
call fcn.00464af0
mov dword [edi], edx
lea edx, [0x5850ed]
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.00464b70
mov eax, ebx
call fcn.00464b70
mov eax, ebx
call fcn.00464b70
call fcn.00464b70
mov eax, ebx
call fcn.00464b70
mov eax, ebx
call fcn.00464b70
call fcn.00464b70
mov eax, ebx
call fcn.00464b70
call fcn.00464b70
call fcn.00464b70
mov eax, ebp
mov ecx, ebx
call fcn.00464b70
mov eax, ebp
mov ecx, ebx
call fcn.00464b70
mov eax, esi
mov ecx, ebx
call fcn.00464b70
mov eax, edx
mov ecx, ebx
call fcn.00464b70
lea eax, [0x557540]
mov dword [esp], eax
lea eax, [0x5b6270]
mov dword [esp + 4], eax
call fcn.00435f80
shl ebp, 6
movzx edx, byte [esp + 0xf]
and edx, 0x3f
inc ecx
add ebp, edx
mov edx, dword [esp + 0x28]
cmp ecx, ebx
jge 0x519428
lea edx, [ecx + eax]
cmp esi, edx
jbe 0x5194f7
movzx edx, byte [edx + edi]
mov byte [esp + 0xf], dl
and edx, 0xffffffc0
cmp dl, 0x80
je 0x5193ad
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x7c]
mov dword [eax], 2
mov dword [eax + 8], 0x1c
mov ebx, dword [0x6d0ed8]
add ecx, edx
test ebx, ebx
je 0x519408
mov edx, dword [eax + 4]
call fcn.00464af0
mov dword [edi], edx
lea edx, [0x58302e]
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 0x519454
cmp ebx, 2
jne 0x51943a
cmp ebp, 0x80
jge 0x519454
cmp ebx, 3
jne 0x519447
cmp ebp, 0x800
jge 0x519454
cmp ebx, 4
jne 0x5194b3
cmp ebp, 0x10000
jl 0x5194b3
lea esi, [ebp - 0xd800]
cmp esi, 0x7ff
jbe 0x519473
cmp ebp, 0x10ffff
jg 0x519473
mov esi, ebp
mov ecx, ebx
jmp 0x518f5f
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x7c]
mov dword [eax], 2
mov dword [eax + 8], 0x19
mov edx, dword [0x6d0ed8]
test edx, edx
je 0x51949b
mov edx, dword [eax + 4]
call fcn.00464af0
mov dword [edi], edx
lea edx, [0x581fe0]
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 + 0x7c]
mov dword [eax], 2
mov dword [eax + 8], 0x22
mov edx, dword [0x6d0ed8]
test edx, edx
je 0x5194db
mov edx, dword [eax + 4]
call fcn.00464af0
mov dword [edi], edx
lea edx, [0x5850cb]
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.00464b70
mov ecx, esi
call fcn.00464b70
lea eax, [0x557540]
mov dword [esp], eax
lea eax, [0x5b6268]
mov dword [esp + 4], eax
call fcn.00435f80
nop
call fcn.004636f0
jmp fcn.00518b70