Function at 0x414350
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.0045c0b0
add esp, 4
test eax, eax
jne 0x414364
xor al, al
ret
mov ecx, dword [0x829478]
push esi
push 1
lea esi, [eax + 0x14]
push ecx
push 4
push esi
call fcn.0045cc80
mov edx, dword [esp + 0x1c]
push 1
push 4
push edx
push esi
call fcn.0045cb20
push 0
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 0x24
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x414a3a
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], 0
sub edx, ecx
cmp edx, eax
jne 0x4143db
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x4143ee
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x414408
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 0x41441c
sub eax, ecx
jmp 0x414424
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x414444
mov edx, ecx
or edx, eax
je 0x414444
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x414a3a
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x414a3a
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
push ebx
push ebp
push edi
test ecx, ecx
mov byte [0x81c6fc], 1
not eax
jle 0x4144c3
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x4144b5
mov esi, dword [ecx + 4]
test esi, esi
jle 0x4144b5
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x4144b5
test esi, esi
jle 0x4144b5
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x4144af
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x4144a7
mov edx, dword [edx + 4]
dec ebp
jne 0x41449a
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x41447b
cmp eax, dword [0x8294d8]
je 0x4144d6
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x414a30
mov eax, dword [0x829464]
cmp eax, edi
je 0x414774
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x414769
push edi
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 [esp + 0x18], esi
mov dword [0x829488], eax
jl 0x414540
mov dword [0x829488], edi
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x41475b
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x41458e
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x4145a1
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x4145bb
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 0x4145cf
sub eax, ecx
jmp 0x4145d7
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x4145f7
mov edx, ecx
or edx, eax
je 0x4145f7
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x41475b
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x41475b
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x414673
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x414665
mov esi, dword [ecx + 4]
test esi, esi
jle 0x414665
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x414665
test esi, esi
jle 0x414665
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x41465f
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x414657
mov edx, dword [edx + 4]
dec ebp
jne 0x41464a
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x41462b
cmp eax, dword [0x8294d8]
je 0x414686
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x414750
mov eax, dword [0x829464]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x414716
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, esi
je 0x41470b
mov edx, dword [0x829488]
push esi
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 ecx, [eax*4 + 0x82948c]
inc eax
cmp eax, 8
mov dword [esp + 0x14], ecx
mov dword [0x829488], eax
jl 0x4146ed
mov dword [0x829488], esi
push esi
call fcn.0045d120
add esp, 4
call fcn.004059e0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41470b
cmp dword [eax], 0x29874362
je 0x414716
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x414750
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x414745
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x414745
cmp dword [eax], 0xbad0bad
je 0x414750
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
xor edi, edi
cmp esi, edi
je 0x414769
cmp dword [esi], 0x29874362
je 0x414774
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, edi
je 0x414a30
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x414a25
push edi
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 [esp + 0x18], esi
mov dword [0x829488], eax
jl 0x4147cf
mov dword [0x829488], edi
push edi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x414a19
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], edi
sub edx, ecx
cmp edx, eax
jne 0x41481d
inc dword [0x8294f0]
call fcn.0045dca0
mov ecx, dword [0x829478]
mov eax, dword [0x820dd0]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x414830
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x41484a
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 0x41485e
sub eax, ecx
jmp 0x414866
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x414886
mov edx, eax
or edx, ecx
je 0x414886
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x414a19
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x414a19
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, edi
mov byte [0x81c6fc], 1
not eax
jle 0x414902
mov ebx, 0x820e44
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x4148f4
mov esi, dword [ecx + 4]
test esi, esi
jle 0x4148f4
mov edx, dword [ecx]
mov edi, dword [edx + 0xc]
sar edi, 2
test edx, edx
je 0x4148f4
test esi, esi
jle 0x4148f4
mov ebp, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test edi, edi
jle 0x4148ee
mov esi, edi
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x4148e6
mov edx, dword [edx + 4]
dec ebp
jne 0x4148d9
mov ecx, dword [esp + 0x14]
add ebx, 4
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4148ba
cmp eax, dword [0x8294d8]
je 0x414915
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor edi, edi
cmp eax, edi
je 0x414a0e
mov eax, dword [0x829464]
cmp eax, edi
je 0x414999
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x41498e
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 0x414974
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x41498e
cmp dword [esi], 0x29874362
je 0x414999
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
cmp eax, edi
je 0x414a0e
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, edi
je 0x414a03
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 0x4149e9
mov dword [0x829488], edi
push edi
call fcn.0045d120
add esp, 4
call fcn.004059e0
cmp esi, edi
je 0x414a03
cmp dword [esi], 0xbad0bad
je 0x414a0e
inc dword [0x8294f0]
call fcn.0045dca0
mov esi, dword [esp + 0x18]
mov byte [0x81c6fc], 0
test esi, esi
je 0x414a25
cmp dword [esi], 0xbad0bad
je 0x414a30
inc dword [0x8294f0]
call fcn.0045dca0
pop edi
pop ebp
mov byte [0x81c6fc], 0
pop ebx
mov al, 1
pop esi
ret