Function at 0x6840c0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x6ccf95
push eax
mov eax, 0x27cc
mov dword fs:[0], esp
call fcn.00698650
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], ebx
stosb byte es:[edi], al
call fcn.00692800
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
lea esi, [ebx + 0xc]
push ecx
push eax
push eax
mov dword [esp + 0x27f0], 0
call fcn.00685500
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.0057e9e0
mov dword [esi + 8], edi
mov eax, dword [ebx + 4]
push eax
push 2
lea ecx, [esp + 0x30]
call fcn.00692870
test eax, eax
je 0x685488
lea ecx, [esp + 0x2d4]
call fcn.00652890
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov byte [esp + 0x27e8], 1
call fcn.004138a0
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00414210
test al, al
je 0x6841b7
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x71b8d8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.004141f0
xor esi, esi
mov byte [esp + 0x27e4], 2
cmp word [esp + 0x30], si
mov dword [esp + 0x24], esi
jbe 0x685443
mov ecx, dword [ebx + 8]
call fcn.006413e0
cmp eax, 0x28
jne 0x6841f0
cmp dword [esp + 0x24], 4
jne 0x6841f0
push 2
mov ecx, 0x71b8f8
call fcn.0061bf00
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
call fcn.00692860
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
and eax, 0xffff
push 0
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*4 + 0x14]
mov ecx, dword [ebx + 8]
push eax
call fcn.006421c0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
and eax, 0xffff
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*4]
cmp eax, 0xffffffff
je 0x6850f1
mov ecx, dword [ebx + 4]
push ecx
push eax
lea ecx, [esp + 0x2dc]
call fcn.00653050
cmp eax, 0xffffffff
mov dword [esp + 0x7c], eax
je 0x6850f1
xor ebp, ebp
mov word [ebx + 0x12c], 0xfffe
test eax, eax
mov dword [esp + 0x58], ebp
jle 0x685091
push ebp
lea ecx, [esp + 0x2d8]
call fcn.00653190
mov ecx, 0x3f
lea esi, [esp + 0xfc]
lea edi, [ebx + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test ebp, ebp
movsb byte es:[edi], byte [esi]
jne 0x6842ae
mov dx, word [esp + 0x30c]
mov word [ebx + 0x12c], dx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x28]
stosb byte es:[edi], al
call fcn.006929a0
dec eax
cmp eax, 0xf
ja case.0x6842d4.2
jmp dword [eax*4 + 0x6854b8]
test ebp, ebp
jne 0x684306
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x684306
lea eax, [esp + 0xfc]
push 1
lea ecx, [esp + 0x2d8]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.00642bf0
jmp case.0x6842d4.2
mov ecx, dword [ebx + 8]
push 0
push 0
push 3
push 0
push 0
lea edx, [esp + 0x110]
push 1
lea eax, [esp + 0x2ec]
push edx
push eax
call fcn.006462e0
jmp case.0x6842d4.2
test ebp, ebp
jne 0x684361
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x684361
lea ecx, [esp + 0xfc]
push ebp
lea edx, [esp + 0x2d8]
push ecx
mov ecx, dword [ebx + 8]
push edx
call fcn.00642bf0
test eax, eax
je 0x6850f1
jmp case.0x6842d4.2
push 0
push 0
push 3
push 0
push 0
lea eax, [esp + 0x110]
push 0
lea ecx, [esp + 0x2ec]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.006462e0
cmp eax, 1
jne 0x6850f1
jmp case.0x6842d4.2
test ebp, ebp
jne 0x6843c5
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x6843c5
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xfc]
push ebp
lea eax, [esp + 0x2d8]
push edx
push eax
call fcn.00642bf0
test eax, eax
je 0x685080
jmp case.0x6842d4.2
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x110]
push 0
lea edx, [esp + 0x2ec]
push ecx
mov ecx, dword [ebx + 8]
push edx
call fcn.006462e0
cmp eax, 1
jne 0x685080
jmp case.0x6842d4.2
test ebp, ebp
jne 0x684426
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x684426
lea eax, [esp + 0xfc]
push ebp
lea ecx, [esp + 0x2d8]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.00642bf0
test eax, eax
je 0x6850f1
jmp 0x684488
mov eax, dword [esp + 0x30c]
xor edx, edx
mov dx, word [ebx + 0x12c]
cmp edx, eax
jb 0x684454
test ebp, ebp
je 0x684454
lea esi, [ebx + 0x2c]
mov ecx, 0x3f
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x684488
push 0
push 0
push 3
mov word [ebx + 0x12c], ax
push 0
push 0
lea eax, [esp + 0x110]
push 0
lea ecx, [esp + 0x2ec]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.006462e0
cmp eax, 1
jne 0x6850f1
push 0xffffffffffffffff
lea edx, [esp + 0x100]
push 0
push edx
lea ecx, [esp + 0x2e0]
call fcn.00652ca0
lea ecx, [esp + 0x28]
call fcn.00692940
cmp eax, 0xffffffff
je 0x684627
lea ecx, [esp + 0x244]
call fcn.006873f0
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x244]
push eax
mov byte [esp + 0x27e8], 3
call fcn.0063e470
test eax, eax
je 0x6850b3
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x8c], cl
lea ecx, [esp + 0x8c]
call fcn.004138a0
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x22bc]
lea edx, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x24cc]
push edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27e8], 4
call fcn.00692940
push eax
mov eax, dword [esp + 0x23c4]
and eax, 0xffff
lea ecx, [esp + 0x24d4]
shl eax, 3
push eax
push ecx
lea ecx, [esp + 0x254]
call fcn.006875f0
mov edx, dword [esp + 0x90]
push edx
call fcn.00697be2
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x6850c7
mov esi, dword [esp + 0x8c]
test esi, esi
jne 0x684589
mov esi, 0x6ce1f8
mov ecx, dword [esp + 0x90]
mov edi, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x90]
push ecx
push ebp
lea ecx, [esp + 0x88]
call fcn.0060ff10
lea edx, [esp + 0x80]
lea ecx, [esp + 0x2d4]
push edx
mov byte [esp + 0x27e8], 5
call fcn.00652a20
push ebp
call fcn.00697880
mov eax, dword [ebx + 8]
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0x27e4], 4
mov dword [eax + 0xcc], 0
call fcn.0060ffb0
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x27e8], 3
call fcn.004138a0
lea ecx, [esp + 0x244]
mov byte [esp + 0x27e4], 2
call fcn.00687550
jmp 0x684634
mov eax, dword [ebx + 8]
mov dword [eax + 0xcc], 1
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x26d4]
lea eax, [esp + 0x26d4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
push eax
call fcn.00642100
lea ecx, [esp + 0x1464]
call fcn.00685e40
mov ecx, dword [ebx + 4]
mov byte [esp + 0x27e4], 6
push ecx
lea ecx, [esp + 0x1468]
call fcn.0063e470
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x1b84]
lea edx, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x21b4]
push edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2d8]
call fcn.00653790
push eax
lea ecx, [esp + 0x2dc]
call fcn.00653780
push eax
mov eax, dword [esp + 0x1c90]
and eax, 0xffff
lea ecx, [esp + 0x21c0]
push eax
push ecx
lea ecx, [esp + 0x1478]
call fcn.00686060
test eax, eax
jne 0x684721
lea edx, [esp + 0xdc]
lea ecx, [esp + 0x28]
push edx
call fcn.00692960
mov eax, dword [eax + 8]
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
push 1
lea ecx, [esp + 0xe0]
call fcn.004138a0
test esi, esi
jne 0x685134
lea ecx, [esp + 0x1464]
mov byte [esp + 0x27e4], 2
call fcn.00685ea0
jmp case.0x6842d4.2
test ebp, ebp
jne 0x68476c
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x68476c
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xfc]
push ebp
lea eax, [esp + 0x2d8]
push edx
push eax
call fcn.00642bf0
test eax, eax
jne 0x6851e2
jmp 0x685080
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x110]
push 0
lea edx, [esp + 0x2ec]
push ecx
mov ecx, dword [ebx + 8]
push edx
call fcn.006462e0
cmp eax, 1
je 0x6851e2
jmp 0x685080
test ebp, ebp
jne 0x6847cd
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x6847cd
lea eax, [esp + 0xfc]
push ebp
lea ecx, [esp + 0x2d8]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.00642bf0
test eax, eax
je 0x685080
jmp 0x68482f
mov eax, dword [esp + 0x30c]
xor edx, edx
mov dx, word [ebx + 0x12c]
cmp edx, eax
jb 0x6847fb
test ebp, ebp
je 0x6847fb
lea esi, [ebx + 0x2c]
mov ecx, 0x3f
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x68482f
push 0
push 0
push 3
mov word [ebx + 0x12c], ax
push 0
push 0
lea eax, [esp + 0x110]
push 0
lea ecx, [esp + 0x2ec]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.006462e0
cmp eax, 1
jne 0x6850f1
push 0xffffffffffffffff
lea edx, [esp + 0x100]
push 0
push edx
lea ecx, [esp + 0x2e0]
call fcn.00652ca0
lea ecx, [esp + 0x28]
call fcn.00692940
cmp eax, 0xffffffff
je 0x6849d0
lea ecx, [esp + 0x1fc]
call fcn.006873f0
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x1fc]
push eax
mov byte [esp + 0x27e8], 8
call fcn.0063e470
test eax, eax
je 0x6851ce
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x6c], cl
lea ecx, [esp + 0x6c]
call fcn.004138a0
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x1d94]
lea edx, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x1974]
push edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27e8], 9
call fcn.00692940
push eax
mov eax, dword [esp + 0x1e9c]
and eax, 0xffff
lea ecx, [esp + 0x197c]
shl eax, 3
push eax
push ecx
lea ecx, [esp + 0x20c]
call fcn.006875f0
mov edx, dword [esp + 0x70]
push edx
call fcn.00697be2
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x6851fa
mov esi, dword [esp + 0x6c]
test esi, esi
jne 0x684921
mov esi, 0x6ce1f8
mov ecx, dword [esp + 0x70]
mov edi, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x70]
push ecx
push ebp
lea ecx, [esp + 0x80]
call fcn.0060ff10
lea edx, [esp + 0x78]
lea ecx, [esp + 0x2d4]
push edx
mov byte [esp + 0x27e8], 0xa
call fcn.00652a20
push ebp
call fcn.00697880
mov eax, dword [ebx + 8]
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x27e4], 9
mov dword [eax + 0xcc], 0
call fcn.0060ffb0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x6849ac
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6849a3
cmp al, 0xff
je 0x6849a3
dec al
mov byte [ecx], al
jmp 0x6849ac
push ecx
call fcn.00697880
add esp, 4
xor ebp, ebp
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov byte [esp + 0x27e4], 2
call fcn.00687550
jmp 0x6849df
mov eax, dword [ebx + 8]
xor ebp, ebp
mov dword [eax + 0xcc], 1
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x1fa4]
lea eax, [esp + 0x1fa4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
push eax
call fcn.00642100
lea ecx, [esp + 0x16ec]
call fcn.00685e40
mov ecx, dword [ebx + 4]
mov byte [esp + 0x27e4], 0xb
push ecx
lea ecx, [esp + 0x16f0]
call fcn.0063e470
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x23c4]
lea edx, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x1a7c]
push edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2d8]
call fcn.00653790
push eax
lea ecx, [esp + 0x2dc]
call fcn.00653780
push eax
mov eax, dword [esp + 0x24d0]
and eax, 0xffff
lea ecx, [esp + 0x1a88]
push eax
push ecx
lea ecx, [esp + 0x1700]
call fcn.00686060
test eax, eax
jne 0x684afb
lea edx, [esp + 0x98]
lea ecx, [esp + 0x28]
push edx
call fcn.00692960
mov eax, dword [eax + 8]
xor ecx, ecx
cmp eax, ebp
mov eax, dword [esp + 0x9c]
setne cl
cmp eax, ebp
mov esi, ecx
je 0x684ade
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x684ad5
cmp al, 0xff
je 0x684ad5
dec al
mov byte [ecx], al
jmp 0x684ade
push ecx
call fcn.00697880
add esp, 4
cmp esi, ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
jne 0x68526c
lea ecx, [esp + 0x16ec]
mov byte [esp + 0x27e4], 2
call fcn.00685ea0
jmp case.0x6842d4.2
lea ecx, [esp + 0x2d4]
call fcn.00653780
mov ecx, dword [ebx + 8]
push 0x11
mov esi, eax
call fcn.0064d370
xor edi, edi
mov ecx, dword [ebx + 8]
push edi
push edi
push 3
push edi
push edi
lea edx, [esp + 0x110]
push edi
lea eax, [esp + 0x2ec]
push edx
push eax
call fcn.006462e0
cmp eax, 1
jne 0x68536e
lea ecx, [esp + 0x2d4]
call fcn.00653750
movzx cx, byte [esp + eax + 0xfc]
cmp cx, si
jne 0x68536e
jmp case.0x6842d4.2
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x25d4]
push edx
call fcn.00641d30
test eax, eax
je 0x68534a
push 0xffffffffffffffff
lea eax, [esp + 0x25d8]
push 0
push eax
lea ecx, [esp + 0x2e0]
call fcn.00652ca0
mov eax, dword [ebx + 8]
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x1c8c]
mov dword [eax + 0xcc], 1
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c8c]
push ecx
mov ecx, dword [ebx + 8]
call fcn.00642100
jmp case.0x6842d4.2
test ebp, ebp
jne 0x684c12
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x684c12
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xfc]
push ebp
lea eax, [esp + 0x2d8]
push edx
push eax
call fcn.00642bf0
test eax, eax
je 0x685080
jmp 0x684d25
mov cl, byte [esp + 0x13]
xor edi, edi
mov byte [esp + 0x48], cl
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
lea edx, [esp + 0x48]
lea ecx, [esp + 0x2d4]
push edx
mov byte [esp + 0x27e8], 0xd
call fcn.00653600
mov eax, dword [esp + 0x1c]
push eax
call fcn.00697be2
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x685355
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x684c65
mov eax, 0x6ce1f8
push ebp
push eax
call fcn.00683f60
cdq
sub eax, edx
add esp, 8
sar eax, 1
cmp eax, edi
mov dword [esp + 0x5c], eax
jle 0x684cc9
mov eax, 1
mov esi, ebp
sub eax, ebp
mov dword [esp + 0x60], eax
jmp 0x684c8f
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
add eax, esi
cmp eax, ecx
jae 0x684cbd
mov cl, byte [esi]
mov dl, byte [ebp + edi*2 + 1]
shl cl, 4
lea eax, [esp + 0x13]
or dl, cl
mov ecx, dword [esp + 0x50]
push eax
push 1
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f], dl
call fcn.00633ba0
mov eax, dword [esp + 0x5c]
inc edi
add esi, 2
cmp edi, eax
jl 0x684c8b
lea edx, [esp + 0x48]
lea ecx, [esp + 0x2d4]
push edx
call fcn.00653430
xor esi, esi
lea eax, [esp + 0xfc]
push esi
push esi
push 3
push esi
push esi
push esi
lea ecx, [esp + 0x2ec]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.006462e0
cmp eax, 1
jne 0x6853cf
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x27e4], 2
push edx
call fcn.00697880
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
xor esi, esi
push 0xffffffffffffffff
lea eax, [esp + 0x100]
push esi
push eax
lea ecx, [esp + 0x2e0]
call fcn.00652ca0
lea ecx, [esp + 0x28]
call fcn.00692940
cmp eax, 0xffffffff
je 0x685443
lea ecx, [esp + 0x28c]
call fcn.006873f0
mov ecx, dword [ebx + 4]
mov byte [esp + 0x27e4], 0xe
push ecx
lea ecx, [esp + 0x290]
call fcn.0063e470
test eax, eax
je 0x68542f
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x1e9c]
lea edx, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x42
lea esi, [esp + 0x358]
lea edi, [esp + 0x20ac]
push edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
call fcn.00692940
push eax
mov eax, dword [esp + 0x1fa4]
and eax, 0xffff
lea ecx, [esp + 0x20b4]
shl eax, 3
push eax
push ecx
lea ecx, [esp + 0x29c]
call fcn.006875f0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x27e4], 2
call fcn.00687550
mov eax, dword [esp + 0x44]
mov ecx, 7
and eax, 0xffff
lea edi, [esp + 0xc0]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x3c]
lea esi, [eax + edx*4]
mov eax, 0x92492493
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
sub ecx, esi
mov ebp, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
jae 0x684f5e
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x684e5f
mov ecx, esi
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov ecx, edx
ja 0x684e64
mov ecx, 1
test edi, edi
jne 0x684e6c
xor edx, edx
jmp 0x684e81
sub esi, edi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + ecx]
test eax, eax
mov dword [esp + 0x5c], eax
jge 0x684e8e
xor eax, eax
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
push ecx
call fcn.00697be2
mov esi, dword [ebx + 0x10]
add esp, 4
cmp esi, ebp
mov dword [esp + 0x60], eax
mov edi, eax
je 0x684ec4
push esi
push edi
call fcn.00685540
add esi, 0x1c
add esp, 8
add edi, 0x1c
cmp esi, ebp
jne 0x684eb0
lea edx, [esp + 0xc0]
push edx
push edi
call fcn.00685540
lea eax, [edi + 0x1c]
mov edi, dword [ebx + 0x14]
add esp, 8
cmp ebp, edi
mov esi, ebp
je 0x684ef7
mov ebp, eax
push esi
push ebp
call fcn.00685540
add esi, 0x1c
add esp, 8
add ebp, 0x1c
cmp esi, edi
jne 0x684ee3
mov eax, dword [ebx + 0x10]
push eax
mov dword [esp + 0x88], eax
call fcn.00697880
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0x10]
test eax, eax
lea edx, [esi + ecx*4]
mov dword [ebx + 0x18], edx
jne 0x684f2c
xor edx, edx
jmp 0x684f44
mov ecx, dword [ebx + 0x14]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + 1]
mov dword [ebx + 0x10], esi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esi + ecx*4]
mov dword [ebx + 0x14], edx
jmp 0x68507c
mov ecx, esi
mov eax, 0x92492493
sub ecx, ebp
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x685003
lea ecx, [ebp + 0x1c]
cmp ebp, esi
mov dword [esp + 0x84], ecx
mov eax, ebp
je 0x684fa1
lea edi, [eax + 0x1c]
push eax
push edi
call fcn.00685540
mov eax, edi
add esp, 8
cmp eax, esi
jne 0x684f8e
mov esi, dword [ebx + 0x14]
mov eax, 0x92492493
mov ecx, esi
sub ecx, ebp
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub eax, edx
je 0x684fdd
mov edi, eax
lea ecx, [esp + 0xc0]
push ecx
push esi
call fcn.00685540
add esp, 8
add esi, 0x1c
dec edi
jne 0x684fc6
mov edx, dword [ebx + 0x14]
mov eax, ebp
cmp ebp, edx
je 0x684ffd
mov edi, eax
add eax, 0x1c
mov ecx, 7
lea esi, [esp + 0xc0]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x684fe6
add dword [ebx + 0x14], 0x1c
jmp 0x68507c
lea edi, [esi - 0x1c]
mov ebx, esi
cmp edi, esi
mov dword [esp + 0x84], edi
je 0x685027
push edi
push ebx
call fcn.00685540
add edi, 0x1c
add esp, 8
add ebx, 0x1c
cmp edi, esi
jne 0x685013
mov edx, dword [esp + 0x64]
lea eax, [edx + 0xc]
mov edx, dword [edx + 0x14]
lea eax, [edx - 0x1c]
cmp ebp, eax
je 0x68504d
sub eax, 0x1c
sub edx, 0x1c
mov ecx, 7
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x685038
lea edx, [ebp + 0x1c]
mov eax, ebp
cmp ebp, edx
je 0x68506d
mov edi, eax
add eax, 0x1c
mov ecx, 7
lea esi, [esp + 0xc0]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x685056
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x64]
add eax, 0xc
add dword [eax + 8], 0x1c
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x7c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x58], ebp
jl 0x68427a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
and ecx, 0xffff
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x6841d0
xor esi, esi
jmp 0x685443
mov byte [esp + 0x27e4], 2
lea ecx, [esp + 0x244]
jmp 0x6851dd
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x27e8], 3
call fcn.004138a0
lea ecx, [esp + 0x244]
mov byte [esp + 0x27e4], 2
call fcn.00687550
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x27e8], 1
call fcn.004138a0
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x27e4], 0
call fcn.006529a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.00692840
or eax, 0xffffffff
jmp 0x68549e
lea edx, [esp + 0xec]
lea ecx, [esp + 0x28]
push edx
call fcn.00692960
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0x27e4], 7
push ecx
push 0
push eax
lea ecx, [ebx + 0x1c]
call fcn.004136a0
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x27e8], 6
call fcn.004138a0
lea ecx, [esp + 0x1464]
mov byte [esp + 0x27e4], 2
call fcn.00685ea0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x27e8], 1
call fcn.004138a0
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x27e4], 0
call fcn.006529a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.00692840
mov eax, 1
jmp 0x68549e
mov byte [esp + 0x27e4], 2
lea ecx, [esp + 0x1fc]
call fcn.00687550
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x27e8], 1
call fcn.004138a0
jmp 0x685474
mov eax, dword [esp + 0x6c]
xor esi, esi
cmp eax, esi
je 0x685221
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x685218
cmp al, 0xff
je 0x685218
dec al
mov byte [ecx], al
jmp 0x685221
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov byte [esp + 0x27e4], 2
call fcn.00687550
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x6853f6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6853ed
cmp al, 0xff
je 0x6853ed
dec al
mov byte [ecx], al
jmp 0x6853f6
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x28]
push edx
call fcn.00692960
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0x27e4], 0xc
push ecx
push ebp
push eax
lea ecx, [ebx + 0x1c]
call fcn.004136a0
mov eax, dword [esp + 0xac]
cmp eax, ebp
je 0x6852be
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6852b5
cmp al, 0xff
je 0x6852b5
dec al
mov byte [ecx], al
jmp 0x6852be
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x16ec]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebp
mov byte [esp + 0x27e4], 2
call fcn.00685ea0
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x68530c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x685303
cmp al, 0xff
je 0x685303
dec al
mov byte [ecx], al
jmp 0x68530c
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x27e4], 0
call fcn.006529a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.00692840
mov eax, 1
jmp 0x68549e
mov eax, dword [esp + 0x18]
xor esi, esi
jmp 0x685245
mov edx, dword [esp + 0x4c]
push edx
call fcn.00697880
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x685393
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x68538a
cmp al, 0xff
je 0x68538a
dec al
mov byte [ecx], al
jmp 0x685393
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x27e4], 0
call fcn.006529a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.00692840
or eax, 0xffffffff
jmp 0x68549e
mov eax, dword [esp + 0x4c]
push eax
call fcn.00697880
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
jmp 0x685241
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x27e4], 0
call fcn.006529a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.00692840
or eax, 0xffffffff
jmp 0x68549e
lea ecx, [esp + 0x28c]
mov byte [esp + 0x27e4], 2
call fcn.00687550
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x685468
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x68545f
cmp al, 0xff
je 0x68545f
dec al
mov byte [ecx], al
jmp 0x685468
push ecx
call fcn.00697880
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x27e4], 0
call fcn.006529a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.00692840
xor eax, eax
mov ecx, dword [esp + 0x27dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27d8
ret