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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x94]
cmp eax, dword [ecx + 8]
jbe 0x683120
sub esp, 0x114
lea eax, [0x6d37e0]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 0x138]
test edx, edx
je 0x682322
mov ebx, dword [ecx + 0x13c]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ebx
mov edx, dword [esp + 0xdc]
test edx, edx
je 0x68231a
movzx ebx, byte [edx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x682311
or ebx, 0x80
mov ebp, dword [esp + 0xe0]
jmp 0x682328
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x682328
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc4], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc8], ebp
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x22
call fcn.004ac2c0
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x68238d
cmp eax, 7
jne 0x682371
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x6823b1
cmp eax, 8
jne 0x68237d
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x6823b1
cmp eax, 9
jne 0x6830e5
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x6823b1
cmp eax, 0xa
jne 0x682398
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x6823b1
cmp eax, 0xb
jne 0x6823a4
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x6823b1
cmp eax, 0xc
jne 0x6830e5
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x23
call fcn.004ac2c0
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x68241e
cmp eax, 7
jne 0x682402
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x682442
cmp eax, 8
jne 0x68240e
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x682442
cmp eax, 9
jne 0x6830ab
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x682442
cmp eax, 0xa
jne 0x682429
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x682442
cmp eax, 0xb
jne 0x682435
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x682442
cmp eax, 0xc
jne 0x6830ab
mov eax, dword [ecx]
xor ecx, ecx
mov edx, dword [esp + 0x28]
test edx, edx
sete bl
mov ebp, dword [esp + 0x2c]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebx, ebp
test bl, bl
jne 0x68246e
test ecx, ecx
sete cl
test eax, eax
sete al
and ecx, eax
test cl, cl
je 0x682480
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
mov eax, dword [esp + 0x118]
mov dword [esp], eax
lea ecx, [0x70b2f2]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.0067af80
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6825f6
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
add eax, edx
mov dword [esp + 4], eax
call fcn.0067ac90
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
lea ecx, [0x6d36c0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
lea edx, [0x6a9ca0]
mov dword [esp + 4], edx
lea edx, [esp + 0x6c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x6825e4
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0xd8]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
add edx, ebp
cmp ecx, 1
jne 0x68256f
xor eax, eax
jmp 0x68262a
cmp ecx, 2
jne 0x682608
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
lea eax, [0x6bd160]
mov dword [esp + 0xe4], eax
lea eax, [0x773328]
mov dword [esp + 0xe8], eax
mov eax, dword [0x9670b0]
lea ecx, [0x773d24]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c5bf0
mov ebx, dword [esp + 0xd8]
jmp 0x682608
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
mov dword [esp + 0x11c], ebx
add esp, 0x114
ret
mov eax, esi
lea esi, [esp + 0xec]
call fcn.0046910e
mov ebx, eax
mov eax, edx
mov edx, ebp
cmp dword [esp + 0x70], eax
jbe 0x682608
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
lea edi, [esp + 0xec]
xor eax, eax
call fcn.00468c2b
mov ecx, dword [esp + 0x118]
movzx ebp, byte [ecx + 0x294]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x682730
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x6d3fc0]
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
lea edx, [0x6ab060]
mov dword [esp + 4], edx
lea ebx, [esp + 0x74]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x68291f
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409c80
mov eax, dword [esp + 8]
lea ecx, [0x6d3fc0]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x5c]
jmp 0x682818
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea eax, [0x6d4020]
mov dword [esp], eax
lea ecx, [esp + 0xb8]
mov dword [esp + 4], ecx
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
lea edx, [0x6ab0a0]
mov dword [esp + 4], edx
lea ebx, [esp + 0xac]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x682931
lea eax, [0x6d4020]
mov dword [esp], eax
lea ecx, [esp + 0xac]
mov dword [esp + 4], ecx
call fcn.00409b50
mov eax, dword [esp + 8]
lea ecx, [0x6d4020]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
lea ecx, [0x6d3fc0]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x23], dl
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x34]
add ebp, ebx
mov esi, edx
mov edx, dword [esp + 0x30]
add edx, ebx
mov dword [esp + 0x30], edx
xor edi, edi
jmp 0x68296e
mov ebx, dword [esp + 0xd8]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
inc esi
mov edi, dword [ebx + 8]
cmp eax, esi
jae 0x6828b6
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6d3780]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xd8]
mov dword [ebx + 0x10], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x6828a1
call fcn.004689a0
mov dword [edi], ecx
mov ebp, dword [ebx + 8]
mov dword [edi + 4], ebp
mov dword [ebx + 8], ecx
mov ebp, dword [esp + 0x34]
mov esi, edx
mov edi, ecx
lea ecx, [0x6d3fc0]
mov edx, dword [esp + 0x30]
mov dword [ebx + 0xc], esi
mov eax, dword [0x98d4e0]
lea esi, [esi + esi*4]
lea edi, [edi + esi*4 - 0x14]
mov esi, ebx
mov ebx, dword [esp + 0x48]
add edx, ebx
test eax, eax
je 0x682616
mov dword [esp + 0xd4], edi
mov dword [esp + 0x58], edx
lea eax, [0x6d3780]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xec]
mov dword [esp + 8], eax
call fcn.00411600
lea ecx, [0x6d3fc0]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0xd8]
mov edi, dword [esp + 0xd4]
jmp 0x682616
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
lea esi, [esp + 0x100]
call fcn.0046910e
mov eax, dword [esp + 0x48]
lea ecx, [0x6d3fc0]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
movzx esi, byte [esp + 0x23]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x34], ebp
sub eax, ebx
cmp edi, eax
ja 0x68283d
mov dword [esp + 0x44], edi
lea edi, [esp + 0x100]
xor eax, eax
call fcn.00468c2b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x6d34e0]
mov dword [esp], ecx
lea edx, [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.004cf4a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x118]
mov dword [esp], edx
lea ebx, [0x6a98e0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x7c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0067b980
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x682b4d
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], ebx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
add edx, ebx
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
cmp al, 3
xchg ebp, eax
jne 0x682a4e
mov eax, dword [esp + 0x118]
xor ecx, ecx
jmp 0x682f2b
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x682a63
mov eax, dword [esp + 0x118]
xor ecx, ecx
jmp 0x682d01
xchg ebp, eax
cmp al, 5
xchg ebp, eax
jne 0x682a78
mov eax, dword [esp + 0x118]
xor ecx, ecx
jmp 0x682b63
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
inc eax
mov esi, ebp
mov ebp, dword [esp + 0x44]
add ecx, ebp
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0xf4]
cmp ebx, eax
jae 0x682af4
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6d3720]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf4], ebp
mov edx, dword [esp + 0x34]
movzx esi, byte [esp + 0x23]
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xf8], eax
mov ebx, dword [0x98d4e0]
lea eax, [eax + eax*4]
lea edi, [ebp + eax*4 - 0x14]
test ebx, ebx
je 0x682943
mov dword [esp + 0xd0], edi
lea eax, [0x6d3720]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x100]
mov dword [esp + 8], eax
call fcn.00411600
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
movzx esi, byte [esp + 0x23]
mov edi, dword [esp + 0xd0]
jmp 0x682943
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
add edx, 2
inc ecx
mov esi, dword [esp + 0x80]
sub esi, ebx
shr esi, 1
cmp ecx, esi
jae 0x682a78
mov dword [esp + 0x38], 0
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffe
cmp edx, esi
jbe 0x682b97
mov esi, dword [0x95da80]
mov edi, esi
xor esi, esi
jmp 0x682bcf
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x682cf4
mov edi, dword [eax + 0x290]
sub esi, edx
sub edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
cmp esi, 1
jbe 0x682ce8
mov esi, dword [eax + 0x288]
movzx esi, word [edi + esi]
xor edi, edi
test edi, edi
jne 0x682cd6
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], edx
mov edi, esi
and esi, 0xfff
mov word [esp + 0x38], si
and edi, 0xfffff000
shr di, 0xc
mov word [esp + 0x3a], di
test si, si
jne 0x682c09
test di, di
je 0x682b5f
lea eax, [0x6d4080]
mov dword [esp], eax
lea ecx, [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00409b50
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
inc ecx
mov edx, dword [esp + 0x108]
mov ebx, dword [esp + 8]
cmp eax, ecx
jae 0x682c87
mov dword [esp + 0xcc], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6be780]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x108], edx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x10c], ecx
lea ebp, [edx + ecx*8 - 8]
mov eax, ebx
lea ebx, [0x6d4080]
mov dword [ebp], ebx
mov ebp, dword [0x98d4e0]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x682cb7
call fcn.004689a0
mov dword [edi], eax
mov ebp, dword [edx]
mov dword [edi + 4], ebp
mov dword [edx], eax
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [esp + 0x23]
jmp 0x682b5f
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
mov eax, 1
mov ecx, esi
call fcn.00468a00
mov eax, edx
mov ecx, esi
call fcn.00468a70
inc ecx
add edx, 2
mov esi, dword [esp + 0x80]
sub esi, ebx
shr esi, 1
cmp ecx, esi
jae 0x682a78
mov dword [esp + 0x66], 0
mov word [esp + 0x6a], 0
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffe
cmp edx, esi
jbe 0x682d3c
mov esi, dword [0x95da80]
mov edi, esi
xor esi, esi
jmp 0x682d74
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x682efc
mov edi, dword [eax + 0x290]
sub esi, edx
sub edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
cmp esi, 1
jbe 0x682ef0
mov esi, dword [eax + 0x288]
movzx esi, word [edi + esi]
xor edi, edi
test edi, edi
jne 0x682ede
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], edx
mov edi, esi
and esi, 0xfff
mov word [esp + 0x66], si
mov esi, edi
and edi, 0x1000
shr di, 0xc
xchg edi, eax
mov byte [esp + 0x68], al
xchg edi, eax
mov edi, esi
and esi, 0x2000
shr si, 0xd
xchg esi, eax
mov byte [esp + 0x69], al
xchg esi, eax
mov esi, edi
and edi, 0x4000
shr di, 0xe
xchg edi, eax
mov byte [esp + 0x6a], al
xchg edi, eax
and esi, 0xffff8000
shr si, 0xf
xchg esi, eax
mov byte [esp + 0x6b], al
xchg esi, eax
movzx edi, word [esp + 0x66]
test di, di
jne 0x682e11
movzx edi, byte [esp + 0x68]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x682e11
movzx edi, byte [esp + 0x69]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x682e11
movzx edi, byte [esp + 0x6a]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x682e11
xchg esi, eax
movzx eax, al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x682cfd
lea eax, [0x6e74e0]
mov dword [esp], eax
lea ecx, [esp + 0x66]
mov dword [esp + 4], ecx
call fcn.00409b50
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
inc ecx
mov edx, dword [esp + 0x108]
mov ebx, dword [esp + 8]
cmp eax, ecx
jae 0x682e8f
mov dword [esp + 0xcc], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6be780]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x108], edx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x10c], ecx
lea ebp, [edx + ecx*8 - 8]
mov eax, ebx
lea ebx, [0x6e74e0]
mov dword [ebp], ebx
mov ebp, dword [0x98d4e0]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x682ebf
call fcn.004689a0
mov dword [edi], eax
mov ebp, dword [edx]
mov dword [edi + 4], ebp
mov dword [edx], eax
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [esp + 0x23]
jmp 0x682cfd
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
mov eax, 1
mov ecx, esi
call fcn.00468a00
mov eax, edx
mov ecx, esi
call fcn.00468a70
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
lea edx, [eax + 4]
mov eax, dword [esp + 0x40]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x118]
mov eax, ebp
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [esp + 0x23]
mov esi, dword [esp + 0x80]
sub esi, ebx
shr esi, 2
cmp ecx, esi
jae 0x682a78
mov esi, dword [eax + 0x2ac]
add esi, 0xfffffffc
cmp edx, esi
jbe 0x682f56
mov esi, dword [0x95da80]
xor edi, edi
jmp 0x682f8d
mov esi, dword [eax + 0x28c]
cmp edx, esi
ja 0x6830a2
mov edi, dword [eax + 0x290]
sub esi, edx
sub edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
cmp esi, 3
jbe 0x683096
mov esi, dword [eax + 0x288]
mov edi, dword [esi + edi]
xor esi, esi
test esi, esi
jne 0x683084
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], edx
mov eax, edi
and edi, 0xfff
mov word [esp + 0x84], di
mov ecx, eax
and eax, 0x1000
shr ax, 0xc
mov word [esp + 0x86], ax
and ecx, 0xffffe000
shr ecx, 0xd
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00409c80
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
inc ecx
mov edx, dword [esp + 0x108]
mov ebx, dword [esp + 8]
cmp eax, ecx
jae 0x68304b
mov dword [esp + 0xcc], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6be780]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x108], edx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x10c], ecx
lea ebp, [edx + ecx*8 - 8]
mov eax, ebx
lea ebx, [0x6dc1a0]
mov dword [ebp], ebx
mov ebp, dword [0x98d4e0]
lea edx, [edx + ecx*8 - 4]
test ebp, ebp
je 0x682f05
call fcn.004689a0
mov dword [edi], eax
mov ebp, dword [edx]
mov dword [edi + 4], ebp
jmp 0x682f05
mov dword [esp + 0x11c], 0
add esp, 0x114
ret
mov eax, 3
mov ecx, esi
call fcn.00468a00
mov eax, edx
mov ecx, esi
call fcn.00468a70
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x710cf2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x710cf2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
nop
call fcn.00467590
jmp fcn.00682280