Function at 0x705450
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
sub esp, 0x10
cmp eax, 0xffffffff
push ebx
push ebp
push esi
push edi
je 0x705d5c
push eax
call fcn.0045c0b0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x705d5c
push ebx
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 ebp, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x14], ebp
mov dword [0x829488], eax
jl 0x7054b2
mov dword [0x829488], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x705a8b
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x705500
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x705513
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x70552d
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 0x705541
sub eax, ecx
jmp 0x705549
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x705569
mov edx, ecx
or edx, eax
je 0x705569
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x705a8b
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x705a8b
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x7055f0
mov ebp, 0x820e44
mov dword [esp + 0x18], ecx
jmp 0x7055a1
xor ebx, ebx
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x7055dc
mov esi, dword [ecx + 4]
cmp esi, ebx
jle 0x7055dc
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebx
je 0x7055dc
cmp esi, ebx
jle 0x7055dc
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x7055d6
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x7055ce
mov edx, dword [edx + 4]
dec ebx
jne 0x7055c1
mov ecx, dword [esp + 0x18]
add ebp, 4
dec ecx
mov dword [esp + 0x18], ecx
jne 0x70559f
mov ebp, dword [esp + 0x14]
xor ebx, ebx
cmp eax, dword [0x8294d8]
je 0x705603
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x705a84
mov eax, dword [0x829464]
cmp eax, ebx
je 0x705849
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x70583e
push ebx
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 edi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x18], edi
mov dword [0x829488], eax
jl 0x70566a
mov dword [0x829488], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x705832
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x7056b2
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x7056bf
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x7056e9
mov edx, ecx
or edx, eax
je 0x7056e9
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x705832
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x705832
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x1c], ebx
not esi
jle 0x705790
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x70576e
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x70576e
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x70576e
xor ebx, ebx
test ecx, ecx
jle 0x70576e
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x70575f
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x705755
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x705743
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jl 0x705720
mov edi, dword [esp + 0x18]
cmp esi, dword [0x8294d8]
je 0x70579d
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x705825
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x7057e7
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x7057e2
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x7057e2
cmp dword [eax], 0x29874362
je 0x7057e7
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x705825
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x705820
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x705820
cmp dword [eax], 0xbad0bad
je 0x705825
call fcn.00406630
mov ebp, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp edi, ebx
je 0x70583e
cmp dword [edi], 0x29874362
je 0x705849
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, ebx
je 0x705a84
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x705a79
mov ecx, dword [0x829488]
push ebx
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 edi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x18], edi
mov dword [0x829488], eax
jl 0x7058a5
mov dword [0x829488], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x705a6d
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x7058ed
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x7058fa
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x705924
mov edx, eax
or edx, ecx
je 0x705924
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x705a6d
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x705a6d
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x1c], ebx
not esi
jle 0x7059cb
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x7059a9
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x7059a9
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x7059a9
xor ebx, ebx
test ecx, ecx
jle 0x7059a9
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x70599a
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x705990
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x70597e
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jl 0x70595b
mov edi, dword [esp + 0x18]
cmp esi, dword [0x8294d8]
je 0x7059d8
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x705a60
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x705a22
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x705a1d
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x705a1d
cmp dword [eax], 0x29874362
je 0x705a22
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x705a60
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x705a5b
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x705a5b
cmp dword [eax], 0xbad0bad
je 0x705a60
call fcn.00406630
mov ebp, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp edi, ebx
je 0x705a79
cmp dword [edi], 0xbad0bad
je 0x705a84
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
cmp ebp, ebx
je 0x705d5c
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x705d50
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x705d50
mov edx, dword [0x829488]
push ebx
add eax, 0x14
push 4
push eax
lea eax, [edx*4 + 0x82948c]
push eax
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x1c], esi
mov dword [0x829488], eax
jl 0x705af1
mov dword [0x829488], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x705d42
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x705b3f
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x705b52
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x705b6c
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 0x705b80
sub eax, ecx
jmp 0x705b88
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x705ba8
mov edx, eax
or edx, ecx
je 0x705ba8
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x705d42
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x705d42
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x705c25
mov ebp, 0x820e44
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x705c17
mov esi, dword [ecx + 4]
test esi, esi
jle 0x705c17
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x705c17
test esi, esi
jle 0x705c17
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x705c11
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x705c09
mov edx, dword [edx + 4]
dec ebx
jne 0x705bfc
mov ecx, dword [esp + 0x24]
add ebp, 4
dec ecx
mov dword [esp + 0x24], ecx
jne 0x705bdc
cmp eax, dword [0x8294d8]
je 0x705c38
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x705d31
mov eax, dword [0x829464]
cmp eax, edi
je 0x705cbc
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x705cb1
mov edx, dword [0x829488]
push edi
add eax, 0x14
push 4
push eax
lea eax, [edx*4 + 0x82948c]
push eax
call fcn.0045cba0
mov eax, dword [0x829488]
add esp, 0x10
lea esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [0x829488], eax
jl 0x705c97
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x705cb1
cmp dword [esi], 0x29874362
je 0x705cbc
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, edi
je 0x705d31
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x705d26
mov ecx, dword [0x829488]
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 [0x829488], eax
jl 0x705d0c
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x705d26
cmp dword [esi], 0xbad0bad
je 0x705d31
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp esi, ebx
je 0x705d50
mov eax, dword [esi]
mov ecx, dword [ebp]
add ecx, eax
mov dword [ebp], ecx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
pop edi
pop esi
pop ebp
mov eax, 0x8294f4
pop ebx
add esp, 0x10
ret 4