Function at 0x45ebf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x81c700]
sub esp, 0x68
inc eax
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x45edbc
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x45ec3e
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45ec51
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45ec6b
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 0x45ec7f
sub eax, ecx
jmp 0x45ec87
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45eca7
mov edx, ecx
or edx, eax
je 0x45eca7
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45edbc
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45edbc
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x45ed23
mov ebx, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x45ed15
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45ed15
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45ed15
test esi, esi
jle 0x45ed15
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45ed0f
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45ed07
mov edx, dword [edx + 4]
dec ebp
jne 0x45ecfa
mov ecx, dword [esp + 0x10]
add ebx, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x45ecdb
cmp eax, dword [0x8294d8]
je 0x45ed36
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x45edb5
mov eax, dword [0x829464]
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x45ed7b
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45ed70
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x45ed70
cmp dword [eax], 0x29874362
je 0x45ed7b
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x45edb5
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45edaa
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x45edaa
cmp dword [eax], 0xbad0bad
je 0x45edb5
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
push 0x18
call fcn.00672b70
mov esi, eax
add esp, 4
cmp esi, edi
je 0x45f571
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
xor edi, edi
mov dword [esi + 0xc], 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov byte [esi + 0x10], bl
mov eax, dword [eax]
mov ecx, dword [0x829478]
mov ebp, dword [0x8294d8]
xor eax, ecx
xor ebp, eax
mov dword [0x8294d8], ebp
mov dword [esi + 0x14], eax
mov ecx, dword [0x82947c]
push ecx
call fcn.0045ccf0
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x45f571
mov edx, dword [ebp*4 + 0x820e44]
cmp edx, edi
je 0x45f571
xor eax, eax
lea ecx, [edx + 0x10]
cmp byte [ecx], 0
je 0x45ef2f
inc eax
inc ecx
cmp eax, 0x10
jl 0x45ee39
xor eax, eax
mov dl, byte [0x82947c]
mov dword [esp + 0x80], edi
mov edi, dword [0x8294d8]
mov word [esp + 0x82], bp
mov byte [esp + 0x80], al
mov eax, dword [0x829478]
mov byte [esp + 0x81], dl
mov ecx, dword [esp + 0x80]
xor eax, ecx
push ebx
xor edi, eax
mov dword [0x8294d8], edi
mov dword [esi], eax
mov eax, dword [0x82947c]
push eax
push ebp
push esi
call fcn.0045ced0
mov ecx, dword [ebp*4 + 0x820e44]
add esp, 0x10
cmp dword [ecx + 4], 1
jne 0x45efa0
test bl, bl
jne 0x45efa0
mov eax, dword [0x820dd4]
xor esi, esi
xor edi, edi
cmp eax, esi
jle 0x45efa0
push 0x18
call fcn.00672b70
add esp, 4
cmp eax, esi
je 0x45ef92
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], 4
mov byte [eax + 0x10], 1
mov ecx, dword [0x829478]
mov edx, dword [eax + 0x14]
xor edx, ecx
mov dword [esp + 0x84], esi
mov dword [eax + 0x14], edx
mov ecx, edx
mov edx, dword [0x8294d8]
xor edx, ecx
mov dword [0x8294d8], edx
mov edx, dword [ebp*4 + 0x820e44]
cmp edx, esi
je 0x45ef40
xor ecx, ecx
lea esi, [edx + 0x10]
cmp byte [esi], 0
je 0x45ef39
inc ecx
inc esi
cmp ecx, 0x10
jl 0x45ef1f
xor esi, esi
jmp 0x45ef40
mov byte [edx + eax + 0x10], 1
jmp 0x45ee4b
mov byte [edx + ecx + 0x10], 1
jmp 0x45ef42
xor ecx, ecx
mov dl, byte [0x82947c]
mov byte [esp + 0x84], cl
mov ecx, dword [0x829478]
mov word [esp + 0x86], bp
mov byte [esp + 0x85], dl
mov esi, dword [esp + 0x84]
mov edx, dword [0x8294d8]
xor ecx, esi
xor edx, ecx
push 1
mov dword [0x8294d8], edx
mov dword [eax], ecx
mov ecx, dword [0x82947c]
push ecx
push ebp
push eax
call fcn.0045ced0
add esp, 0x10
xor esi, esi
mov eax, dword [0x820dd4]
inc edi
cmp edi, eax
jl 0x45eec7
mov eax, dword [ebp*4 + 0x820e44]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x45f554
lea edx, [ecx + ecx]
mov ecx, dword [eax + 4]
cmp ecx, edx
jle 0x45f554
test bl, bl
jne 0x45f554
mov edx, dword [eax]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [0x820dd0]
xor esi, esi
test edx, edx
je 0x45f014
mov eax, dword [ebp*4 + 0x820e44]
mov edi, dword [eax + 4]
test edi, edi
jle 0x45f014
lea eax, [esp + 0x38]
mov bl, byte [edx + 0x10]
test bl, bl
je 0x45f00e
mov ebx, dword [edx]
mov ebp, dword [0x829478]
xor ebx, ecx
xor ebx, ebp
inc esi
mov dword [eax], ebx
add eax, 4
mov edx, dword [edx + 4]
dec edi
jne 0x45eff5
test esi, esi
jle 0x45f55a
lea edx, [esp + 0x38]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov eax, dword [0x81c700]
inc eax
mov dword [esp + 0x18], esi
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x45f225
mov edi, dword [0x829478]
mov edx, ecx
sub edx, edi
mov dword [0x81c700], 0
cmp edx, ecx
jne 0x45f071
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov eax, dword [0x829478]
mov edx, eax
sub edx, ecx
cmp edx, eax
jne 0x45f089
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45f0a3
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 0x45f0b7
sub eax, ecx
jmp 0x45f0bf
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45f0df
mov edx, eax
or edx, ecx
je 0x45f0df
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45f21f
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45f21f
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x45f164
mov ebx, 0x820e44
mov dword [esp + 0x84], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x45f150
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45f150
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45f150
test esi, esi
jle 0x45f150
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45f14a
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45f142
mov edx, dword [edx + 4]
dec ebp
jne 0x45f135
mov ecx, dword [esp + 0x84]
add ebx, 4
dec ecx
mov dword [esp + 0x84], ecx
jne 0x45f116
cmp eax, dword [0x8294d8]
je 0x45f177
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45f20c
mov eax, dword [0x829464]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45f1c9
lea edx, [esp + 0x84]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45f1be
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45f1be
cmp dword [eax], 0x29874362
je 0x45f1c9
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45f20c
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45f201
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45f201
cmp dword [eax], 0xbad0bad
je 0x45f20c
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
jmp 0x45f225
mov ecx, dword [0x820dd0]
mov ebp, esi
xor ebp, ecx
mov eax, ebp
mov dword [esp + 0x28], ebp
mov edi, dword [esp + 0x2a]
and eax, 0xff
mov dword [esp + 0x24], eax
mov eax, dword [0x81c700]
and edi, 0xffff
inc eax
cmp eax, 0x186a0
mov dword [esp + 0x1c], edi
mov dword [0x81c700], eax
jb 0x45f44f
mov ebx, dword [0x829478]
mov edx, ecx
sub edx, ebx
mov dword [0x81c700], 0
cmp edx, ecx
jne 0x45f285
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov eax, dword [0x829478]
mov edx, eax
sub edx, ecx
cmp edx, eax
jne 0x45f29d
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45f2b7
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 0x45f2cb
sub eax, ecx
jmp 0x45f2d3
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45f2f3
mov edx, eax
or edx, ecx
je 0x45f2f3
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45f449
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45f449
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x45f38e
mov dword [esp + 0x84], 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx]
test ecx, ecx
je 0x45f36e
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45f36e
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45f36e
test esi, esi
jle 0x45f36e
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45f368
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45f360
mov edx, dword [edx + 4]
dec ebx
jne 0x45f353
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
add edx, 4
dec ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x14], ecx
jne 0x45f32d
mov edi, dword [esp + 0x1c]
cmp eax, dword [0x8294d8]
je 0x45f3a1
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45f436
mov eax, dword [0x829464]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45f3f3
lea edx, [esp + 0x84]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45f3e8
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45f3e8
cmp dword [eax], 0x29874362
je 0x45f3f3
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45f436
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45f42b
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45f42b
cmp dword [eax], 0xbad0bad
je 0x45f436
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
jmp 0x45f44f
mov ecx, dword [0x820dd0]
xor esi, ecx
mov ebx, dword [0x829478]
mov eax, esi
mov dword [esp + 0x30], eax
xor eax, ebx
mov edx, dword [esp + 0x32]
and edx, 0xffff
mov edx, dword [edx*4 + 0x820e44]
mov esi, dword [edx]
xor edx, edx
test esi, esi
je 0x45f523
cmp dword [esi], eax
je 0x45f496
mov esi, dword [esi + 4]
inc edx
cmp edx, 0x10
jg 0x45f523
test esi, esi
jne 0x45f47c
jmp 0x45f523
test esi, esi
je 0x45f523
mov ecx, dword [0x8294d8]
mov eax, dword [edi*4 + 0x820e44]
xor ebp, ecx
mov edi, ebx
xor ebp, ebx
mov dword [0x8294d8], ebp
mov eax, dword [eax + 8]
lea ecx, [eax + eax*2]
mov eax, dword [ecx*4 + 0x828e68]
lea ecx, [esi + 0x14]
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x45f4f2
mov edx, dword [ecx]
mov ebx, dword [0x8294d8]
xor ebx, edx
add ecx, 4
mov dword [0x8294d8], ebx
mov ebp, dword [ecx - 4]
xor ebp, edi
dec eax
mov dword [ecx - 4], ebp
jne 0x45f4d4
mov edi, dword [esp + 0x1c]
push esi
push edi
call fcn.0045d050
mov eax, dword [edi*4 + 0x820e44]
add esp, 8
test eax, eax
je 0x45f514
mov ecx, dword [esp + 0x24]
mov byte [ecx + eax + 0x10], 0
push esi
call fcn.00672c80
mov ecx, dword [0x820dd0]
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add edx, 4
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x45f028
mov eax, dword [esp + 0x80]
pop edi
xor ecx, eax
mov eax, dword [esp + 0x78]
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x68
ret
mov ecx, dword [0x820dd0]
mov eax, dword [esp + 0x80]
pop edi
xor ecx, eax
mov eax, dword [esp + 0x78]
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword [eax], 0xffffffff
pop ebx
add esp, 0x68
ret