Function at 0x703ae0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
sub esp, 0xc
cmp eax, 0xffffffff
push ebx
push ebp
push esi
je 0x704117
push eax
call fcn.0045c0b0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x704117
lea esi, [eax + 0x14]
mov eax, dword [0x829478]
push 1
push eax
push 4
push esi
call fcn.0045cc80
mov ebp, dword [esp + 0x2c]
push 1
push 4
push ebp
push esi
call fcn.0045cb20
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x70410c
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x703b74
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x703b87
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x703ba1
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 0x703bb5
sub eax, ecx
jmp 0x703bbd
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x703bdd
mov edx, ecx
or edx, eax
je 0x703bdd
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x70410c
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x70410c
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
push edi
mov byte [0x81c6fc], 1
not eax
jle 0x703c65
mov ebp, 0x820e44
mov dword [esp + 0x14], ecx
jmp 0x703c16
xor ebx, ebx
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x703c51
mov esi, dword [ecx + 4]
cmp esi, ebx
jle 0x703c51
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebx
je 0x703c51
cmp esi, ebx
jle 0x703c51
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x703c4b
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x703c43
mov edx, dword [edx + 4]
dec ebx
jne 0x703c36
mov ecx, dword [esp + 0x14]
add ebp, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x703c14
mov ebp, dword [esp + 0x20]
xor ebx, ebx
cmp eax, dword [0x8294d8]
je 0x703c78
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x7040f9
mov eax, dword [0x829464]
cmp eax, ebx
je 0x703ebe
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x703eb3
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 + 0x14], edi
mov dword [0x829488], eax
jl 0x703cdf
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 0x703ea7
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x703d27
call fcn.00406630
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x703d34
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x703d5e
mov edx, ecx
or edx, eax
je 0x703d5e
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x703ea7
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x703ea7
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x18], ebx
not esi
jle 0x703e05
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x703de3
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x703de3
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x703de3
xor ebx, ebx
test ecx, ecx
jle 0x703de3
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x703dd4
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x703dca
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x703db8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x703d95
mov edi, dword [esp + 0x14]
cmp esi, dword [0x8294d8]
je 0x703e12
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x703e9a
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x703e5c
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x703e57
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x703e57
cmp dword [eax], 0x29874362
je 0x703e5c
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x703e9a
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x703e95
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x703e95
cmp dword [eax], 0xbad0bad
je 0x703e9a
call fcn.00406630
mov ebp, dword [esp + 0x20]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp edi, ebx
je 0x703eb3
cmp dword [edi], 0x29874362
je 0x703ebe
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, ebx
je 0x7040f9
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x7040ee
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 + 0x14], edi
mov dword [0x829488], eax
jl 0x703f1a
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 0x7040e2
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x703f62
call fcn.00406630
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x703f6f
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x703f99
mov edx, eax
or edx, ecx
je 0x703f99
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x7040e2
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x7040e2
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x18], ebx
not esi
jle 0x704040
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x70401e
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x70401e
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x70401e
xor ebx, ebx
test ecx, ecx
jle 0x70401e
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x70400f
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x704005
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x703ff3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x703fd0
mov edi, dword [esp + 0x14]
cmp esi, dword [0x8294d8]
je 0x70404d
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x7040d5
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x704097
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x704092
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x704092
cmp dword [eax], 0x29874362
je 0x704097
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x7040d5
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x7040d0
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x7040d0
cmp dword [eax], 0xbad0bad
je 0x7040d5
call fcn.00406630
mov ebp, dword [esp + 0x20]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp edi, ebx
je 0x7040ee
cmp dword [edi], 0xbad0bad
je 0x7040f9
inc dword [0x8294f0]
call fcn.0045dca0
pop edi
mov eax, ebp
pop esi
pop ebp
mov byte [0x81c6fc], 0
pop ebx
add esp, 0xc
ret 4
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4