Function at 0x700d30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
cmp eax, 6
mov dword [esp + 0x10], edi
mov dword [edi + 0x3c], eax
jne 0x700d57
mov dword [edi + 0x40], 0x3f000000
jmp 0x701030
cmp eax, 7
jne 0x700d68
mov dword [edi + 0x40], 0x3f000000
jmp 0x701030
cmp eax, 5
jne 0x701030
mov eax, dword [edi]
add eax, 0x34
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x701027
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x701027
push ebp
add eax, 0x14
push 4
push eax
mov eax, dword [0x8294dc]
lea ecx, [eax*4 + 0x8294b4]
push ecx
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea ebx, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x14], ebx
mov dword [0x8294dc], eax
jl 0x700dcf
mov dword [0x8294dc], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x70101f
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x700e1d
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x700e30
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x700e4a
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 0x700e5e
sub eax, ecx
jmp 0x700e66
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x700e86
mov edx, ecx
or edx, eax
je 0x700e86
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x70101f
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x70101f
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x700f10
mov ebx, 0x820e44
mov dword [esp + 0x1c], ecx
jmp 0x700ebe
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x700ef8
mov esi, dword [ecx + 4]
cmp esi, ebp
jle 0x700ef8
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebp
je 0x700ef8
cmp esi, ebp
jle 0x700ef8
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x700ef2
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x700eea
mov edx, dword [edx + 4]
dec ebp
jne 0x700edd
mov ecx, dword [esp + 0x1c]
add ebx, 4
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x700ebc
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
xor ebp, ebp
cmp eax, dword [0x8294d8]
je 0x700f23
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebp
je 0x701018
mov eax, dword [0x829464]
cmp eax, ebp
je 0x700fa3
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x700f98
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 0x700f7e
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, ebp
je 0x700f98
cmp dword [esi], 0x29874362
je 0x700fa3
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, ebp
je 0x701018
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x70100d
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 0x700ff3
mov dword [0x829488], ebp
push ebp
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, ebp
je 0x70100d
cmp dword [esi], 0xbad0bad
je 0x701018
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
cmp ebx, ebp
je 0x701027
fld dword [ebx]
jmp 0x70102d
fld dword [0x89fe2c]
fstp dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
cmp eax, 1
jne 0x70103f
mov dword [edi + 0x40], 0x41c80000
cmp eax, 3
jne 0x701053
mov ecx, dword [edi + 0x1c]
fld dword [0x7cd794]
fdiv dword [ecx + 0x3c]
fstp dword [edi + 0x40]
cmp eax, 4
jne 0x701067
mov edx, dword [edi + 0x20]
fld dword [0x7cd794]
fdiv dword [edx + 0x3c]
fstp dword [edi + 0x40]
cmp eax, 2
jne 0x70133b
mov eax, dword [edi + 0x1c]
add eax, 0x74
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x701332
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebp
je 0x701332
push ebp
add eax, 0x14
push 4
push eax
mov eax, dword [0x8294dc]
lea ecx, [eax*4 + 0x8294b4]
push ecx
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea esi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x14], esi
mov dword [0x8294dc], eax
jl 0x7010cf
mov dword [0x8294dc], ebp
push ebp
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x70131f
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebp
sub edx, ecx
cmp edx, eax
jne 0x70111d
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x701130
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x70114a
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 0x70115e
sub eax, ecx
jmp 0x701166
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x701186
mov edx, eax
or edx, ecx
je 0x701186
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x70131f
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x70131f
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebp
mov byte [0x81c6fc], 1
not eax
jle 0x701202
mov ebx, 0x820e44
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x7011f4
mov esi, dword [ecx + 4]
test esi, esi
jle 0x7011f4
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x7011f4
test esi, esi
jle 0x7011f4
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x7011ee
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x7011e6
mov edx, dword [edx + 4]
dec ebp
jne 0x7011d9
mov ecx, dword [esp + 0x1c]
add ebx, 4
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x7011ba
cmp eax, dword [0x8294d8]
je 0x701215
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x70130e
mov eax, dword [0x829464]
cmp eax, edi
je 0x701299
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x70128e
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 0x701274
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x70128e
cmp dword [esi], 0x29874362
je 0x701299
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, edi
je 0x70130e
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x701303
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 0x7012e9
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x701303
cmp dword [esi], 0xbad0bad
je 0x70130e
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov byte [0x81c6fc], 0
xor ebp, ebp
cmp esi, ebp
je 0x701332
fld dword [esi]
fstp dword [edi + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
fld dword [0x89fe2c]
fstp dword [edi + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4