Function at 0x6f9940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov ecx, ebx
mov dword [ebp - 8], esi
call fcn.005de2f0
test al, al
je 0x6fa343
mov ecx, ebx
call fcn.005de430
sub eax, 0x364ca0b8
je 0x6f9998
sub eax, 2
je 0x6f998a
sub eax, 3
jne 0x6fa32d
push ebx
lea ecx, [esi + 0x70]
call fcn.00708a60
jmp 0x6fa32d
push ebx
lea ecx, [esi + 4]
call fcn.00708a60
jmp 0x6fa32d
mov ecx, ebx
mov dword [ebp - 0x10], 0
call fcn.005de470
test al, al
je 0x6fa305
mov ecx, ebx
call fcn.005de4f0
add eax, 0xfffffffe
cmp eax, 0x1d
ja case.0x6f99c9.20
xor ecx, ecx
mov cl, byte [eax + 0x6fac8c]
jmp dword [ecx*4 + 0x6fac40]
push 4
add esi, 0x3c
jmp 0x6fa2e4
push 4
add esi, 0x40
jmp 0x6fa2e4
push 1
add esi, 0x47
jmp 0x6fa2e4
push 1
add esi, 0x48
jmp 0x6fa2e4
push 4
add esi, 0x4c
jmp 0x6fa2e4
push 4
add esi, 0x58
jmp 0x6fa2e4
push 4
add esi, 0x5c
jmp 0x6fa2e4
push 4
add esi, 0x60
jmp 0x6fa2e4
mov eax, 4
call fcn.0078c8d0
mov edi, esp
push 4
push edi
mov ecx, ebx
call fcn.005de5b0
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je case.0x6f99c9.20
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
je case.0x6f99c9.20
mov edx, dword [0x829478]
push 1
lea esi, [eax + 0x14]
push edx
push 4
push esi
call fcn.0045cc80
push 1
push 4
push edi
push esi
call fcn.0045cb20
push 0
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb case.0x6f99c9.20
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x6f9ac5
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6f9ad8
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6f9af2
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6f9b06
sub eax, ecx
jmp 0x6f9b0e
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6f9b2e
mov edx, ecx
or edx, eax
je 0x6f9b2e
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe case.0x6f99c9.20
mov cl, byte [0x81c6fc]
test cl, cl
jne case.0x6f99c9.20
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x6f9bb5
mov dword [ebp - 4], 0x820e44
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6f9ba0
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6f9ba0
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6f9ba0
test esi, esi
jle 0x6f9ba0
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6f9b9a
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6f9b92
mov edx, dword [edx + 4]
dec ebx
jne 0x6f9b85
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add edx, 4
dec ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
jne 0x6f9b63
mov ebx, dword [ebp + 8]
cmp eax, dword [0x8294d8]
je 0x6f9bc8
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6f9c41
mov eax, dword [0x829464]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6f9c0a
lea edx, [ebp - 4]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6f9bff
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6f9bff
cmp dword [eax], 0x29874362
je 0x6f9c0a
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6f9c41
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6f9c36
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6f9c36
cmp dword [eax], 0xbad0bad
je 0x6f9c41
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
jmp case.0x6f99c9.20
mov eax, 4
call fcn.0078c8d0
mov edi, esp
push 4
push edi
mov ecx, ebx
call fcn.005de5b0
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
je case.0x6f99c9.20
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
je case.0x6f99c9.20
mov edx, dword [0x829478]
push 1
lea esi, [eax + 0x14]
push edx
push 4
push esi
call fcn.0045cc80
push 1
push 4
push edi
push esi
call fcn.0045cb20
push 0
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb case.0x6f99c9.20
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x6f9cf2
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6f9d05
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6f9d1f
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6f9d33
sub eax, ecx
jmp 0x6f9d3b
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6f9d5b
mov edx, eax
or edx, ecx
je 0x6f9d5b
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe case.0x6f99c9.20
mov cl, byte [0x81c6fc]
test cl, cl
jne case.0x6f99c9.20
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x6f9ddf
mov dword [ebp - 4], 0x820e44
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6f9dcd
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6f9dcd
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6f9dcd
test esi, esi
jle 0x6f9dcd
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6f9dc7
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6f9dbf
mov edx, dword [edx + 4]
dec ebx
jne 0x6f9db2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add edx, 4
dec ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
jne 0x6f9d90
cmp eax, dword [0x8294d8]
je 0x6f9df2
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6fa2af
mov eax, dword [0x829464]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6f9e38
lea edx, [ebp - 4]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6f9e2d
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6f9e2d
cmp dword [eax], 0x29874362
je 0x6f9e38
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6fa2af
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa2a4
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6fa2a4
cmp dword [eax], 0xbad0bad
je 0x6fa2af
jmp 0x6fa2a4
mov eax, 4
call fcn.0078c8d0
mov edi, esp
push 4
push edi
mov ecx, ebx
call fcn.005de5b0
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je case.0x6f99c9.20
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
je case.0x6f99c9.20
mov edx, dword [0x829478]
push 1
lea esi, [eax + 0x14]
push edx
push 4
push esi
call fcn.0045cc80
push 1
push 4
push edi
push esi
call fcn.0045cb20
push 0
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb case.0x6f99c9.20
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x6f9f1e
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6f9f31
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6f9f4b
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6f9f5f
sub eax, ecx
jmp 0x6f9f67
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6f9f87
mov edx, eax
or edx, ecx
je 0x6f9f87
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe case.0x6f99c9.20
mov cl, byte [0x81c6fc]
test cl, cl
jne case.0x6f99c9.20
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x6fa00b
mov dword [ebp - 4], 0x820e44
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6f9ff9
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6f9ff9
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6f9ff9
test esi, esi
jle 0x6f9ff9
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6f9ff3
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6f9feb
mov edx, dword [edx + 4]
dec ebx
jne 0x6f9fde
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add edx, 4
dec ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
jne 0x6f9fbc
cmp eax, dword [0x8294d8]
je 0x6fa01e
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6fa2af
mov eax, dword [0x829464]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6fa064
lea edx, [ebp - 4]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa059
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6fa059
cmp dword [eax], 0x29874362
je 0x6fa064
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6fa2af
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa2a4
mov eax, dword [ebp - 4]
jmp 0x6f9e60
mov eax, 4
call fcn.0078c8d0
mov edi, esp
push 4
push edi
mov ecx, ebx
call fcn.005de5b0
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je case.0x6f99c9.20
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
je case.0x6f99c9.20
mov edx, dword [0x829478]
push 1
lea esi, [eax + 0x14]
push edx
push 4
push esi
call fcn.0045cc80
push 1
push 4
push edi
push esi
call fcn.0045cb20
push 0
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb case.0x6f99c9.20
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x6fa136
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6fa149
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6fa163
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6fa177
sub eax, ecx
jmp 0x6fa17f
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6fa19f
mov edx, eax
or edx, ecx
je 0x6fa19f
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe case.0x6f99c9.20
mov cl, byte [0x81c6fc]
test cl, cl
jne case.0x6f99c9.20
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x6fa223
mov dword [ebp - 4], 0x820e44
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6fa211
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6fa211
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6fa211
test esi, esi
jle 0x6fa211
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6fa20b
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6fa203
mov edx, dword [edx + 4]
dec ebx
jne 0x6fa1f6
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add edx, 4
dec ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
jne 0x6fa1d4
cmp eax, dword [0x8294d8]
je 0x6fa236
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6fa2af
mov eax, dword [0x829464]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6fa278
lea edx, [ebp - 4]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa26d
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6fa26d
cmp dword [eax], 0x29874362
je 0x6fa278
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x6fa2af
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa2a4
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6fa2a4
cmp dword [eax], 0xbad0bad
je 0x6fa2af
inc dword [0x8294f0]
call fcn.0045dca0
mov ebx, dword [ebp + 8]
mov byte [0x81c6fc], 0
jmp case.0x6f99c9.20
lea edx, [ebp - 0x10]
push 4
push edx
jmp 0x6fa2e5
push 4
add esi, 0x18
jmp 0x6fa2e4
push 0xc
add esi, 0x64
jmp 0x6fa2e4
push 1
add esi, 0x38
jmp 0x6fa2e4
push 1
add esi, 0x50
jmp 0x6fa2e4
push 4
add esi, 0x14
push esi
mov ecx, ebx
call fcn.005de5b0
mov ecx, ebx
call fcn.005de4a0
mov ecx, ebx
call fcn.005de470
mov esi, dword [ebp - 8]
test al, al
jne 0x6f99ae
mov eax, dword [ebp - 0x10]
push eax
call fcn.00733300
mov dword [esi], eax
mov ecx, dword [eax + 0x6c]
push ecx
call fcn.00733330
mov edx, dword [esi]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x70]
push eax
call fcn.00733330
add esp, 0xc
mov dword [esi + 0x20], eax
mov ecx, ebx
call fcn.005de3e0
mov ecx, ebx
call fcn.005de2f0
test al, al
jne 0x6f9960
mov ecx, dword [esi + 0x14]
lea eax, [esi + 0x14]
test ecx, ecx
je 0x6fa356
push eax
call fcn.00525d50
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x6fac30
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
je 0x6fac30
mov ecx, dword [0x829488]
xor edi, edi
push edi
add eax, 0x14
push 4
lea edx, [ecx*4 + 0x82948c]
push eax
push edx
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [ebp - 0xc], esi
mov dword [0x829488], eax
jl 0x6fa3b2
mov dword [0x829488], edi
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6fa585
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x6fa400
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6fa413
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6fa42d
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6fa441
sub eax, ecx
jmp 0x6fa449
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6fa469
mov edx, eax
or edx, ecx
je 0x6fa469
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6fa585
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6fa585
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x6fa4f0
mov dword [ebp + 8], 0x820e44
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6fa4db
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6fa4db
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6fa4db
test esi, esi
jle 0x6fa4db
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6fa4d5
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6fa4cd
mov edx, dword [edx + 4]
dec ebx
jne 0x6fa4c0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add edx, 4
dec ecx
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], ecx
jne 0x6fa49e
mov esi, dword [ebp - 0xc]
cmp eax, dword [0x8294d8]
je 0x6fa503
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x6fa57c
mov eax, dword [0x829464]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x6fa545
lea edx, [ebp + 8]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa53a
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x6fa53a
cmp dword [eax], 0x29874362
je 0x6fa545
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x6fa57c
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa571
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x6fa571
cmp dword [eax], 0xbad0bad
je 0x6fa57c
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
xor edi, edi
cmp esi, edi
je 0x6fac30
cmp dword [esi], edi
sete al
test al, al
je 0x6fac30
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
cmp eax, 0xffffffff
je 0x6fac30
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x6fac30
push edi
add eax, 0x14
push 4
push eax
mov eax, dword [0x829488]
lea ecx, [eax*4 + 0x82948c]
push ecx
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [ebp - 0xc], esi
mov dword [0x829488], eax
jl 0x6fa5f6
mov dword [0x829488], edi
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6fa7c9
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x6fa644
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6fa657
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6fa671
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6fa685
sub eax, ecx
jmp 0x6fa68d
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6fa6ad
mov edx, eax
or edx, ecx
je 0x6fa6ad
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6fa7c9
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6fa7c9
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x6fa734
mov dword [ebp + 8], 0x820e44
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6fa71f
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6fa71f
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6fa71f
test esi, esi
jle 0x6fa71f
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6fa719
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6fa711
mov edx, dword [edx + 4]
dec ebx
jne 0x6fa704
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add edx, 4
dec ecx
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], ecx
jne 0x6fa6e2
mov esi, dword [ebp - 0xc]
cmp eax, dword [0x8294d8]
je 0x6fa747
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x6fa7c0
mov eax, dword [0x829464]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x6fa789
lea edx, [ebp + 8]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa77e
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x6fa77e
cmp dword [eax], 0x29874362
je 0x6fa789
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x6fa7c0
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa7b5
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x6fa7b5
cmp dword [eax], 0xbad0bad
je 0x6fa7c0
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
xor edi, edi
cmp esi, edi
je 0x6fac30
cmp dword [esi], edi
setl al
test al, al
je 0x6fac30
mov edx, dword [ebp - 8]
mov eax, dword [edx]
add eax, 0x74
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x6faa19
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x6faa19
push edi
add eax, 0x14
push 4
push eax
mov eax, dword [0x829488]
lea ecx, [eax*4 + 0x82948c]
push ecx
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [ebp - 0xc], esi
mov dword [0x829488], eax
jl 0x6fa83e
mov dword [0x829488], edi
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6faa11
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x6fa88c
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6fa89f
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6fa8b9
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6fa8cd
sub eax, ecx
jmp 0x6fa8d5
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6fa8f5
mov edx, eax
or edx, ecx
je 0x6fa8f5
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6faa11
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6faa11
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x6fa97c
mov dword [ebp + 8], 0x820e44
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6fa967
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6fa967
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6fa967
test esi, esi
jle 0x6fa967
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6fa961
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6fa959
mov edx, dword [edx + 4]
dec ebx
jne 0x6fa94c
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add edx, 4
dec ecx
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], ecx
jne 0x6fa92a
mov esi, dword [ebp - 0xc]
cmp eax, dword [0x8294d8]
je 0x6fa98f
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x6faa08
mov eax, dword [0x829464]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x6fa9d1
lea edx, [ebp + 8]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa9c6
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x6fa9c6
cmp dword [eax], 0x29874362
je 0x6fa9d1
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x6faa08
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fa9fd
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x6fa9fd
cmp dword [eax], 0xbad0bad
je 0x6faa08
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
xor edi, edi
cmp esi, edi
je 0x6faa19
mov eax, dword [esi]
jmp 0x6faa1e
mov eax, dword [0x89fe34]
mov edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x24]
cmp eax, 0xffffffff
je 0x6fac30
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x6fac30
lea esi, [eax + 0x14]
mov eax, dword [0x829478]
push 1
push eax
push 4
push esi
call fcn.0045cc80
push 1
lea ecx, [ebp - 4]
push 4
push ecx
push esi
call fcn.0045cb20
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x6fac30
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x6faab0
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x6faac3
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x6faadd
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x6faaf1
sub eax, ecx
jmp 0x6faaf9
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x6fab19
mov edx, eax
or edx, ecx
je 0x6fab19
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x6fac30
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x6fac30
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x6fab9d
mov dword [ebp + 8], 0x820e44
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6fab8b
mov esi, dword [ecx + 4]
test esi, esi
jle 0x6fab8b
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x6fab8b
test esi, esi
jle 0x6fab8b
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x6fab85
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x6fab7d
mov edx, dword [edx + 4]
dec ebx
jne 0x6fab70
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add edx, 4
dec ecx
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], ecx
jne 0x6fab4e
cmp eax, dword [0x8294d8]
je 0x6fabb0
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x6fac29
mov eax, dword [0x829464]
mov dword [ebp + 8], esi
cmp eax, esi
je 0x6fabf2
lea edx, [ebp + 8]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fabe7
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x6fabe7
cmp dword [eax], 0x29874362
je 0x6fabf2
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [ebp + 8], esi
cmp eax, esi
je 0x6fac29
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x6fac1e
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x6fac1e
cmp dword [eax], 0xbad0bad
je 0x6fac29
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
lea esp, [ebp - 0x1c]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4