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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 9], cl
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
push ebp
push 0x682e0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp word [eax + 0x64], 0
je 0x68206c
lea edx, [ebp - 0x7c]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 0x64]
call fcn.005c0824
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 4]
call fcn.0040a018
jmp 0x682074
lea eax, [ebp - 4]
call fcn.00409240
test bl, bl
je 0x68209c
mov eax, dword [esi]
mov eax, dword [eax + 8]
push esi
push edi
lea esi, [eax + 0x20]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 0xc4]
mov byte [ebp - 0x19], al
jmp 0x6820e2
mov eax, dword [esi]
mov eax, dword [eax + 8]
push esi
push edi
lea esi, [eax + 0x10]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 0xc6]
mov byte [ebp - 0x19], al
mov eax, dword [esi]
mov eax, dword [eax + 8]
cmp byte [eax + 0xc6], 0
jne 0x6820e2
cmp byte [eax + 0xc4], 0
je 0x6820e2
movzx eax, byte [eax + 0xc4]
and al, byte [ebp - 9]
mov byte [ebp - 0x19], al
cmp byte [ebp - 9], 0
je 0x6820f9
mov eax, dword [ebp + 8]
push esi
push edi
lea esi, [eax - 0x14]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
test bl, bl
jne 0x682196
mov eax, dword [esi]
mov eax, dword [eax + 8]
cmp byte [eax + 0xe1], 0
je 0x682196
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + 0x318], 0
je 0x682196
mov eax, dword [esi]
add eax, 0x1c
call fcn.0067f238
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esi]
add eax, 0x1c
call fcn.0067f254
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
add eax, 0x1c
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004a0f98
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x318]
call fcn.0051415c
push eax
mov eax, edi
call fcn.0051415c
pop ecx
pop edx
call fcn.0050de10
jmp 0x6821d2
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [esi]
add eax, 0x1c
call fcn.0067f238
push eax
mov eax, dword [esi]
add eax, 0x1c
call fcn.0067f254
push eax
movzx eax, byte [ebp - 0x19]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x78]
mov ecx, edi
call fcn.006cfef0
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + 0x2e8], 0
jne 0x6821e9
mov dword [ebp - 0x10], 0x10
jmp 0x6821f2
mov eax, dword [eax + 0x2ec]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.006ceab8
test al, al
jne 0x68220a
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
push esi
push edi
lea esi, [eax + 0x98]
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0x10
call fcn.0067f238
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub eax, dword [edx + 0xa0]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30]
pop edx
sub eax, edx
mov dword [ebp - 0x40], eax
mov eax, edi
call fcn.0051415c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.0050d710
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x304]
cmp byte [eax + 0x38], 0
je 0x6822b3
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x80]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050cd18
mov eax, dword [esi]
mov eax, dword [eax + 8]
movzx edx, byte [eax + 0x88]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050cdbc
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050cc90
jmp 0x6822cc
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x304]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x6822f8
cmp dword [eax + 0x50], 0
je 0x6822f8
mov eax, dword [eax + 0x50]
movzx edx, byte [eax + 0x3c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050ce8c
jmp 0x682318
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x40]
call fcn.0050ce84
mov edx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050ce8c
test bl, bl
je 0x682334
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050c9f0
jmp 0x68236d
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x3d], 0
je 0x682357
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050c9f0
jmp 0x68236d
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x8c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050c9f0
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp word [eax + 0x9a], 0
je 0x6823a2
lea eax, [ebp - 0x48]
push eax
push ebx
mov eax, edi
call fcn.0051415c
mov ecx, eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov edx, dword [esi]
mov eax, dword [ebx + 0x9c]
call dword [ebx + 0x98]
jmp 0x682e03
lea eax, [ebp - 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x38]
call fcn.0040a018
mov eax, dword [ebp - 8]
test eax, eax
je 0x6823c0
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x6823d0
mov eax, dword [ebp - 8]
cmp word [eax], 0x2d
sete al
jmp 0x6823d2
xor eax, eax
test al, al
je 0x6823f2
mov eax, dword [ebp - 8]
test eax, eax
je 0x6823e4
sub eax, 4
mov eax, dword [eax]
shr eax, 1
mov edx, dword [ebp - 8]
cmp word [edx + eax*2 - 2], 0x2d
sete al
jmp 0x6823f4
xor eax, eax
test al, al
je 0x682445
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x3d], 0
jne 0x682445
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004a0f98
lea eax, [ebp - 0x8c]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 8]
pop edx
call fcn.00681d50
pop ecx
jmp 0x682e03
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x40]
sub ecx, 0x10
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004a0f98
push 0x400
mov eax, edi
call fcn.0051415c
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 8]
call fcn.006cd964
lea eax, [ebp - 0x48]
call fcn.0067f254
sar eax, 1
jns 0x682484
adc eax, 0
add eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
sar edx, 1
jns 0x682491
adc edx, 0
sub eax, edx
push eax
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004129bc
add dword [ebp - 0x30], 2
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x6824d0
adc eax, 0
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
fild dword [ebp - 0x94]
fdiv dword [0x682e1c]
fcompp
wait
fnstsw ax
sahf
je 0x6824f9
dec dword [ebp - 0x34]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x4c]
mov edx, 5
call fcn.00534cd0
push eax
mov eax, edi
call fcn.0051415c
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 8]
call fcn.006cd964
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00409d80
je 0x682610
push 0
lea eax, [ebp - 0x58]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004a0f98
push 0x400
mov eax, edi
call fcn.0051415c
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 4]
call fcn.006cd964
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x40]
sub ecx, 0x10
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x50]
sub eax, 0x10
mov edx, dword [ebp - 0x34]
call fcn.004a0f98
push esi
push edi
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x28], eax
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x28]
sar eax, 1
jns 0x6825bc
adc eax, 0
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
fild dword [ebp - 0x94]
fdiv dword [0x682e1c]
fcompp
wait
fnstsw ax
sahf
je 0x6825e5
dec dword [ebp - 0x54]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x4c]
mov edx, 5
call fcn.00534cd0
push eax
mov eax, edi
call fcn.0051415c
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 4]
call fcn.006cd964
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c44f4
test eax, eax
je 0x6826b6
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0x124
call fcn.006ceab8
test al, al
je 0x68266e
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
lea eax, [ebp - 0x48]
call fcn.0067f254
sar eax, 1
jns 0x682652
adc eax, 0
add eax, dword [ebp - 0x44]
sub eax, 4
push eax
mov eax, edi
call fcn.0051415c
mov edx, dword [ebp - 0x40]
sub edx, 7
pop ecx
call fcn.0067f1a8
jmp 0x6826b6
push ebx
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0x124
call fcn.0067f238
push eax
mov eax, dword [ebp - 0x40]
pop edx
sub eax, edx
sub eax, 5
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.004a0f98
lea eax, [ebp - 0x8c]
push eax
mov eax, edi
call fcn.0051415c
mov edx, eax
mov eax, dword [esi]
pop ecx
call fcn.0067f5fc
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x682700
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + 0x2e8], 0
je 0x6826fc
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x44], 0xffffffff
jle 0x6826fc
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2e8]
call fcn.005bc354
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx + 0x44]
jg 0x682700
xor eax, eax
jmp 0x682702
mov al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x15], al
mov eax, dword [esi]
mov eax, dword [eax + 8]
cmp byte [eax + 0xb8], 0
je 0x682748
test bl, bl
je 0x682732
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0xc0]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050c9f0
jmp 0x682748
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0xbc]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0050c9f0
mov eax, dword [ebp + 8]
cmp byte [eax - 0x15], 0
je 0x682a00
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x6828bd
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.006ceab8
test al, al
je 0x6827c2
mov eax, dword [ebp - 0x48]
add eax, 2
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
lea eax, [ebp - 0x48]
call fcn.0067f254
mov ebx, eax
sar ebx, 1
jns 0x68279c
adc ebx, 0
add ebx, dword [ebp - 0x44]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x6827b5
adc eax, 0
sub ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax - 0x20], ebx
jmp 0x682844
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.0067f238
mov ebx, eax
sar ebx, 1
jns 0x6827da
adc ebx, 0
mov eax, dword [esi]
mov eax, dword [eax + 8]
add ebx, dword [eax + 0xa8]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x30]
sar eax, 1
jns 0x6827fb
adc eax, 0
sub ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax - 0x1c], ebx
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.0067f254
mov ebx, eax
sar ebx, 1
jns 0x68281b
adc ebx, 0
mov eax, dword [esi]
mov eax, dword [eax + 8]
add ebx, dword [eax + 0xac]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x68283c
adc eax, 0
sub ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax - 0x20], ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x3c], 0
je 0x682d89
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.0050d710
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x44]
call fcn.0050d1bc
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x1c]
inc eax
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x20]
inc eax
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x20]
dec ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x1c]
dec edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.006ceab8
test al, al
je 0x68290d
mov eax, dword [ebp - 0x48]
add eax, 2
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
lea eax, [ebp - 0x48]
call fcn.0067f254
sar eax, 1
jns 0x6828eb
adc eax, 0
add eax, dword [ebp - 0x44]
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x2e8]
mov edx, dword [edx + 0x38]
sar edx, 1
jns 0x682903
adc edx, 0
sub eax, edx
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
jmp 0x682989
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.0067f238
sar eax, 1
jns 0x682923
adc eax, 0
mov edx, dword [esi]
mov edx, dword [edx + 8]
add eax, dword [edx + 0xa8]
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x2e8]
mov edx, dword [edx + 0x3c]
sar edx, 1
jns 0x682943
adc edx, 0
sub eax, edx
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.0067f254
sar eax, 1
jns 0x682961
adc eax, 0
mov edx, dword [esi]
mov edx, dword [edx + 8]
add eax, dword [edx + 0xac]
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x2e8]
mov edx, dword [edx + 0x38]
sar edx, 1
jns 0x682981
adc edx, 0
sub eax, edx
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x3c], 0
je 0x682d89
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.0050d710
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x44]
call fcn.0050d1bc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x2e8]
add eax, dword [edx + 0x3c]
inc eax
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x2e8]
add eax, dword [edx + 0x38]
inc eax
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x20]
dec ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x1c]
dec edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.006ceab8
test al, al
je 0x682a36
lea eax, [ebp - 0x48]
call fcn.0067f254
sar eax, 1
jns 0x682a22
adc eax, 0
add eax, dword [ebp - 0x44]
sub eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x14], eax
jmp 0x682a84
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.0067f254
sar eax, 1
jns 0x682a4c
adc eax, 0
mov edx, dword [esi]
mov edx, dword [edx + 8]
add eax, dword [edx + 0xac]
sub eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.0067f238
sar eax, 1
jns 0x682a73
adc eax, 0
mov edx, dword [esi]
mov edx, dword [edx + 8]
add eax, dword [edx + 0xa8]
sub eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682e2c
call fcn.0040a2b0
je 0x682aac
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682e4c
call fcn.0040a2b0
jne 0x682ad1
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.006d4a3c
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682e78
call fcn.0040a2b0
jne 0x682b0a
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.006d4b40
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682e9c
call fcn.0040a2b0
jne 0x682b43
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.006d4ba4
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682ec0
call fcn.0040a2b0
je 0x682b6b
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682ee4
call fcn.0040a2b0
jne 0x682b90
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.006d4c00
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682f14
call fcn.0040a2b0
jne 0x682bc9
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.006d4d2c
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov edx, 0x682f38
call fcn.0040a2b0
jne 0x682c02
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.006d4dd0
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x3c], 0
je 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x41], 0
je 0x682cd9
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0x104
call fcn.006ceab8
test al, al
je 0x682c59
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
inc ecx
mov edx, dword [ebp - 0x14]
call fcn.0067f1fc
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.006ceab8
test al, al
jne 0x682c84
mov eax, dword [esi]
mov eax, dword [eax + 8]
push esi
push edi
lea esi, [eax + 0xa8]
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
jmp 0x682cc0
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xa4]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x98]
add ecx, 0x10
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x9c]
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x98]
add eax, 2
call fcn.004a0f98
push ebx
mov eax, edi
call fcn.0051415c
mov edx, eax
mov eax, dword [esi]
lea ecx, [ebp - 0x78]
call fcn.0067f4c8
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0x104
call fcn.006ceab8
test al, al
je 0x682d0e
mov eax, edi
call fcn.0051415c
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
push eax
mov eax, edi
call fcn.0051415c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0067f13c
jmp 0x682d89
mov eax, dword [esi]
mov eax, dword [eax + 8]
add eax, 0xa8
call fcn.006ceab8
test al, al
jne 0x682d39
mov eax, dword [esi]
mov eax, dword [eax + 8]
push esi
push edi
lea esi, [eax + 0xa8]
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
jmp 0x682d75
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xa4]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x98]
add ecx, 0x10
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x9c]
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x98]
add eax, 2
call fcn.004a0f98
push ebx
mov eax, edi
call fcn.0051415c
mov edx, eax
mov eax, dword [esi]
lea ecx, [ebp - 0x78]
call fcn.0067f394
mov eax, dword [ebp + 8]
cmp byte [eax - 0x15], 0
je 0x682e03
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x682dca
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.005c4964
push eax
mov eax, edi
call fcn.0051415c
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x44]
jmp 0x682e03
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + 0x3d]
push eax
mov eax, edi
call fcn.0051415c
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2e8]
call fcn.005bcab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x682e15
lea eax, [ebp - 0x7c]
call fcn.004091f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004092b8
ret