Function at 0x436ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe4
xorps xmm4, xmm4
movups xmmword [ebp - 0x34], xmm4
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xe8], ecx
mov esi, edx
mov edi, dword [ebp + 8]
test edi, edi
je 0x436d1e
cmp dword [ecx + 8], edi
jne 0x436d59
mov eax, dword [ecx + 0x10]
inc eax
je 0x43751e
mov dword [ecx + 0x10], eax
jmp 0x43704b
call fcn.00436990
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x80], eax
test al, 3
jne 0x436d56
lea edx, [eax + 1]
lea ebx, [ecx + 0xc]
lock cmpxchg dword [ebx], edx
mov edx, dword [ebp - 0x80]
cmp eax, edx
je 0x43703f
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ebp + 8]
jmp 0x436d59
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x437512
mov ebx, dword [0x600760]
cmp ebx, 1
je 0x436d85
cmp ebx, 3
je 0x436e0c
call fcn.00436a80
test eax, eax
jne 0x436e0c
mov ebx, 1
push 0
lea ecx, [ebp - 0x78]
mov edx, 4
call fcn.004f4f20
call sub.KERNEL32.dll_Sleep
lea ecx, [ebp - 0x78]
call fcn.004f4f51
mov eax, dword [0x600760]
cmp eax, 3
je 0x436e0c
test eax, eax
je 0x436d78
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x84], eax
test al, 3
jne 0x436deb
mov dword [ebp + 8], edi
lea edx, [eax + 1]
lea edi, [ecx + 0xc]
lock cmpxchg dword [edi], edx
mov edx, dword [ebp - 0x84]
cmp eax, edx
je 0x43703f
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ebp + 8]
test ebx, ebx
sete bl
movzx ebx, bl
test ebx, ebx
jne 0x436d8a
push 1
call fcn.004f6430
cmp dword [0x6035b8], 0
je 0x436da6
jmp 0x437541
mov ecx, dword [ebp - 0xe8]
cmp word [ecx + 0x14], 0x8000
jne 0x436e27
mov eax, 0x600760
movsx eax, word [eax + 6]
mov word [ecx + 0x14], ax
mov eax, 0x600760
movsx ebx, word [eax + 6]
test ebx, ebx
je 0x437079
mov eax, 0x600760
movsx eax, word [eax + 8]
mov dword [ebp - 0x18], eax
movsx edx, word [ecx + 0x14]
mov dword [ebp - 0x1c], edx
test edx, edx
jl 0x437071
mov dword [ebp + 8], edi
xor eax, eax
mov dword [ebp - 0x20], eax
mov edi, dword [ecx + 0xc]
jmp 0x436e68
mov edi, eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x44], 0x80
jb 0x436e96
test byte [ebp - 0x44], 2
jne 0x436f2d
movzx eax, word [ecx + 0x16]
test eax, eax
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0xe8]
jne 0x436eaa
test byte [ebp - 0x44], 1
jne 0x436f0f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x436edd
cmp dword [0x6035b8], 0
jne 0x43754b
call sub.KERNEL32.dll_GetTickCount64
sub eax, dword [ebp - 0x4c]
movzx eax, ax
cmp eax, 0x64
mov ecx, dword [ebp - 0xe8]
jl 0x436e96
mov eax, dword [ebp - 0x44]
add eax, 2
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 2
mov eax, dword [ebp - 0x44]
lea esi, [ecx + 0xc]
mov edx, eax
mov eax, edi
lock cmpxchg dword [esi], edx
cmp eax, edi
jne 0x436e60
mov esi, dword [ebp - 0x48]
cmp esi, 1
jne 0x436f0d
mov eax, 1
test edi, 0x1c
cmovne eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x436f34
test byte [ebp - 0x44], 0x1c
je 0x436f1b
cmp dword [ebp - 0x1c], 0
je 0x436f2d
lea ecx, [ebp - 0x44]
call fcn.0047b120
test eax, eax
mov ecx, dword [ebp - 0xe8]
jne 0x436edd
mov edi, 2
mov esi, edi
cmp esi, 1
jne 0x437022
cmp dword [ebp - 0x20], 0
mov edx, ebx
cmove edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
xor esi, esi
push 0
mov ecx, esi
mov edx, 0xa
call fcn.0043ae70
inc esi
movsx esi, si
cmp esi, dword [ebp - 0x1c]
jge 0x436faf
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0xc]
jmp 0x436f70
mov edx, eax
test al, 3
je 0x436f7f
test al, 2
jne 0x436f9d
mov edx, 1
jmp 0x436fa2
lea edx, [eax - 3]
lea edi, [ecx + 0xc]
mov dword [ebp - 0x88], eax
lock cmpxchg dword [edi], edx
mov edx, dword [ebp - 0x88]
cmp eax, edx
jne 0x436f6e
xor edx, edx
jmp 0x436fa2
mov edx, 2
cmp edx, 1
je 0x436f4c
test edx, edx
je 0x437052
mov ecx, dword [ebp - 0xe8]
lea edx, [ecx + 0xc]
mov edi, 0xfffffffc
mov esi, edi
lock xadd dword [edx], esi
add esi, 0xfffffffc
jmp 0x436fd2
mov esi, eax
test esi, 1
jne 0x436fee
lea edx, [esi + 1]
lea edi, [ecx + 0xc]
mov eax, esi
lock cmpxchg dword [edi], edx
cmp eax, esi
jne 0x436fd0
xor esi, esi
jmp 0x436ff3
mov esi, 2
cmp dword [ebp - 0x20], 0
je 0x437022
mov edi, dword [ebp - 0x18]
test edi, edi
jg 0x437022
movsx eax, word [ecx + 0x14]
test esi, esi
je 0x437019
lea edx, [eax - 1]
movsx edx, dx
test eax, eax
cmovle edx, edi
mov word [ecx + 0x14], dx
jmp 0x437022
cmp eax, ebx
jge 0x437022
inc eax
mov word [ecx + 0x14], ax
cmp esi, 2
jne 0x43703f
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ebp + 8]
jmp 0x437079
lea edx, [esi + 1]
mov ecx, dword [ebp - 0xe8]
mov word [ecx + 0x14], dx
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ebp + 8]
mov dword [ecx + 8], edi
mov eax, edi
jmp 0x437514
cmp dword [ebp - 0x20], 0
je 0x43703f
mov esi, dword [ebp - 0x18]
test esi, esi
jg 0x43703f
mov ecx, dword [ebp - 0xe8]
movsx eax, word [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jge 0x43703f
jmp 0x437032
mov edx, dword [ebp - 0x1c]
inc edx
mov word [ecx + 0x14], dx
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4370a0
xor edx, edx
call fcn.004375a0
mov dword [ebp + 8], edi
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov edx, dword [ecx + 0xc]
xor edi, edi
mov dword [ebp - 0x50], edi
jmp 0x4370a9
mov dword [ebp + 8], edi
jmp 0x437090
mov edi, eax
mov edx, edi
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x54], edx
test byte [ebp - 0x54], 3
je 0x4370f5
lea ecx, [ebp - 0x54]
call fcn.0047b140
test eax, eax
je 0x437555
mov edi, dword [ebp - 0x8c]
cmp edi, 0x80
jae 0x437104
mov edx, dword [ebp - 0x50]
test edx, edx
mov dword [ebp - 0x50], edx
jne 0x437104
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0xe8]
mov word [ecx + 0x16], 0
jmp 0x437104
mov edx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x54]
inc edi
mov dword [ebp - 0x54], edi
mov edi, edx
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xe8]
lea esi, [ecx + 0xc]
mov eax, edi
lock cmpxchg dword [esi], edx
cmp eax, edi
jne 0x4370a5
test edi, 3
mov dword [ebp - 0x14], ebx
je 0x43703f
mov eax, dword [ebp - 0x50]
cmp edi, 0x80
setb dl
movzx edx, dl
or eax, edx
je 0x437166
call sub.KERNEL32.dll_GetTickCount64
movzx edi, ax
cmp dword [0x6035b8], 0
jne 0x43755b
lea ecx, [edi - 1]
movzx ecx, cx
test edi, edi
cmove edi, ecx
mov ecx, dword [ebp - 0xe8]
mov word [ecx + 0x16], di
mov edi, 0x600760
add edi, 0x10
mov eax, edi
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], eax
mov esi, edx
add esi, 1
mov ebx, eax
adc ebx, 0
push ebx
push esi
push eax
push edx
mov ecx, edi
call fcn.004f6410
mov esi, dword [ebp - 0x98]
xor eax, esi
mov esi, dword [ebp - 0x9c]
xor edx, esi
or eax, edx
jne 0x43716e
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x28], esi
call fcn.004f2ec7
mov edi, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0xf0], edi
mov dword [edi + 4], eax
test esi, esi
jge 0x4371ee
xor eax, eax
jmp 0x437205
call sub.KERNEL32.dll_GetTickCount64
mov edi, eax
cmp dword [0x6035b8], 0
je 0x43720f
call fcn.004f4751
mov eax, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], esi
mov edx, esi
jmp 0x43721e
mov eax, edi
jmp 0x437205
mov ecx, esi
sub ecx, eax
mov eax, ecx
mov dword [ebp - 0x10], esi
mov edx, eax
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ecx + 0xc]
test edi, 0x40
setne al
movzx eax, al
push eax
push 0
push 0
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x3c], edx
cmp dword [ecx], ecx
call fcn.0043f940
test eax, eax
je 0x4374d9
xor edi, edi
cmp dword [ebp - 0x14], 0
jle 0x437265
xor eax, eax
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx + 0xc]
jmp 0x437272
mov ebx, dword [ebp - 0x14]
jmp 0x437363
mov edx, eax
mov eax, dword [ebp - 0x58]
test dl, 1
jne 0x43734a
mov dword [ebp - 0x90], edx
lea esi, [edx - 0x9f]
test esi, 2
mov edx, dword [ebp - 0x90]
je 0x4372cf
add esi, 0xfffffffe
cmp esi, 0x80
jb 0x4372ca
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x4372ee
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x58], 1
call sub.KERNEL32.dll_GetTickCount64
movzx eax, ax
cmp dword [0x6035b8], 0
je 0x4372d4
jmp 0x43749b
mov dword [ebp - 0x58], eax
jmp 0x4372ee
mov dword [ebp - 0x58], eax
jmp 0x4372ee
test eax, eax
jne 0x4372de
dec eax
movzx eax, ax
mov edx, eax
mov ecx, dword [ebp - 0xe8]
mov word [ecx + 0x16], ax
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xe8]
lea ebx, [ecx + 0xc]
mov eax, edx
lock cmpxchg dword [ebx], esi
cmp eax, edx
jne 0x43726d
cmp esi, 0x80
jb 0x437455
cmp dword [ebp - 0x58], 0
jne 0x437455
call sub.KERNEL32.dll_GetTickCount64
movzx ebx, ax
cmp dword [0x6035b8], 0
jne 0x4374ab
lea ecx, [ebx - 1]
movzx ecx, cx
test ebx, ebx
cmove ebx, ecx
mov ecx, dword [ebp - 0xe8]
mov word [ecx + 0x16], bx
jmp 0x437455
push 0
mov ecx, edi
mov edx, 0xa
call fcn.0043ae70
inc edi
movsx edi, di
mov ebx, dword [ebp - 0x14]
cmp edi, ebx
jl 0x43737e
mov ecx, dword [ebp - 0xe8]
lea eax, [ecx + 0xc]
mov edx, 0xffffffe0
mov edi, edx
lock xadd dword [eax], edi
add edi, 0xffffffe0
xor eax, eax
jmp 0x43738b
mov dword [ebp - 0x14], ebx
jmp 0x437258
mov edi, eax
mov eax, dword [ebp - 0x60]
test edi, 1
jne 0x437469
lea edx, [edi - 0x7f]
test dl, 2
je 0x4373e7
add edx, 0xfffffffe
mov dword [ebp - 0x94], edx
cmp edx, 0x80
jb 0x4373dc
test eax, eax
mov dword [ebp - 0x60], eax
jne 0x4373d4
mov dword [ebp - 0x60], 1
call sub.KERNEL32.dll_GetTickCount64
movzx eax, ax
cmp dword [0x6035b8], 0
je 0x4373ec
jmp 0x4374b5
mov edx, dword [ebp - 0x94]
jmp 0x437406
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x94]
jmp 0x437406
mov dword [ebp - 0x60], eax
jmp 0x437406
test eax, eax
jne 0x4373f6
dec eax
movzx eax, ax
mov edx, eax
mov ecx, dword [ebp - 0xe8]
mov word [ecx + 0x16], ax
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xe8]
lea esi, [ecx + 0xc]
mov eax, edi
lock cmpxchg dword [esi], edx
cmp eax, edi
jne 0x437386
cmp edx, 0x80
jb 0x437455
cmp dword [ebp - 0x60], 0
jne 0x437455
call sub.KERNEL32.dll_GetTickCount64
movzx esi, ax
cmp dword [0x6035b8], 0
jne 0x4374c5
lea eax, [esi - 1]
movzx eax, ax
test esi, esi
cmove esi, eax
mov ecx, dword [ebp - 0xe8]
mov word [ecx + 0x16], si
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ebp + 8]
mov dword [ecx + 8], edi
mov dword [ebp - 0x7c], edi
jmp 0x4374f5
mov eax, dword [ebp - 0x3c]
test eax, eax
mov dword [ebp - 0x14], ebx
mov edx, eax
jl 0x43721e
call sub.KERNEL32.dll_GetTickCount64
mov edi, dword [ebp - 0x38]
sub eax, edi
mov dword [ebp - 0x40], eax
cmp dword [0x6035b8], 0
jne 0x4374cf
mov esi, dword [ebp - 0x10]
cmp eax, esi
jae 0x4374d9
jmp 0x437213
mov dword [ebp - 0x5c], eax
call fcn.004f4751
mov eax, dword [ebp - 0x5c]
jmp 0x4372d4
call fcn.004f4751
jmp 0x437330
mov dword [ebp - 0x64], eax
call fcn.004f4751
mov eax, dword [ebp - 0x64]
jmp 0x4373ec
call fcn.004f4751
jmp 0x437440
call fcn.004f4751
mov eax, dword [ebp - 0x40]
jmp 0x43748f
cmp dword [ebp - 0x34], 0
je 0x4374fe
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0xf0]
mov dword [edi + 4], ecx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
jmp 0x4374fe
mov ecx, esp
call fcn.00437565
jmp 0x43750d
mov ecx, dword [ebp - 0xe8]
call fcn.0047b160
xor eax, eax
jmp 0x437514
mov eax, dword [ebp - 0x7c]
jmp 0x437514
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ecx, 0x62ee28
call fcn.004f3f00
mov esi, eax
mov ecx, esi
call fcn.00415710
mov ecx, 0x61cad0
mov dword [esi + 4], ecx
mov ecx, esi
call fcn.004f44bb
int3
call fcn.004f4751
jmp 0x436da6
call fcn.004f4751
jmp 0x436eb7
call fcn.00426000
int3
call fcn.004f4751
jmp 0x437151