Function at 0x593f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a503a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], ecx
xor eax, eax
mov dword [ebp - 0x144], eax
push 0x30
push eax
mov dword [ebp - 0x134], eax
mov byte [ecx + 4], al
lea eax, [ebp - 0x110]
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x110], 0
add esp, 0xc
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov word [ebp - 0xe8], ax
mov byte [ebp - 0xe6], al
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], 0xf500fb
mov dword [ebp - 0x28], 0xf200e9
mov dword [ebp - 0x24], 0xbd00f8
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2c], ax
inc ecx
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jb 0x594030
xor ecx, ecx
mov word [ebp + eax*2 - 0x2c], cx
xor eax, eax
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x12c], SysStringLen
lea edx, [ecx + 2]
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x594073
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.004044f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x13c], eax
nop dword [eax]
mov eax, dword [eax]
lea ecx, [ebp - 0x110]
push 0xf003f
push eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0057e150
test al, al
je 0x59450a
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
push eax
movq qword [ebp - 0x44], xmm0
call fcn.0057f200
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
cmp edi, esi
je 0x5944fe
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x94]
call fcn.00404120
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x168], 0xf
mov dword [ebp - 0x164], 0xf000e4
mov dword [ebp - 0x160], 0xeb00d4
mov dword [ebp - 0x15c], 0xd200ce
mov dword [ebp - 0x158], 0xec00dd
mov dword [ebp - 0x154], 0xb300a5
mov dword [ebp - 0x150], 0xa600b4
mov dword [ebp - 0x14c], 0xf600b6
mov dword [ebp - 0x148], 0xc700f4
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x164], ax
inc ecx
mov eax, dword [ebp - 0x168]
cmp ecx, eax
jb 0x594180
xor ecx, ecx
mov word [ebp + eax*2 - 0x164], cx
lea eax, [ebp - 0x128]
push 0x7cd374
push eax
lea eax, [ebp - 0x1c8]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x80], 8
push dword [ebp - 0x84]
cmovae ecx, dword [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0x1a0], 0
xor ecx, ecx
or dword [ebp - 0x134], 4
mov dword [ebp - 0x19c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x594233
sub ecx, edx
lea eax, [ebp - 0x164]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00407c50
or dword [ebp - 0x134], 8
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x6c], eax
xor eax, eax
movq qword [ebp - 0xcc], xmm0
movups xmmword [ebp - 0xdc], xmm1
mov dword [ebp - 0xcc], ecx
movups xmmword [ebp - 0x68], xmm1
mov dword [ebp - 0xc8], 7
movq qword [ebp - 0x58], xmm0
mov word [ebp - 0xdc], ax
lea ecx, [ebp - 0xdc]
call fcn.00404490
lea ecx, [ebp - 0x1b0]
call fcn.00404490
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 8
call fcn.00404490
push 0xf003f
push dword [ebp - 0x144]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e150
test al, al
je 0x5944dc
xor eax, eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x198]
push eax
push 0x7cd378
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 7
mov word [ebp - 0x198], ax
call fcn.004044f0
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e2d0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x9c], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x15c]
call fcn.00404490
lea ecx, [ebp - 0x198]
call fcn.00404490
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xd
call fcn.00404490
cmp dword [ebp - 0x9c], 0
je 0x5944d1
lea eax, [ebp - 0xac]
push eax
call fcn.0058ea60
test al, al
jne 0x5944d1
xorps xmm0, xmm0
push 0xac
movlpd qword [ebp - 0x20], xmm0
call fcn.0076d2e3
mov esi, eax
mov dword [ebp - 0x140], esi
push 0xac
push 0
push esi
mov byte [ebp - 4], 0xe
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
xor ecx, ecx
cmp byte [ebp - 0xe6], cl
mov eax, 0x100
cmovne ecx, eax
lea eax, [ebp - 0xac]
push ecx
push 0
push eax
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0058e5c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
push dword [ebp - 0x140]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0
call fcn.0059ccc0
mov edx, dword [ebp - 0x138]
mov byte [ebp - 4], 0xf
mov ecx, dword [edx + 0x3c]
cmp dword [edx + 0x40], ecx
je 0x59448b
mov esi, dword [ebp - 0x1c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x59447d
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [edx + 0x3c], 8
jmp 0x59449b
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [edx + 0x38]
call fcn.00413880
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x138]
mov byte [eax + 4], 1
mov byte [ebp - 4], 0x10
test esi, esi
je 0x5944ce
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5944ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5944ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0x68]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00404490
add edi, 0x18
cmp edi, esi
jne 0x594110
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00404220
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x13c], eax
cmp eax, ecx
jne 0x5940b0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
push 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x128]
push 0x7cd378
mov dword [ebp - 0x12c], SysStringLen
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e150
test al, al
je 0x594c32
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
push eax
movq qword [ebp - 0x44], xmm0
call fcn.0057f200
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x40]
je 0x594c26
nop word [eax + eax]
push edi
lea ecx, [ebp - 0xac]
call fcn.00404120
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xac]
mov eax, dword [ebp - 0x4c]
push ecx
cmp dword [ebp - 0x48], eax
je 0x5945ec
mov ecx, eax
call fcn.00404120
add dword [ebp - 0x4c], 0x18
jmp 0x5945f5
push eax
lea ecx, [ebp - 0x50]
call fcn.00404950
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
cmp word [eax], 0x2e
je 0x594c0b
mov dword [ebp - 0x7c], 0x13
xor ecx, ecx
mov dword [ebp - 0x78], 0xca00e4
mov dword [ebp - 0x74], 0xde00d2
mov dword [ebp - 0x70], 0xd100d0
mov dword [ebp - 0x6c], 0xf000e2
mov dword [ebp - 0x68], 0xa400b0
mov dword [ebp - 0x64], 0x9f00ac
mov dword [ebp - 0x60], 0xaa00a7
mov dword [ebp - 0x5c], 0xaa00ab
mov dword [ebp - 0x58], 0xa700a9
mov dword [ebp - 0x54], 0xcb00ae
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x78], ax
inc ecx
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
jb 0x594662
xor ecx, ecx
mov word [ebp + eax*2 - 0x78], cx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00421b40
mov ecx, dword [ebp - 0x12c]
add esp, 0xc
mov dword [ebp - 0xe0], ecx
xor ecx, ecx
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xdc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xcc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x14
call fcn.00404490
push 0xf003f
push 0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e150
test al, al
je 0x594c00
xor eax, eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x198]
push eax
push 0x7cd378
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 7
mov word [ebp - 0x198], ax
call fcn.004044f0
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e2d0
mov dword [ebp - 0xb4], 0
xor ecx, ecx
mov dword [ebp - 0xb0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x1c8]
call fcn.00404490
lea ecx, [ebp - 0x198]
call fcn.00404490
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x19
call fcn.00404490
cmp dword [ebp - 0xb4], 0
je 0x594bf5
mov dword [ebp - 0x34], 7
xor ecx, ecx
mov dword [ebp - 0x30], 0x9c009a
mov dword [ebp - 0x2c], 0x99008b
mov dword [ebp - 0x28], 0x98009c
mov dword [ebp - 0x24], 0xbf0094
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x594812
xor ecx, ecx
mov word [ebp + eax*2 - 0x30], cx
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x594832
sub ecx, edx
lea eax, [ebp - 0xc4]
mov edx, dword [ebp - 0xb4]
sar ecx, 1
cmp dword [ebp - 0xb0], 8
cmovae eax, dword [ebp - 0xc4]
cmp edx, ecx
jne 0x594875
push edx
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x594875
mov al, 1
jmp 0x594877
xor al, al
test al, al
jne 0x594bf5
mov dword [ebp - 0x34], 7
xor ecx, ecx
mov dword [ebp - 0x30], 0x9c009a
mov dword [ebp - 0x2c], 0x99008b
mov dword [ebp - 0x28], 0x92009c
mov dword [ebp - 0x24], 0xbf00ed
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x5948a4
xor ecx, ecx
mov word [ebp + eax*2 - 0x30], cx
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5948c4
sub ecx, edx
lea eax, [ebp - 0xc4]
mov edx, dword [ebp - 0xb4]
sar ecx, 1
cmp dword [ebp - 0xb0], 8
cmovae eax, dword [ebp - 0xc4]
cmp edx, ecx
jne 0x594907
push edx
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x594bf5
mov eax, 8
mov dword [ebp - 0x34], 0xc100dd
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov dword [ebp - 0x30], 0xd700ca
mov dword [ebp - 0x2c], 0xcf00d3
mov dword [ebp - 0x28], 0xcd00db
mov dword [ebp - 0x24], 0xc0
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x594934
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
xor eax, eax
mov dword [ebp - 0x1a0], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x19c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1b0], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x594970
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004044f0
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x1b0]
mov esi, dword [ebp - 0x134]
lea ecx, [ebp - 0xc4]
or esi, 1
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x144], esi
call fcn.00405430
test al, al
jne 0x594a32
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 8
mov dword [ebp - 0x90], 0xdc00d1
mov dword [ebp - 0x8c], 0xcb00c2
mov dword [ebp - 0x88], 0xd200d0
mov dword [ebp - 0x84], 0xda00cc
mov dword [ebp - 0x80], 0xc0
call fcn.00403e20
push eax
lea ecx, [ebp - 0x180]
call fcn.004040b0
or esi, 2
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x134], esi
call fcn.00405430
mov byte [ebp - 0x12d], 0
test al, al
je 0x594a39
mov byte [ebp - 0x12d], 1
mov eax, dword [ebp - 0x134]
test al, 2
je 0x594a5d
and eax, 0xfffffffd
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x134], eax
call fcn.00404490
mov eax, dword [ebp - 0x134]
and eax, 0xfffffffe
mov dword [ebp - 4], 0x19
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x134], eax
call fcn.00404490
cmp byte [ebp - 0x12d], 0
jne 0x594bf5
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x15c]
call fcn.0041cd00
mov esi, eax
lea eax, [ebp - 0xc4]
cmp eax, esi
je 0x594ad3
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xc4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xb4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x15c]
call fcn.00404490
lea eax, [ebp - 0xc4]
push eax
call fcn.0058ea60
test al, al
jne 0x594bdc
xorps xmm0, xmm0
push 0xac
movlpd qword [ebp - 0x20], xmm0
call fcn.0076d2e3
mov esi, eax
mov dword [ebp - 0x140], esi
push 0xac
push 0
push esi
mov byte [ebp - 4], 0x1b
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0xc4]
mov ecx, esi
push 0
push 0
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0058e5c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x20]
push dword [ebp - 0x140]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0
call fcn.0059ccc0
mov edx, dword [ebp - 0x138]
mov byte [ebp - 4], 0x1c
mov ecx, dword [edx + 0x3c]
cmp dword [edx + 0x40], ecx
je 0x594b99
mov esi, dword [ebp - 0x1c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x594b8b
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [edx + 0x3c], 8
jmp 0x594ba9
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [edx + 0x38]
call fcn.00413880
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x138]
mov byte [eax + 4], 1
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x594bdc
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x594bdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x594bdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xc4]
call fcn.00404490
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x134], eax
jmp 0x594c00
lea ecx, [ebp - 0xc4]
call fcn.00404490
lea ecx, [ebp - 0xdc]
call fcn.00404490
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x12
call fcn.00404490
add edi, 0x18
cmp edi, dword [ebp - 0x40]
jne 0x5945c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call fcn.00404220
push 0
push 0x7cd378
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x12c], SysStringLen
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e150
test al, al
je 0x595102
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
push eax
movq qword [ebp - 0x2c], xmm0
call fcn.0057f200
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x134], esi
cmp esi, edi
je 0x5950fa
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x94]
call fcn.00404120
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 8
cmovae eax, dword [ebp - 0x94]
cmp word [eax], 0x2e
jne 0x5950da
mov eax, 0x10
mov dword [ebp - 0x74], 0xf600e4
mov dword [ebp - 0x78], eax
mov edx, 0xac
mov dword [ebp - 0x70], 0xde00ca
xor ecx, ecx
mov dword [ebp - 0x6c], 0xea00d2
mov dword [ebp - 0x68], 0xcb00d7
mov dword [ebp - 0x64], 0x9100a8
mov dword [ebp - 0x60], 0xac00b0
mov dword [ebp - 0x5c], 0xac00a3
mov dword [ebp - 0x58], 0xb400a2
mov dword [ebp - 0x54], 0xc8
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x74], ax
inc ecx
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jb 0x594d30
xor ecx, ecx
mov word [ebp + eax*2 - 0x74], cx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00421b40
add esp, 0xc
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x1cc], ecx
xor ecx, ecx
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1c8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1b8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0xf003f
push ecx
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e150
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 0x12d], al
call fcn.00404490
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x1f
call fcn.00404490
cmp byte [ebp - 0x12d], 0
je 0x5950da
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
push eax
movq qword [ebp - 0x44], xmm0
call fcn.0057f440
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x13c], eax
cmp eax, ecx
jne 0x594e36
lea ecx, [ebp - 0x44]
call fcn.00404220
jmp 0x5950da
xor dl, dl
mov byte [ebp - 0x12d], dl
cmp eax, ecx
je 0x594feb
nop word [eax + eax]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00404120
xor eax, eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x198]
call fcn.00404120
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x110]
call fcn.0057e2d0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x15c]
movq qword [ebp - 0x9c], xmm0
call fcn.00404490
lea ecx, [ebp - 0x198]
call fcn.00404490
lea ecx, [ebp - 0x180]
call fcn.00404490
mov edi, dword [ebp - 0x50]
mov esi, edi
cmp esi, dword [ebp - 0x4c]
je 0x594f57
nop dword [eax + eax]
cmp dword [ebp - 0xc8], 8
lea eax, [ebp - 0xdc]
mov ecx, dword [esi + 0x10]
mov edx, esi
cmovae eax, dword [ebp - 0xdc]
cmp dword [esi + 0x14], 8
jb 0x594f31
mov edx, dword [esi]
cmp ecx, dword [ebp - 0xcc]
jne 0x594f48
push ecx
push eax
push edx
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x594f52
add esi, 0x18
cmp esi, dword [ebp - 0x4c]
jne 0x594f10
jmp 0x594f57
cmp esi, dword [ebp - 0x4c]
jne 0x594fa5
mov esi, dword [ebp - 0x4c]
cmp edi, esi
je 0x594fac
nop
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
mov ecx, dword [edi + 0x10]
mov edx, edi
cmovae eax, dword [ebp - 0xac]
cmp dword [edi + 0x14], 8
jb 0x594f81
mov edx, dword [edi]
cmp ecx, dword [ebp - 0x9c]
jne 0x594f98
push ecx
push eax
push edx
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x594fa1
add edi, 0x18
cmp edi, esi
jne 0x594f60
jmp 0x594fac
cmp edi, esi
je 0x594fac
mov byte [ebp - 0x12d], 1
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x22
call fcn.00404490
mov eax, dword [ebp - 0x13c]
add eax, 0x18
mov dword [ebp - 0x13c], eax
cmp eax, dword [ebp - 0x40]
jne 0x594e50
cmp byte [ebp - 0x12d], 0
jne 0x5950c9
xorps xmm0, xmm0
push 0xac
movlpd qword [ebp - 0x20], xmm0
call fcn.0076d2e3
mov esi, eax
mov dword [ebp - 0x140], esi
push 0xac
push 0
push esi
mov byte [ebp - 4], 0x26
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x94]
mov ecx, esi
push 0
push 0
push eax
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0058e5c0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x20]
push dword [ebp - 0x140]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0
call fcn.0059ccc0
mov edi, dword [ebp - 0x138]
mov byte [ebp - 4], 0x27
mov ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], ecx
je 0x59508c
mov esi, dword [ebp - 0x1c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x59507e
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [edi + 0x3c], 8
jmp 0x59509c
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [edi + 0x38]
call fcn.00413880
mov esi, dword [ebp - 0x1c]
mov byte [edi + 4], 1
mov byte [ebp - 4], 0x28
test esi, esi
je 0x5950c9
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5950c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5950c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call fcn.00404220
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1e
call fcn.00404490
add esi, 0x18
mov dword [ebp - 0x134], esi
cmp esi, edi
jne 0x594cb0
lea ecx, [ebp - 0x2c]
call fcn.00404220
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x50]
mov al, byte [eax + 4]
mov byte [ebp - 0x12d], al
call fcn.00404220
lea ecx, [ebp - 0x128]
call fcn.00404490
mov eax, dword [ebp - 0x110]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x595141
push eax
call esi
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0xe8], 0
call fcn.00404490
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x59516a
push ecx
call esi
mov al, byte [ebp - 0x12d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret