Function at 0x4183f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e5ae
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x11c], 0
call fcn.00418e90
mov ecx, eax
test ecx, ecx
je 0x418d65
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 0x11c], 1
mov eax, 0xc003
mov word [ebp - 0x34], ax
mov ecx, 0xc037
mov eax, 0xc017
mov dword [ebp - 4], 0
mov word [ebp - 0x32], ax
xor edi, edi
mov eax, 0xc018
mov ebx, 0xf
mov word [ebp - 0x30], ax
mov eax, 0xc007
mov word [ebp - 0x2e], ax
mov eax, 0xc02d
mov word [ebp - 0x2c], cx
mov word [ebp - 0x2a], ax
mov eax, 0xc035
mov word [ebp - 0x28], ax
mov eax, 0xc020
mov word [ebp - 0x26], ax
mov eax, 0xc022
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], ax
mov eax, 0xc016
mov word [ebp - 0x20], ax
mov eax, 0xc00c
mov word [ebp - 0x1e], ax
mov eax, 0xc00b
mov word [ebp - 0x1c], ax
mov eax, 0xc011
mov word [ebp - 0x1a], ax
mov eax, 0xc00e
mov word [ebp - 0x18], ax
mov eax, 0xc008
mov word [ebp - 0x16], ax
mov eax, 0xc060
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x34]
mov ax, word [ebp + edi*2 - 0x34]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x65d0c05c
mov edx, 0xacb2f5bf
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi - 0x3fa4]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x34], ax
inc edi
cmp edi, 0x11
jb 0x418507
push 0x5726b4
push str.Setup_Path
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x120]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.0045f580
add esp, 0x14
mov ebx, dword [ebp - 0x114]
or esi, 0xffffffff
mov ecx, dword [eax]
mov dword [ebp - 4], 1
mov edi, dword [ebx]
lea edx, [ecx - 0x10]
sub edi, 0x10
cmp edx, edi
je 0x4185ce
cmp dword [edi + 0xc], 0
jl 0x4185c3
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4185c3
push edx
call fcn.004112a0
add esp, 4
mov dword [ebp - 0x110], eax
mov ecx, esi
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4185bc
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x110]
add eax, 0x10
mov dword [ebx], eax
jmp 0x4185ce
push dword [ecx - 0xc]
push ecx
mov ecx, ebx
call fcn.0041f4a0
mov edx, dword [ebp - 0x120]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4185ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x418d47
mov eax, 0x58a3
mov esi, 0x5964
mov word [ebp - 0x10c], ax
mov ecx, 0x5967
mov eax, 0x58bd
mov edx, 0x5966
mov word [ebp - 0x10a], ax
mov edi, 0x5976
mov eax, 0x58b0
mov word [ebp - 0x108], ax
mov eax, 0x58ae
mov word [ebp - 0x106], ax
mov eax, 0x5958
mov word [ebp - 0x104], ax
mov eax, 0x5949
mov word [ebp - 0x102], ax
mov eax, 0x595d
mov word [ebp - 0x100], ax
mov eax, 0x5946
mov word [ebp - 0xfe], ax
mov eax, 0x595c
mov word [ebp - 0xfc], ax
mov eax, 0x594e
mov word [ebp - 0xfa], ax
mov eax, 0x5962
mov word [ebp - 0xf8], si
mov word [ebp - 0xf6], ax
mov eax, 0x5971
mov word [ebp - 0xf4], ax
mov eax, 0x5975
mov word [ebp - 0xf2], cx
mov word [ebp - 0xf0], ax
mov eax, 0x596d
mov word [ebp - 0xee], ax
mov eax, 0x595a
mov word [ebp - 0xec], dx
mov word [ebp - 0xea], di
mov word [ebp - 0xe8], ax
mov eax, 0x595d
mov word [ebp - 0xe6], ax
mov eax, 0x597b
mov word [ebp - 0xe4], di
mov word [ebp - 0xe2], di
mov edi, 0x5952
mov word [ebp - 0xe0], ax
mov eax, 0x597c
mov word [ebp - 0xde], ax
mov eax, 0x5960
mov word [ebp - 0xdc], cx
mov ecx, 0x597f
mov word [ebp - 0xda], ax
mov eax, 0x5941
mov word [ebp - 0xd8], ax
mov eax, 0x596a
mov word [ebp - 0xd6], di
mov word [ebp - 0xd4], dx
mov word [ebp - 0xd2], ax
mov eax, 0x5977
mov word [ebp - 0xd0], si
mov esi, 0x594e
mov word [ebp - 0xce], ax
mov eax, 0x597e
mov word [ebp - 0xcc], ax
mov eax, 0x595d
mov word [ebp - 0xca], dx
mov edx, 0x5940
mov word [ebp - 0xc8], dx
mov word [ebp - 0xc6], cx
mov word [ebp - 0xc4], ax
mov eax, 0x595b
mov word [ebp - 0xc2], ax
mov eax, 0x5946
mov word [ebp - 0xc0], ax
mov eax, 0x594c
mov word [ebp - 0xbe], ax
mov eax, 0x596c
mov word [ebp - 0xbc], si
mov word [ebp - 0xba], cx
mov word [ebp - 0xb8], ax
mov eax, 0x5951
mov word [ebp - 0xb6], ax
mov eax, 0x5953
mov ecx, 0x5976
mov word [ebp - 0xb4], ax
mov ebx, 0xf
mov eax, 0x5908
mov word [ebp - 0xb2], ax
mov eax, 0x5943
mov word [ebp - 0xb0], cx
mov word [ebp - 0xae], ax
mov eax, 0x5954
mov word [ebp - 0xac], ax
mov eax, 0x594a
mov word [ebp - 0xaa], ax
mov eax, 0x5955
mov word [ebp - 0xa8], ax
mov eax, 0x590c
mov word [ebp - 0xa6], cx
mov word [ebp - 0xa4], ax
mov eax, 0x590e
mov word [ebp - 0xa2], ax
mov eax, 0x590f
mov word [ebp - 0xa0], ax
mov eax, 0x5944
mov word [ebp - 0x9e], ax
mov eax, 0x594d
mov word [ebp - 0x9c], dx
mov word [ebp - 0x9a], di
xor edi, edi
mov word [ebp - 0x98], ax
mov eax, 0x5941
mov word [ebp - 0x96], ax
mov eax, 0x591d
mov word [ebp - 0x94], ax
mov eax, 0x595d
mov word [ebp - 0x92], ax
mov eax, 0x5957
mov word [ebp - 0x90], si
mov word [ebp - 0x8e], ax
mov eax, 0x5930
mov word [ebp - 0x8c], ax
mov ax, word [ebp - 0x10c]
nop
mov ax, word [ebp + edi*2 - 0x10c]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xd9f58fc
mov edx, 0x9c1b6b64
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi + 0x58fc]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x10c], ax
inc edi
cmp edi, 0x41
jb 0x4188e0
push 0x5726b4
push str.Path
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x124]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.0045f580
add esp, 0x14
mov ebx, dword [ebp - 0x114]
mov ecx, dword [eax]
mov dword [ebp - 4], 2
mov esi, dword [ebx]
lea edx, [ecx - 0x10]
sub esi, 0x10
cmp edx, esi
je 0x4189ae
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4189a3
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4189a3
push edx
call fcn.004112a0
add esp, 4
mov dword [ebp - 0x110], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41899c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x110]
add eax, 0x10
mov dword [ebx], eax
jmp 0x4189ae
push dword [ecx - 0xc]
push ecx
mov ecx, ebx
call fcn.0041f4a0
mov edx, dword [ebp - 0x124]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4189d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x418d47
mov eax, 0x8da3
mov ecx, 0x8d99
mov word [ebp - 0x88], ax
xor edi, edi
mov eax, 0x8d91
mov ebx, 0xf
mov word [ebp - 0x86], ax
mov eax, 0x8d8f
mov word [ebp - 0x84], cx
mov word [ebp - 0x82], ax
mov eax, 0x8d82
mov word [ebp - 0x80], ax
mov eax, 0x8d9b
mov word [ebp - 0x7e], ax
mov eax, 0x8d85
mov word [ebp - 0x7c], ax
mov eax, 0x8d96
mov word [ebp - 0x7a], ax
mov eax, 0x8dae
mov word [ebp - 0x78], ax
mov eax, 0x8db0
mov word [ebp - 0x76], ax
mov eax, 0x8dba
mov word [ebp - 0x74], ax
mov eax, 0x8da5
mov word [ebp - 0x72], ax
mov eax, 0x8dbb
mov word [ebp - 0x70], ax
mov eax, 0x8d9a
mov word [ebp - 0x6e], ax
mov eax, 0x8d95
mov word [ebp - 0x6c], cx
mov word [ebp - 0x6a], ax
mov eax, 0x8e4d
mov word [ebp - 0x68], ax
mov eax, 0x8e6f
mov word [ebp - 0x66], ax
mov eax, 0x8e7c
mov word [ebp - 0x64], ax
mov eax, 0x8e7f
mov word [ebp - 0x62], ax
mov eax, 0x8e60
mov word [ebp - 0x60], ax
mov eax, 0x8e78
mov word [ebp - 0x5e], ax
mov eax, 0x8e07
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x88]
mov ax, word [ebp + edi*2 - 0x88]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x41f18df0
mov edx, 0xfa60d45a
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi - 0x7210]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x88], ax
inc edi
cmp edi, 0x17
jb 0x418ac0
push 0x5726b4
push str.Setup_Path
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x118]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.0045f580
add esp, 0x14
mov ebx, dword [ebp - 0x114]
mov ecx, dword [eax]
mov dword [ebp - 4], 3
mov esi, dword [ebx]
lea edx, [ecx - 0x10]
sub esi, 0x10
cmp edx, esi
je 0x418b8e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x418b83
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x418b83
push edx
call fcn.004112a0
add esp, 4
mov dword [ebp - 0x110], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x418b7c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x110]
add eax, 0x10
mov dword [ebx], eax
jmp 0x418b8e
push dword [ecx - 0xc]
push ecx
mov ecx, ebx
call fcn.0041f4a0
mov edx, dword [ebp - 0x118]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418bb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x418d47
mov eax, 0xc003
mov ecx, 0xc037
mov word [ebp - 0x58], ax
xor esi, esi
mov word [ebp - 0x56], cx
mov eax, 0xc038
mov word [ebp - 0x54], ax
mov ebx, 0xf
mov eax, 0xc027
mov word [ebp - 0x52], ax
mov eax, 0xc017
mov word [ebp - 0x50], ax
mov eax, 0xc00d
mov word [ebp - 0x4e], ax
mov eax, 0xc015
mov word [ebp - 0x4c], ax
mov eax, 0xc000
mov word [ebp - 0x4a], ax
mov eax, 0xc022
mov word [ebp - 0x48], cx
mov word [ebp - 0x46], ax
mov eax, 0xc007
mov word [ebp - 0x44], ax
mov eax, 0xc01b
mov word [ebp - 0x42], ax
mov eax, 0xc026
mov word [ebp - 0x40], ax
mov eax, 0xc00b
mov word [ebp - 0x3e], ax
mov eax, 0xc012
mov word [ebp - 0x3c], ax
mov eax, 0xc004
mov word [ebp - 0x3a], ax
mov eax, 0xc060
mov word [ebp - 0x38], ax
mov ax, word [ebp - 0x58]
nop dword [eax + eax]
mov ax, word [ebp + esi*2 - 0x58]
mov ecx, esi
and ecx, ebx
movzx edi, ax
cmp ecx, ebx
mov eax, 0x65d0c05c
mov edx, 0xacb2f5bf
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [esi - 0x3fa4]
xor ax, cx
xor ax, di
mov word [ebp + esi*2 - 0x58], ax
inc esi
cmp esi, 0x11
jb 0x418c60
push 0x5726b4
push str.Setup_Path
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x128]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.0045f580
add esp, 0x14
mov ebx, dword [ebp - 0x114]
mov ecx, dword [eax]
mov dword [ebp - 4], 4
mov esi, dword [ebx]
lea edx, [ecx - 0x10]
sub esi, 0x10
cmp edx, esi
je 0x418d25
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x418d1a
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x418d1a
push edx
call fcn.004112a0
add esp, 4
mov dword [ebp - 0x118], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x418d13
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x118]
add eax, 0x10
mov dword [ebx], eax
jmp 0x418d25
push dword [ecx - 0xc]
push ecx
mov ecx, ebx
call fcn.0041f4a0
mov esi, dword [ebp - 0x128]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418d47
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c10d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410d90
int3