Function at 0x70da10
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x855ec8]
sub esp, 0x24
test al, al
push ebx
push ebp
push esi
push edi
je 0x70de1f
cmp dword [0x856518], 1
je 0x70de1f
mov eax, dword [0x856ffc]
xor ebp, ebp
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
je 0x70de1f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
call dword [edx + 0x24]
cmp eax, ebp
je 0x70dd7f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x8c]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x1c], edi
je 0x70dd7f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
cmp eax, dword [esp + 0x38]
jne 0x70dd7f
mov eax, dword [edi + 0x7c8]
cmp eax, ebp
je 0x70dd7f
mov eax, dword [eax + 0x8c]
cmp eax, 0xffffffff
je 0x70dd4f
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x70dd4f
mov ecx, dword [0x829488]
push ebp
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 [esp + 0x24], esi
mov dword [0x829488], eax
jl 0x70daf7
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x70dd47
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x70db45
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x70db58
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x70db72
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 0x70db86
sub eax, ecx
jmp 0x70db8e
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x70dbae
mov edx, ecx
or edx, eax
je 0x70dbae
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x70dd47
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x70dd47
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x70dc34
mov ebx, 0x820e44
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x70dc22
mov esi, dword [ecx + 4]
cmp esi, ebp
jle 0x70dc22
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebp
je 0x70dc1e
cmp esi, ebp
jle 0x70dc1e
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x70dc16
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x70dc0e
mov edx, dword [edx + 4]
dec ebp
jne 0x70dc01
xor ebp, ebp
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ebx, 4
dec ecx
mov dword [esp + 0x20], ecx
jne 0x70dbe2
mov ebx, dword [esp + 0x10]
cmp eax, dword [0x8294d8]
je 0x70dc47
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebp
je 0x70dd3c
mov eax, dword [0x829464]
cmp eax, ebp
je 0x70dcc7
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x70dcbc
push ebp
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 [0x829488], eax
jl 0x70dca2
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, ebp
je 0x70dcbc
cmp dword [esi], 0x29874362
je 0x70dcc7
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, ebp
je 0x70dd3c
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x70dd31
mov edx, dword [0x829488]
push ebp
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 0x70dd17
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, ebp
je 0x70dd31
cmp dword [esi], 0xbad0bad
je 0x70dd3c
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x24]
mov byte [0x81c6fc], 0
cmp esi, ebp
je 0x70dd4f
mov eax, dword [esi]
jmp 0x70dd54
mov eax, dword [0x89fe34]
cmp eax, 2
je 0x70dd7f
mov ecx, dword [esp + 0x18]
inc ecx
cmp ebx, ebp
mov dword [esp + 0x18], ecx
je 0x70dd79
fld dword [edi + 0x7fc]
fcomp dword [ebx + 0x7fc]
fnstsw ax
test ah, 0x41
jne 0x70dd7f
mov dword [esp + 0x10], edi
mov ebx, edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x70da4e
cmp dword [esp + 0x18], 0x1e
jle 0x70de1f
cmp ebx, ebp
je 0x70de1f
mov al, byte [0x855ec8]
test al, al
je 0x70de16
mov ecx, ebx
call fcn.0070d6b0
push str.KilledC4
call fcn.00733310
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x70de16
cmp dword [edi + 0x68], ebp
je 0x70de16
mov eax, dword [ebx + 0x7bc]
xor esi, esi
cmp eax, ebp
je 0x70dde7
cmp dword [eax + 4], ebp
je 0x70dde7
cmp eax, ebp
je 0x70dde2
mov eax, dword [eax + 4]
jmp 0x70dde4
xor eax, eax
mov esi, dword [eax + 0xc]
mov ecx, ebx
call fcn.006a5f10
fld dword [eax + 0x2c]
fld dword [eax + 0x1c]
fld dword [eax + 0xc]
mov eax, dword [edi + 0x68]
push ebp
fstp dword [esp + 0x2c]
lea edx, [esp + 0x2c]
push esi
fstp dword [esp + 0x34]
push edx
push eax
fstp dword [esp + 0x40]
call fcn.007212e0
add esp, 0x10
mov edx, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [edx + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret