Function at 0x45b640
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x8294e8]
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [0x8294f0], ebx
je 0x45c046
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x45c046
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x45b6a7
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45b6ba
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45b6d4
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 0x45b6e8
sub eax, ecx
jmp 0x45b6f0
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45b710
mov edx, ecx
or edx, eax
je 0x45b710
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45c046
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45c046
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
push ebp
push esi
cmp ecx, ebx
push edi
mov byte [0x81c6fc], 1
not eax
jle 0x45b796
mov ebp, 0x820e44
mov dword [esp + 0x14], ecx
jmp 0x45b74b
xor ebx, ebx
mov ecx, dword [ebp]
cmp ecx, ebx
je 0x45b786
mov esi, dword [ecx + 4]
cmp esi, ebx
jle 0x45b786
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
cmp edx, ebx
je 0x45b786
cmp esi, ebx
jle 0x45b786
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45b780
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45b778
mov edx, dword [edx + 4]
dec ebx
jne 0x45b76b
mov ecx, dword [esp + 0x14]
add ebp, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x45b749
xor ebx, ebx
cmp eax, dword [0x8294d8]
je 0x45b7a9
inc dword [0x8294f0]
call fcn.0045dca0
cmp dword [0x8294e8], ebx
je 0x45c03c
mov eax, dword [0x829464]
cmp eax, ebx
je 0x45bbfb
mov dword [esp + 0x18], eax
mov eax, dword [0x81c700]
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x45b97d
mov eax, dword [0x820dd0]
mov esi, dword [0x829478]
mov ecx, eax
mov dword [0x81c700], ebx
sub ecx, esi
cmp ecx, eax
jne 0x45b7ff
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45b812
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45b83c
mov edx, ecx
or edx, eax
je 0x45b83c
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45b97d
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45b97d
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x14], ebx
not esi
jle 0x45b8df
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x45b8c1
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x45b8c1
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x45b8c1
xor ebx, ebx
test ecx, ecx
jle 0x45b8c1
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x45b8b2
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x45b8a8
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x45b896
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x45b873
cmp esi, dword [0x8294d8]
je 0x45b8ec
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45b974
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x45b936
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x45b931
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45b931
cmp dword [eax], 0x29874362
je 0x45b936
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x45b974
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45b96f
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45b96f
cmp dword [eax], 0xbad0bad
je 0x45b974
call fcn.00406630
mov byte [0x81c6fc], 0
xor ebx, ebx
mov eax, dword [0x820dd0]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x829478]
xor eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1a]
and ecx, 0xffff
xor edx, eax
mov eax, dword [ecx*4 + 0x820e44]
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x45bbf0
cmp dword [eax], edx
je 0x45b9cb
mov eax, dword [eax + 4]
inc ecx
cmp ecx, 0x10
jg 0x45bbf0
cmp eax, ebx
jne 0x45b9b1
jmp 0x45bbf0
cmp eax, ebx
je 0x45bbf0
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 esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x14], esi
mov dword [0x829488], eax
jl 0x45ba11
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 0x45bbe4
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x45ba5f
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45ba72
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45ba8c
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 0x45baa0
sub eax, ecx
jmp 0x45baa8
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45bac8
mov edx, eax
or edx, ecx
je 0x45bac8
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45bbe4
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45bbe4
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x45bb45
mov ebp, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x45bb37
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45bb37
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45bb37
test esi, esi
jle 0x45bb37
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45bb31
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45bb29
mov edx, dword [edx + 4]
dec ebx
jne 0x45bb1c
mov ecx, dword [esp + 0x10]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x45bafc
cmp eax, dword [0x8294d8]
je 0x45bb58
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45bbd7
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x45bb9d
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45bb92
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45bb92
cmp dword [eax], 0x29874362
je 0x45bb9d
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x45bbd7
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45bbcc
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45bbcc
cmp dword [eax], 0xbad0bad
je 0x45bbd7
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp esi, ebx
je 0x45bbf0
cmp dword [esi], 0x29874362
je 0x45bbfb
inc dword [0x8294f0]
call fcn.0045dca0
mov edi, dword [0x8294b0]
cmp edi, ebx
je 0x45c03c
mov eax, dword [0x81c700]
mov dword [esp + 0x18], edi
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x45bdc8
mov eax, dword [0x820dd0]
mov esi, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, esi
cmp edx, eax
jne 0x45bc46
call fcn.00406630
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45bc59
call fcn.00406630
mov ecx, 0x83f450
call fcn.004065e0
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45bc83
mov edx, eax
or edx, ecx
je 0x45bc83
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45bdc8
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45bdc8
mov esi, dword [0x829478]
mov dword [0x829468], eax
mov eax, dword [0x8294e8]
mov byte [0x81c6fc], 1
cmp eax, ebx
mov dword [esp + 0x14], ebx
not esi
jle 0x45bd2a
mov dword [esp + 0x10], 0x820e44
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x45bd08
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x45bd08
mov edi, dword [eax]
mov ebp, dword [edi + 0xc]
sar ebp, 2
test edi, edi
je 0x45bd08
xor ebx, ebx
test ecx, ecx
jle 0x45bd08
mov ecx, edi
call fcn.00406620
xor esi, eax
lea eax, [edi + 0x14]
test ebp, ebp
jle 0x45bcf9
mov ecx, ebp
mov edx, dword [eax]
add eax, 4
xor esi, edx
dec ecx
jne 0x45bcef
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
inc ebx
mov edx, dword [ecx]
cmp ebx, dword [edx + 4]
jl 0x45bcdd
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x8294e8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x45bcba
mov edi, dword [esp + 0x18]
cmp esi, dword [0x8294d8]
je 0x45bd37
call fcn.00406630
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45bdbf
mov ecx, 0x829464
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x45bd81
mov ecx, dword [0x829464]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00407b70
add esp, 8
test al, al
je 0x45bd7c
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45bd7c
cmp dword [eax], 0x29874362
je 0x45bd81
call fcn.00406630
mov ecx, 0x8294b0
mov dword [esp + 0x10], esi
call fcn.00406620
test eax, eax
je 0x45bdbf
mov eax, dword [0x8294b0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45bdba
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45bdba
cmp dword [eax], 0xbad0bad
je 0x45bdbf
call fcn.00406630
mov byte [0x81c6fc], 0
xor ebx, ebx
mov edx, dword [0x820dd0]
mov esi, dword [0x829478]
xor edi, edx
mov eax, edi
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1a]
xor eax, esi
and ecx, 0xffff
mov edx, eax
mov eax, dword [ecx*4 + 0x820e44]
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x45c031
cmp dword [eax], edx
je 0x45be17
mov eax, dword [eax + 4]
inc ecx
cmp ecx, 0x10
jg 0x45c031
cmp eax, ebx
jne 0x45bdfd
jmp 0x45c031
cmp eax, ebx
je 0x45c031
mov ecx, dword [eax + 0x14]
mov edx, dword [0x829488]
xor ecx, esi
mov dword [edx*4 + 0x82948c], ecx
mov eax, dword [0x829488]
lea esi, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x14], esi
mov dword [0x829488], eax
jl 0x45be52
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 0x45c025
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x45bea0
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x45beb3
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x45becd
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 0x45bee1
sub eax, ecx
jmp 0x45bee9
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x45bf09
mov edx, eax
or edx, ecx
je 0x45bf09
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x45c025
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x45c025
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x45bf86
mov ebp, 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x45bf78
mov esi, dword [ecx + 4]
test esi, esi
jle 0x45bf78
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x45bf78
test esi, esi
jle 0x45bf78
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x45bf72
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x45bf6a
mov edx, dword [edx + 4]
dec ebx
jne 0x45bf5d
mov ecx, dword [esp + 0x10]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x45bf3d
cmp eax, dword [0x8294d8]
je 0x45bf99
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x45c018
mov eax, dword [0x829464]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x45bfde
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45bfd3
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45bfd3
cmp dword [eax], 0x29874362
je 0x45bfde
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x45c018
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x45c00d
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x45c00d
cmp dword [eax], 0xbad0bad
je 0x45c018
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x14]
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp esi, ebx
je 0x45c031
cmp dword [esi], 0xbad0bad
je 0x45c03c
inc dword [0x8294f0]
call fcn.0045dca0
pop edi
pop esi
mov byte [0x81c6fc], 0
pop ebp
pop ebx
add esp, 0x10
ret