Function at 0x402ba0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593269
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x668
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x664], ecx
mov dword [ebp - 0x65c], ecx
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x674], ecx
mov dword [ecx], 0
mov dword [ebp - 0x658], edi
mov dword [ebp - 0x654], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov ecx, edx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x668], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c50
sub ecx, dword [ebp - 0x668]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403d10
push 0x100
lea ecx, [ebp - 0x24a]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44a]
push 0x100
push ecx
push 0x100
lea ecx, [ebp - 0x64a]
push ecx
push 3
lea ecx, [ebp - 0x650]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea ecx, [ebp - 0x24a]
add esp, 0x24
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402cc0
sub ecx, edx
sar ecx, 1
jne 0x402d73
mov ecx, dword [ebp - 0x1c]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 4
jb 0x403147
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 4
cmovae eax, dword [ebp - 0x2c]
push str..lng
push ecx
push eax
push ecx
push dword [ebp - 0x674]
lea ecx, [ebp - 0x44]
call fcn.00403e90
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x402d45
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030b2
push ecx
push edx
call fcn.0052d747
add esp, 8
movups xmm0, xmmword [ebp - 0x44]
xor eax, eax
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call fcn.00403990
push 0x3c
call fcn.0052d778
add esp, 4
mov ecx, eax
mov dword [ebp - 0x65c], ecx
test esi, esi
jne 0x402e4e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push 1
push dword [ebp - 0x654]
cmovae eax, dword [ebp - 0x2c]
push eax
push edi
call fcn.004cb9c0
mov esi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x66c], esi
mov edi, dword [esi + 0x38]
test edi, edi
je 0x402dfa
cmp dword [edi + 4], 0
jne 0x402e77
mov dword [esi], vtable.MyBinaryRead.0
mov eax, dword [edi + 4]
test eax, eax
je 0x402de6
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
push 8
push edi
call fcn.0052d747
add esp, 8
mov dword [esi + 0x38], 0
jmp 0x402e00
mov dword [esi], vtable.MyBinaryRead.0
mov ecx, esi
call fcn.00407810
push 0x3c
push esi
call fcn.0052d747
push 0x3c
call fcn.0052d778
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x65c], ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push 0
push dword [ebp - 0x654]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x658]
call fcn.004cb9c0
mov esi, eax
mov dword [ebp - 0x66c], esi
jmp 0x402e73
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push esi
push dword [ebp - 0x654]
cmovae eax, dword [ebp - 0x2c]
push eax
push edi
call fcn.004cb9c0
mov esi, eax
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4030c4
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4030c4
mov ecx, dword [ecx]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x654], ecx
mov dword [ebp - 0x670], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 5
test ecx, ecx
je 0x402ed8
push ecx
push ecx
lea ecx, [ebp - 0x38]
call fcn.004040e0
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x654]
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x670], edi
push ecx
mov ecx, dword [ebp - 0x664]
lea ecx, [ecx + 4]
call fcn.00403630
mov eax, dword [ebp - 0x654]
test eax, eax
jle 0x402f26
mov edx, edi
mov ecx, 4
sub ecx, edx
mov edi, eax
mov dword [ebp - 0x658], ecx
mov ecx, esi
call fcn.00402b90
mov ecx, dword [ebp - 0x658]
add eax, edx
mov ax, word [eax + ecx]
mov word [edx], ax
add edx, 2
sub edi, 1
jne 0x402f02
mov eax, dword [ebp - 0x654]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x402f32
mov ecx, dword [ecx + 4]
jmp 0x402f34
xor ecx, ecx
cmp dword [0x5e45d4], 0
lea edi, [eax + 2]
lea edi, [ecx + edi*2]
jne 0x402ffa
mov edx, dword [esi + 0x34]
add eax, eax
sub edx, eax
xor ecx, ecx
add edx, 0xfffffffc
mov dword [ebp - 0x660], edx
je 0x402ff4
cmp edx, 0x40
jb 0x402fe0
mov eax, edx
and eax, 0xffffffc0
mov dword [ebp - 0x658], eax
movsx eax, byte [0x5e45bc]
movd xmm0, eax
lea eax, [edi + 0x20]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x40
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x30]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, dword [ebp - 0x658]
jb 0x402f90
cmp ecx, edx
jae 0x402ff4
nop word [eax + eax]
mov dl, byte [0x5e45bc]
lea eax, [ecx + edi]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp - 0x660]
jb 0x402fe0
mov eax, dword [ebp - 0x654]
mov dword [ebp - 0x658], 0
test eax, eax
jle 0x403083
mov esi, dword [ebp - 0x670]
xor edx, edx
mov dword [ebp - 0x660], edx
nop word [eax + eax]
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0x65c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403030
sub ecx, dword [ebp - 0x65c]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x664]
push edi
mov ecx, dword [ecx + 4]
add ecx, edx
call fcn.004039f0
mov edx, dword [ebp - 0x658]
add dword [ebp - 0x660], 0x18
movzx eax, word [esi + edx*2]
inc edx
add edi, eax
mov dword [ebp - 0x658], edx
cmp edx, dword [ebp - 0x654]
mov edx, dword [ebp - 0x660]
jl 0x403020
mov esi, dword [ebp - 0x66c]
mov ecx, dword [ebp - 0x670]
test ecx, ecx
je 0x4030d0
mov edx, dword [ebp - 0x668]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffe
cmp edx, 0x1000
jb 0x4030b8
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4030b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0052d747
add esp, 8
jmp 0x4030d0
mov eax, dword [ebp - 0x664]
mov dword [eax], 0xffffffff
mov edi, dword [esi + 0x38]
mov dword [esi], vtable.MyBinaryRead.0
test edi, edi
je 0x403107
mov eax, dword [edi + 4]
test eax, eax
je 0x4030f5
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
push 8
push edi
call fcn.0052d747
add esp, 8
mov dword [esi + 0x38], 0
mov ecx, esi
call fcn.00407810
push 0x3c
push esi
call fcn.0052d747
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00403990
mov eax, dword [ebp - 0x664]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00402990
int3