Function at 0x45e250
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 0x45e41c
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x45e29e
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45e2b1
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45e2cb
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 0x45e2df
sub eax, ecx
jmp 0x45e2e7
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45e307
mov edx, ecx
or edx, eax
je 0x45e307
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45e41c
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45e41c
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x45e383
mov ebx, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x45e375
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45e375
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45e375
test esi, esi
jle 0x45e375
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45e36f
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45e367
mov edx, dword [edx + 4]
dec ebp
jne 0x45e35a
mov ecx, dword [esp + 0x10]
add ebx, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x45e33b
cmp eax, dword [0x8294d8]
je 0x45e396
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x45e415
mov eax, dword [0x829464]
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x45e3db
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45e3d0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x45e3d0
cmp dword [eax], 0x29874362
je 0x45e3db
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x45e415
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45e40a
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x45e40a
cmp dword [eax], 0xbad0bad
je 0x45e415
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 0x45ebd1
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 [0x8294e0]
push ecx
call fcn.0045ccf0
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x45ebd1
mov edx, dword [ebp*4 + 0x820e44]
cmp edx, edi
je 0x45ebd1
xor eax, eax
lea ecx, [edx + 0x10]
cmp byte [ecx], 0
je 0x45e58f
inc eax
inc ecx
cmp eax, 0x10
jl 0x45e499
xor eax, eax
mov dl, byte [0x8294e0]
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 [0x8294e0]
push eax
push ebp
push esi
call fcn.0045ced0
mov ecx, dword [ebp*4 + 0x820e44]
add esp, 0x10
cmp dword [ecx + 4], 1
jne 0x45e600
test bl, bl
jne 0x45e600
mov eax, dword [0x82946c]
xor esi, esi
xor edi, edi
cmp eax, esi
jle 0x45e600
push 0x18
call fcn.00672b70
add esp, 4
cmp eax, esi
je 0x45e5f2
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 0x45e5a0
xor ecx, ecx
lea esi, [edx + 0x10]
cmp byte [esi], 0
je 0x45e599
inc ecx
inc esi
cmp ecx, 0x10
jl 0x45e57f
xor esi, esi
jmp 0x45e5a0
mov byte [edx + eax + 0x10], 1
jmp 0x45e4ab
mov byte [edx + ecx + 0x10], 1
jmp 0x45e5a2
xor ecx, ecx
mov dl, byte [0x8294e0]
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 [0x8294e0]
push ecx
push ebp
push eax
call fcn.0045ced0
add esp, 0x10
xor esi, esi
mov eax, dword [0x82946c]
inc edi
cmp edi, eax
jl 0x45e527
mov eax, dword [ebp*4 + 0x820e44]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x45ebb4
lea edx, [ecx + ecx]
mov ecx, dword [eax + 4]
cmp ecx, edx
jle 0x45ebb4
test bl, bl
jne 0x45ebb4
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 0x45e674
mov eax, dword [ebp*4 + 0x820e44]
mov edi, dword [eax + 4]
test edi, edi
jle 0x45e674
lea eax, [esp + 0x38]
mov bl, byte [edx + 0x10]
test bl, bl
je 0x45e66e
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 0x45e655
test esi, esi
jle 0x45ebba
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 0x45e885
mov edi, dword [0x829478]
mov edx, ecx
sub edx, edi
mov dword [0x81c700], 0
cmp edx, ecx
jne 0x45e6d1
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov eax, dword [0x829478]
mov edx, eax
sub edx, ecx
cmp edx, eax
jne 0x45e6e9
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45e703
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 0x45e717
sub eax, ecx
jmp 0x45e71f
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45e73f
mov edx, eax
or edx, ecx
je 0x45e73f
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45e87f
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45e87f
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x45e7c4
mov ebx, 0x820e44
mov dword [esp + 0x84], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x45e7b0
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45e7b0
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45e7b0
test esi, esi
jle 0x45e7b0
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45e7aa
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45e7a2
mov edx, dword [edx + 4]
dec ebp
jne 0x45e795
mov ecx, dword [esp + 0x84]
add ebx, 4
dec ecx
mov dword [esp + 0x84], ecx
jne 0x45e776
cmp eax, dword [0x8294d8]
je 0x45e7d7
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45e86c
mov eax, dword [0x829464]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45e829
lea edx, [esp + 0x84]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45e81e
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45e81e
cmp dword [eax], 0x29874362
je 0x45e829
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45e86c
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45e861
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45e861
cmp dword [eax], 0xbad0bad
je 0x45e86c
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
jmp 0x45e885
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 0x45eaaf
mov ebx, dword [0x829478]
mov edx, ecx
sub edx, ebx
mov dword [0x81c700], 0
cmp edx, ecx
jne 0x45e8e5
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov eax, dword [0x829478]
mov edx, eax
sub edx, ecx
cmp edx, eax
jne 0x45e8fd
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45e917
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 0x45e92b
sub eax, ecx
jmp 0x45e933
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45e953
mov edx, eax
or edx, ecx
je 0x45e953
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45eaa9
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45eaa9
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
mov byte [0x81c6fc], 1
test ecx, ecx
not eax
jle 0x45e9ee
mov dword [esp + 0x84], 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx]
test ecx, ecx
je 0x45e9ce
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45e9ce
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45e9ce
test esi, esi
jle 0x45e9ce
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45e9c8
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45e9c0
mov edx, dword [edx + 4]
dec ebx
jne 0x45e9b3
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 0x45e98d
mov edi, dword [esp + 0x1c]
cmp eax, dword [0x8294d8]
je 0x45ea01
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45ea96
mov eax, dword [0x829464]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45ea53
lea edx, [esp + 0x84]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45ea48
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45ea48
cmp dword [eax], 0x29874362
je 0x45ea53
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x45ea96
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45ea8b
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x45ea8b
cmp dword [eax], 0xbad0bad
je 0x45ea96
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x820dd0]
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
jmp 0x45eaaf
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 0x45eb83
cmp dword [esi], eax
je 0x45eaf6
mov esi, dword [esi + 4]
inc edx
cmp edx, 0x10
jg 0x45eb83
test esi, esi
jne 0x45eadc
jmp 0x45eb83
test esi, esi
je 0x45eb83
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 0x45eb52
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 0x45eb34
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 0x45eb74
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 0x45e688
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