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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x198
mov esi, esp
mov dword [esi + 0x180], ebp
mov ebx, ecx
nop
mov edi, dword [ebp + 8]
mov dword [esi + 0x184], esp
mov dword [esi + 0x190], 0xffffffff
lea eax, [esi + 0x188]
mov dword [esi + 0x18c], 0x69ce80
mov ecx, dword fs:[0]
mov dword [esi + 0x188], ecx
mov dword fs:[0], eax
call fcn.0069c2c0
mov dword [esi + 0xc], eax
mov byte [edi], 0
mov ecx, dword [ebx + 0xc4]
mov al, 1
test cl, 2
jne 0x685122
nop
mov eax, dword [0xa0e950]
add eax, dword [eax]
mov dword [esi + 0x94], eax
mov eax, dword [0x9a19b0]
mov dword [esi + 0x18], eax
mov eax, dword [0xa0e954]
add eax, dword [eax]
mov dword [esi + 0x40], eax
mov eax, ecx
or eax, 2
mov dword [ebx + 0xc4], eax
mov edx, dword [ebx + 0xb8]
mov eax, dword [ebx + 0x144]
lea edi, [eax + 0xcb]
mov dword [ebx + 0x144], edi
cmp dword [edx + 4], 0
je 0x685119
add eax, 0xcc
mov dword [ebx + 0x144], eax
mov dword [esi + 0x60], 0x9a1a3c
mov dword [esi + 0x64], 0
mov word [esi + 0x68], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x6c], xmm0
mov dword [esi + 0x7c], 0
mov eax, dword [ebx + 0x108]
mov edx, eax
shr edx, 0xe
and edx, 1
shr eax, 0x1c
and eax, 1
mov ecx, dword [ebx + 0xb4]
lea edi, [esi + 0x60]
push edi
push edx
push eax
push dword [ebx + 0x120]
push dword [ebx + 0x114]
push dword [ebx + 0x110]
push dword [ebx + 0xc0]
push dword [ebx + 0xbc]
call fcn.007d27c0
test eax, eax
je 0x68513a
nop
and byte [ebx + 0xc4], 0xfd
xor eax, eax
jmp 0x685122
nop
mov dword [ebx + 0xc4], ecx
xor eax, eax
nop
mov ecx, dword [esi + 0x188]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
nop
mov dword [esi + 4], ebx
cmp byte [esi + 0x66], 0
movzx eax, byte [esi + 0x67]
movzx ecx, byte [esi + 0x68]
jne 0x685154
test al, al
jne 0x685154
test cl, cl
je 0x68515f
nop
mov edx, dword [esi + 4]
or byte [edx + 0x10a], 0x20
nop
mov ebx, dword [esi + 4]
mov edx, dword [ebx + 0x144]
lea edi, [edx + 1]
mov dword [ebx + 0x144], edi
cmp byte [esi + 0x64], 0
je 0x68520c
nop
mov edi, dword [ebx + 0x108]
test edi, 0x4000
je 0x685303
nop
cmp byte [esi + 0x65], 0
je 0x685303
nop
movzx eax, word [0xa56d64]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x138]
push eax
call fcn.00785410
test eax, eax
mov ebx, 0x921774
cmovne ebx, eax
lea edi, [esi + 0xd4]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0xf
mov byte [esi + 0xd4], 0
push ebx
call fcn.008d08c0
add esp, 4
cmp eax, 0xf
jbe 0x685421
sub esp, 0xc
movzx ecx, byte [esi + 0x44]
mov byte [esp + 4], cl
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, edi
call fcn.0066cb40
jmp 0x68545d
add edx, 2
mov dword [ebx + 0x144], edx
and byte [ebx + 0x109], 0xbf
nop
inc dword [ebx + 0x144]
mov edi, dword [ebx + 0x108]
mov eax, edi
and eax, 0xf7ffffff
mov dword [ebx + 0x108], eax
mov eax, dword [esi + 0x70]
mov ebx, 0xc22e4507
mov dword [esi + 0x10], eax
imul ebx
mov dword [esi + 0x28], edx
mov ecx, dword [esi + 0x74]
mov eax, ecx
imul ebx
add edx, ecx
mov eax, edx
shr eax, 0x1f
sar edx, 0x10
add edx, eax
mov dword [esi + 0x2c], edx
cmp byte [esi + 0x64], 0
je 0x685785
test edi, 0x100000
je 0x685785
nop
cmp byte [esi + 0x68], 0
je 0x685785
nop
cmp byte [esi + 0x69], 0
jne 0x685785
nop
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xb4], eax
movzx eax, word [0xa56d9e]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x138]
push eax
call fcn.00785410
test eax, eax
mov ebx, 0x921774
cmovne ebx, eax
lea edi, [esi + 0xd4]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0xf
mov byte [esi + 0xd4], 0
push ebx
call fcn.008d08c0
add esp, 4
cmp eax, 0xf
jbe 0x685515
sub esp, 0xc
movzx ecx, byte [esi + 0x44]
mov byte [esp + 4], cl
mov dword [esp + 8], ebx
mov dword [esp], eax
mov ecx, edi
call fcn.0066cb40
jmp 0x685629
add edx, 2
mov ebx, dword [esi + 4]
mov dword [ebx + 0x144], edx
mov edx, edi
and edx, 0xffffbfff
mov dword [ebx + 0x108], edx
or al, cl
sete al
test edi, 0x8000000
je 0x68521c
test al, al
jne 0x68521c
lea edi, [esi + 0xd0]
push edi
call fcn.0078b050
add esp, 4
mov eax, 0x88888889
mul dword [esi + 0xd0]
shr edx, 5
sub edx, dword [esi + 0x7c]
mov dword [esi + 0x44], edx
mov eax, dword [ebx + 0x118]
cmp eax, 0xffffffff
je 0x68536a
neg eax
cmp edx, eax
jl 0x685385
nop
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x11c]
cmp eax, 0xffffffff
je 0x6858f8
cmp edx, eax
jle 0x6858f8
nop
movzx eax, word [0xa56d66]
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 0x138]
push eax
call fcn.00785410
mov ecx, edi
push eax
call fcn.006833e0
mov eax, 0x330
add eax, dword [ebx + 0xb4]
mov ecx, dword [ebx + 0xbc]
mov dword [esi + 0x190], 2
lea edx, [esi + 0x44]
lea ebx, [esi + 0xb4]
push 0
push 1
push edx
push 0x186a9
push edi
push eax
push 4
push 0
push ecx
push ebx
call fcn.006a29d0
add esp, 0x28
nop
mov eax, dword [0xa0b8e8]
add eax, dword [esi + 0xc]
mov ecx, dword [0xa0b8c8]
lea edi, [ecx + eax]
add edi, 0x8d2b
mov dword [esi + 0x190], 0xffffffff
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xd0]
call edi
mov eax, dword [ebp + 8]
mov byte [eax], 1
xor eax, eax
jmp 0x685117
nop
mov dword [esi + 0xe4], eax
mov ecx, dword [0xa0b8e0]
add ecx, dword [esi + 0xc]
mov edx, dword [0xa0b8c4]
add ecx, edx
add ecx, 0x8d2b
mov edi, eax
call dword [0xa0535c]
push edi
push ebx
lea eax, [esi + 0xd4]
push eax
call ecx
add esp, 0xc
mov byte [esi + edi + 0xd4], 0
nop
mov dword [esi + 0xd0], 0x920fc0
mov eax, 0x330
mov ecx, dword [esi + 4]
add eax, dword [ecx + 0xb4]
mov ecx, dword [ecx + 0xbc]
mov dword [esi + 0x190], 1
sub esp, 0x28
movaps xmm0, xmmword [0x9a1960]
movups xmmword [esp + 0x18], xmm0
lea edx, [esi + 0xd0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], ecx
lea eax, [esi + 0x44]
mov dword [esp], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
call fcn.006a29d0
add esp, 0x28
nop
mov eax, dword [esi + 0xe8]
cmp eax, 0x10
jb 0x685507
nop
mov ecx, dword [esi + 0xd4]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x6854fc
nop
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x686082
add eax, 0x24
mov edx, eax
mov ecx, edi
nop
push edx
push ecx
call fcn.008ea1ad
add esp, 8
nop
mov eax, dword [ebp + 8]
mov byte [eax], 1
xor eax, eax
jmp 0x685117
nop
mov dword [esi + 0xe4], eax
cmp edi, ebx
mov ecx, eax
mov eax, ebx
mov edx, ecx
mov dword [esi + 8], ecx
jae 0x6855ae
test ecx, ecx
je 0x685613
mov edi, dword [esi + 8]
mov ecx, edi
and ecx, 3
xor edx, edx
cmp edi, 4
jb 0x685585
mov edi, dword [esi + 8]
and edi, 0xc
xor edx, edx
nop
movzx ebx, byte [eax + edx]
mov byte [esi + edx + 0xd4], bl
movzx ebx, byte [eax + edx + 1]
mov byte [esi + edx + 0xd5], bl
movzx ebx, byte [eax + edx + 2]
mov byte [esi + edx + 0xd6], bl
movzx ebx, byte [eax + edx + 3]
mov byte [esi + edx + 0xd7], bl
mov ebx, eax
add edx, 4
cmp edi, edx
jne 0x68554c
test ecx, ecx
je 0x685613
lea edi, [esi + 0xd0]
add edi, edx
add edi, 4
add ebx, edx
xor edx, edx
mov eax, ebx
movzx ebx, byte [ebx + edx]
mov byte [edi + edx], bl
mov ebx, eax
inc edx
cmp ecx, edx
jne 0x68559c
jmp 0x685613
test ecx, ecx
je 0x685613
mov ecx, dword [esi + 8]
mov edx, ecx
and edx, 3
je 0x6855d3
mov edi, dword [esi + 8]
lea ecx, [edi - 1]
movzx ebx, byte [eax + edi - 1]
mov byte [esi + edi + 0xd3], bl
dec edx
mov edi, ecx
jne 0x6855bf
cmp dword [esi + 8], 4
jb 0x685613
mov edx, ecx
nop
movzx ebx, byte [eax + ecx - 1]
mov byte [esi + ecx + 0xd3], bl
movzx ebx, byte [eax + ecx - 2]
mov byte [esi + ecx + 0xd2], bl
movzx ebx, byte [eax + ecx - 3]
mov byte [esi + ecx + 0xd1], bl
add edx, 0xfffffffc
movzx ebx, byte [eax + ecx - 4]
mov byte [esi + ecx + 0xd0], bl
mov ecx, edx
jne 0x6855db
nop
mov eax, dword [esi + 8]
mov byte [esi + eax + 0xd4], 0
mov dword [esi + 0x190], 0xffffffff
nop
mov dword [esi + 0xd0], 0x920fc0
mov eax, dword [0xa0b8f0]
mov edi, dword [0xa0b8cc]
mov ecx, 0xffff72d5
sub ecx, dword [esi + 0xc]
mov dword [esi + 8], ecx
sub edi, ecx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
mov ecx, 0x31532cb8
call edi
lea edi, [esi + 0x48]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xf
mov byte [esi + 0x48], 0
push 0xa0aea0
call fcn.008d08c0
add esp, 4
cmp eax, 0xf
jbe 0x6856ae
nop
mov dword [esi + 0x190], 3
sub esp, 0xc
movzx ecx, byte [esi + 0x20]
mov byte [esp + 4], cl
mov dword [esp], eax
mov dword [esp + 8], 0xa0aea0
mov ecx, edi
call fcn.0066cb40
jmp 0x6856d0
nop
mov dword [esi + 0x58], eax
test eax, eax
je 0x6856ca
nop
push eax
push 0xa0aea0
push edi
mov edi, eax
call fcn.00901d90
mov eax, edi
add esp, 0xc
nop
mov byte [esi + eax + 0x48], 0
nop
mov dword [esi + 0x44], 0x920fc0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xbc]
mov dword [esi + 0x190], 4
lea ecx, [esi + 0xb4]
lea edx, [esi + 0xd0]
lea edi, [esi + 0x44]
lea ebx, [esi + 0x9c]
push 0
push 3
push ecx
push 0x186a8
push edx
push edi
push 2
push 0
push eax
push ebx
call fcn.006a29d0
add esp, 0x28
nop
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
mov ebx, dword [esi + 8]
sub edi, ebx
add edi, eax
mov dword [esi + 0x190], 0xffffffff
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0x44]
call edi
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xd0]
call edi
cmp dword [esi + 0x9c], 2
jne 0x68577a
nop
mov eax, dword [ebp + 8]
mov byte [eax], 1
xor eax, eax
jmp 0x685117
nop
mov eax, dword [esi + 4]
or byte [eax + 0xc5], 8
nop
mov eax, dword [esi + 4]
add dword [eax + 0x144], 0xffffff31
mov ecx, dword [eax + 0x134]
test ecx, ecx
je 0x68590c
nop
cmp byte [esi + 0x66], 0
sete al
movzx edx, byte [0xa56fc2]
not dl
test dl, al
jne 0x68590c
nop
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x68590c
cmp eax, ecx
jae 0x68590c
nop
cmp byte [0xa56fc0], 0
jne 0x6857ec
mov ecx, 0x400
mov edx, dword [esi + 4]
and ecx, dword [edx + 0xc4]
jne 0x68590c
nop
mov dword [esi + 0xb4], eax
movzx eax, word [0xa56d98]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x138]
push eax
call fcn.00785410
lea ecx, [esi + 0xd0]
push eax
call fcn.006833e0
mov eax, dword [0xa0b8f0]
mov edi, dword [0xa0b8cc]
mov ecx, 0xffff72d5
sub ecx, dword [esi + 0xc]
mov dword [esi + 8], ecx
sub edi, ecx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
mov ecx, 0x31532cb8
call edi
mov dword [esi + 0x190], 5
lea ecx, [esi + 0x44]
push 0xa0aea0
call fcn.006833e0
nop
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xbc]
mov dword [esi + 0x190], 6
lea ecx, [esi + 0xb4]
lea edx, [esi + 0x9c]
push 0
push 3
push ecx
push 0x186a2
lea ecx, [esi + 0xd0]
push ecx
lea ecx, [esi + 0x44]
push ecx
push 2
push 0
push eax
push edx
call fcn.006a29d0
add esp, 0x28
nop
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
mov ebx, dword [esi + 8]
sub edi, ebx
add edi, eax
mov dword [esi + 0x190], 0xffffffff
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0x44]
call edi
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xd0]
call edi
cmp dword [esi + 0x9c], 2
jne 0x685901
nop
mov eax, dword [ebp + 8]
mov byte [eax], 1
xor eax, eax
jmp 0x685117
nop
mov ebx, dword [esi + 4]
jmp 0x68521c
nop
mov eax, dword [esi + 4]
or byte [eax + 0xc5], 4
nop
mov ecx, dword [esi + 0x28]
add ecx, dword [esi + 0x10]
mov eax, ecx
shr eax, 0x1f
sar ecx, 0x10
add ecx, eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x38], 0
cmp byte [esi + 0x67], 0
je 0x685947
nop
cmp dword [esi + 0x70], 0
js 0x685947
nop
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x28]
cmp ecx, dword [eax + 0x130]
setle al
mov dword [esi + 0x38], eax
nop
mov dword [esi + 0x30], 0
cmp byte [esi + 0x68], 0
je 0x685975
nop
cmp dword [esi + 0x74], 0
js 0x685975
nop
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [eax + 0x130]
setle al
or al, byte [0xa56fc1]
mov dword [esi + 0x30], eax
nop
mov eax, dword [esi + 4]
cmp dword [eax + 0x130], 0
je 0x685efd
nop
mov eax, dword [esi + 0x38]
or al, byte [esi + 0x30]
test al, 1
je 0x685efd
nop
mov eax, dword [0xa0e92c]
lea ecx, [eax + 1]
mov dword [0xa0e92c], ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ecx
test ecx, eax
nop
mov dword [esi + 0x1c], 0
je 0x685a2d
nop
cmp dword [0xa0e958], 0x997c00a1
mov eax, 0x1f6
mov ecx, 0x200
cmove ecx, eax
mov eax, dword [esi + 4]
test dword [eax + 0xc4], ecx
jne 0x685efd
nop
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov ecx, dword [esi + 0x38]
mov eax, ecx
and al, byte [esi + 0x30]
cmp al, 1
jne 0x685c92
nop
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
cmp ecx, eax
cmovl eax, ecx
mov dword [esi + 0x20], eax
sar eax, 0x1f
mov dword [esi + 0x24], eax
mov dword [esi + 0x190], 0xffffffff
jmp 0x685cdf
nop
mov eax, dword [esi + 0x40]
mov edx, dword [eax]
cmp dword [esi + 0x18], 0
jle 0x685caf
add edx, eax
mov eax, dword [0xa0e94c]
mov dword [esi + 0x90], eax
mov eax, dword [0xa0e95c]
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x80], 0
jmp 0x685a8d
add eax, 8
xor dword [esi + 0x14], ebx
xor dword [esi + 0x1c], ecx
cmp eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
jge 0x6859c3
nop
mov ecx, dword [esi + 0x94]
lea ebx, [ecx + eax]
mov dword [esi + 8], edx
sub edx, ebx
mov edi, dword [esi + 0x34]
sbb edi, 0
cmp edx, 8
mov ebx, edi
sbb ebx, 0
mov ebx, dword [ecx + eax]
mov ecx, dword [ecx + eax + 4]
jge 0x685bd3
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x10], ebx
lea ecx, [edx*8]
cmp dword [esi + 0x8c], 0xaed572da
jne 0x685c28
shld edi, edx, cl
shl edx, cl
test cl, 0x20
cmovne edi, edx
mov eax, 0
cmovne edx, eax
mov ebx, edx
add ebx, 0xffffffff
mov eax, edi
adc eax, 0xffffffff
mov dword [esi + 0x34], eax
mov ecx, 2
sub ecx, edx
mov eax, 0
sbb eax, edi
mov dword [esi + 8], eax
mov eax, ecx
mul ebx
mov edi, ebx
mov ebx, eax
imul ecx, dword [esi + 0x34]
add ecx, edx
mov eax, dword [esi + 8]
mov edx, edi
imul eax, edi
add eax, ecx
mov ecx, edx
shld eax, ebx, cl
shl ebx, cl
test dl, 0x20
cmovne eax, ebx
mov edx, eax
mov eax, 0
cmovne ebx, eax
mov ecx, ebx
dec cl
mov edi, edx
shld edi, ebx, cl
mov eax, ebx
shl eax, cl
test cl, 0x20
cmovne edi, eax
mov ecx, 0
cmovne eax, ecx
mov ecx, eax
shld edx, ebx, cl
shl ebx, cl
test al, 0x20
cmovne edx, ebx
mov ecx, 0
cmovne ebx, ecx
sub ebx, eax
sbb edx, edi
mov dword [esi + 8], edx
mov ecx, ebx
sub ecx, dword [esi + 0x10]
sbb edx, dword [esi + 0x3c]
mov dword [esi + 0x10], edx
mov eax, ecx
mul ebx
mov edi, eax
imul ecx, dword [esi + 8]
add edx, ecx
mov eax, dword [esi + 0x10]
imul eax, ebx
add edx, eax
mov ecx, ebx
shld edx, edi, cl
shl edi, cl
test bl, 0x20
cmovne edx, edi
mov eax, 0
cmovne edi, eax
add edi, ebx
adc edx, dword [esi + 8]
mov eax, edi
shl eax, cl
mov dword [esi + 8], eax
test bl, 0x20
mov ecx, eax
mov eax, 0
cmovne ecx, eax
mov dword [esi + 0x10], ecx
mov eax, edx
mov ecx, ebx
shld eax, edi, cl
mov ecx, eax
test bl, 0x20
mov ebx, dword [esi + 0x10]
cmovne ecx, dword [esi + 8]
and ecx, edx
and ebx, edi
mov eax, dword [eax]
cmp dword [esi + 0x90], 0x54227137
jne 0x685a78
mov eax, dword [esi + 0x14]
sub eax, ebx
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x10], ebx
mov ebx, edi
sbb ebx, ecx
imul ecx, eax
mul dword [esi + 0x10]
add edx, ecx
imul ebx, dword [esi + 0x10]
add ebx, edx
mov ecx, dword [esi + 0x14]
sub eax, ecx
sbb ebx, edi
xor edi, ebx
mov dword [esi + 0x1c], edi
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, 8
cmp dword [esi + 0x18], 9
mov edx, dword [esi + 8]
jae 0x685a8d
jmp 0x6859c3
mov ebx, 0xffffffff
shl ebx, cl
xor edi, edi
test cl, 0x20
mov ecx, 0xffffffff
cmovne ecx, ebx
mov dword [esi + 0x34], 0
cmovne ebx, edi
not ecx
and dword [esi + 0x3c], ecx
not ebx
mov ecx, dword [esi + 0x10]
and ecx, ebx
mov ebx, ecx
add eax, edx
add eax, 0xfffffffc
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x40]
lea ecx, [ecx + edx*4]
add ecx, 4
mov edi, dword [esi + 0x40]
add ecx, dword [edi + edx*4 + 4]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x3c]
inc edx
nop
mov dword [esi + 0x80], edx
cmp dword [esi + 0x90], 0x54227137
jne 0x685a78
jmp 0x685be3
test cl, cl
je 0x685cc2
nop
mov eax, dword [esi + 0x28]
mov dword [esi + 0x20], eax
sar eax, 0x1f
mov dword [esi + 0x24], eax
mov dword [esi + 0x190], 0xffffffff
jmp 0x685cdf
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
jmp 0x6859c3
test byte [esi + 0x30], 1
je 0x685cdf
nop
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x20], eax
sar eax, 0x1f
mov dword [esi + 0x24], eax
mov dword [esi + 0x190], 0xffffffff
nop
mov dword [esi + 0x190], 0xffffffff
lea ecx, [esi + 0xd0]
push 1
call fcn.006863c0
movzx eax, word [0xa56d9a]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x138]
mov dword [esi + 0x190], 7
push eax
call fcn.00785410
lea ecx, [esi + 0xe0]
push eax
push ecx
call fcn.006865d0
add esp, 8
lea ecx, [esi + 0xe0]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.00686a70
lea ecx, [esi + 0xe8]
lea eax, [esi + 0x9c]
push eax
call fcn.0069bd10
nop
mov dword [esi + 0x190], 8
lea ecx, [esi + 0x44]
lea eax, [esi + 0x9c]
push eax
call fcn.00686de0
nop
cmp dword [0xa0e958], 0x1b832f48
mov eax, dword [0x9a1a34]
mov edx, dword [0x9a1a30]
je 0x685d9f
nop
mov ecx, dword [esi + 0x84]
test dword [esi + 0x88], ecx
sete ch
xor edx, dword [esi + 0x14]
xor eax, dword [esi + 0x1c]
or eax, edx
setne cl
and cl, ch
or cl, byte [0xa56fc1]
and cl, 1
mov byte [0xa56fc1], cl
mov eax, dword [0xa0b8f0]
mov edi, dword [0xa0b8cc]
mov ecx, 0xffff72d5
sub ecx, dword [esi + 0xc]
mov dword [esi + 0x18], ecx
sub edi, ecx
add edi, eax
mov dword [esi + 0x190], 0xffffffff
mov ecx, edi
call dword [0xa0535c]
mov ecx, 0x31532cb8
call edi
mov dword [esi + 0x190], 9
lea ecx, [esi + 0xb4]
push 0xa0aea0
call fcn.006833e0
nop
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xbc]
mov dword [esi + 0x190], 0xa
lea ecx, [esi + 0x20]
lea edx, [esi + 0x98]
push 0
push 3
push ecx
push 0x186a1
lea ecx, [esi + 0x44]
push ecx
lea ecx, [esi + 0xb4]
push ecx
push 2
push 0
push eax
push edx
call fcn.006a29d0
add esp, 0x28
nop
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
mov ebx, dword [esi + 0x18]
sub edi, ebx
add edi, eax
mov dword [esi + 0x190], 0xffffffff
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xb4]
call edi
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0x44]
call edi
mov eax, dword [0xa0b8e4]
mov edi, dword [0xa0b8d0]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0x9c]
call edi
cmp dword [esi + 0x98], 2
jne 0x685ed3
nop
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [0xa0b8ec]
mov edi, dword [0xa0b8c0]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xd0]
call edi
xor eax, eax
jmp 0x685117
nop
mov eax, dword [esi + 4]
or byte [eax + 0xc5], 2
mov eax, dword [0xa0b8ec]
mov edi, dword [0xa0b8c0]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xd0]
call edi
nop
cmp byte [esi + 0x64], 0
je 0x686058
nop
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x12c]
test ecx, ecx
je 0x686058
nop
mov eax, dword [esi + 0x78]
cmp ecx, eax
ja 0x686058
nop
mov ecx, dword [esi + 4]
test byte [ecx + 0xc5], 1
jne 0x686058
nop
mov dword [esi + 0xb4], eax
movzx eax, word [0xa56d9c]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x138]
mov dword [esi + 0x190], 0xffffffff
push eax
call fcn.00785410
lea ecx, [esi + 0xd0]
push eax
call fcn.006833e0
mov eax, dword [0xa0b8f0]
mov edi, dword [0xa0b8cc]
mov ecx, 0xffff72d5
sub ecx, dword [esi + 0xc]
mov dword [esi + 0xc], ecx
sub edi, ecx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
mov ecx, 0x31532cb8
call edi
mov dword [esi + 0x190], 0xb
lea ecx, [esi + 0x44]
push 0xa0aea0
call fcn.006833e0
nop
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xbc]
mov dword [esi + 0x190], 0xc
lea ecx, [esi + 0xb4]
lea edx, [esi + 0x9c]
push 0
push 3
push ecx
push 0x186a7
lea ecx, [esi + 0xd0]
push ecx
lea ecx, [esi + 0x44]
push ecx
push 2
push 0
push eax
push edx
call fcn.006a29d0
add esp, 0x28
nop
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
mov ebx, dword [esi + 0xc]
sub edi, ebx
add edi, eax
mov dword [esi + 0x190], 0xffffffff
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0x44]
call edi
mov eax, dword [0xa0b8e8]
mov edi, dword [0xa0b8c8]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xd0]
call edi
cmp dword [esi + 0x9c], 2
jne 0x68604d
nop
mov eax, dword [ebp + 8]
mov byte [eax], 1
xor eax, eax
jmp 0x685117
nop
mov eax, dword [esi + 4]
or byte [eax + 0xc5], 1
nop
mov edi, dword [esi + 4]
mov ecx, dword [edi + 0xc4]
mov edx, ecx
not edx
mov al, 1
test edx, 0x700
je 0x685117
and ecx, 0xfffffffd
mov dword [edi + 0xc4], ecx
jmp 0x685117
nop
mov dword [esi + 0x190], 0
call fcn.008cd651
nop word cs:[eax + eax]
push ebp
sub esp, 0x28
lea esi, [ebp - 0x194]
mov ebp, dword [esi + 0x180]
call fcn.00901a00
nop word cs:[eax + eax]
push ebp
sub esp, 0x28
lea esi, [ebp - 0x194]
mov ebp, dword [esi + 0x180]
nop
mov eax, dword [0xa0b8e8]
add eax, dword [esi + 0xc]
mov ecx, dword [0xa0b8c8]
lea edi, [ecx + eax]
add edi, 0x8d2b
mov ecx, edi
call dword [0xa0535c]
lea ecx, [esi + 0xd0]
call edi
add esp, 0x28
pop ebp
ret