Function at 0x430326
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
mov eax, 0x4e5219
call fcn.004afe60
sub esp, 0x4c
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push 0x7c
pop esi
xor ebx, ebx
cmp word [eax + 2], bx
push esi
push dword [ebp + 0x10]
setne al
mov byte [ebp - 0x38], al
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x43039a
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00457400
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], ebx
call fcn.004511e0
test al, al
pop ecx
jle 0x43038b
push 0x2b
pop esi
push esi
push dword [ebp + 0x10]
call edi
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0043f290
mov eax, dword [ebp - 0x18]
or dword [ebp - 0x48], 0xffffffff
or dword [ebp - 0x44], 0xffffffff
cmp eax, ebx
mov edi, eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
je 0x4303ff
mov word [eax], bx
add dword [ebp - 0x18], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0044d230
mov eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
pop ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
cmp si, word [eax]
pop ecx
mov dword [ebp - 0x3c], edx
jne 0x4303f5
add dword [ebp - 0x18], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044d230
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
call fcn.00457400
cmp edi, ebx
mov dword [ebp - 4], 1
je 0x43041a
mov word [edi], 0x2b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x34], ebx
call fcn.00451070
mov byte [ebp - 0x28], al
mov eax, dword [ebp + 0x1c]
pop ecx
sar eax, 0x10
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov ecx, dword [ebp + 0x18]
push ebx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.004152c8
mov dword [ebp - 0x14], ebx
push ebx
push ebx
push 3
push ebx
push 7
push SysReAllocStringLen
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004167bc
cmp dword [ebp - 0x14], ebx
je 0x430757
cmp byte [ebp - 0x28], bl
je 0x43048c
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.004435c0
pop ecx
jmp 0x430494
push dword [ebp - 0x14]
call fcn.0041d95d
cmp edx, ebx
pop ecx
mov edi, eax
jl 0x430757
jg 0x4304a9
cmp edi, ebx
jbe 0x430757
cmp edx, dword [ebp - 0x3c]
jl 0x430757
jg 0x4304bd
cmp edi, dword [ebp - 0x40]
jb 0x430757
cmp dword [ebp - 0x3c], ebx
jl 0x4304cf
jg 0x4304c9
cmp dword [ebp - 0x40], ebx
jbe 0x4304cf
sub edi, dword [ebp - 0x40]
sbb edx, dword [ebp - 0x3c]
cmp edx, ebx
jl 0x4304e2
mov eax, 0x10000000
jg 0x4304de
cmp edi, eax
jbe 0x4304e2
mov edi, eax
xor edx, edx
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jl 0x430501
jg 0x4304f0
cmp dword [ebp - 0x48], ebx
jbe 0x430501
cmp edx, eax
jl 0x430501
jg 0x4304fb
cmp edi, dword [ebp - 0x48]
jbe 0x430501
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [edi + 0x10]
push esi
lea ecx, [ebp - 0x58]
call fcn.004460b0
mov eax, dword [ebp - 0x58]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x430527
lea ecx, [ebp - 0x14]
call fcn.004151b3
mov ebx, dword [ebp + 0x1c]
jmp 0x430762
cmp dword [ebp - 0x3c], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
jl 0x43054a
jg 0x430539
cmp dword [ebp - 0x40], ebx
jbe 0x43054a
push ebx
push ebx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push ebx
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebp - 0x28]
cmp edi, ebx
jge 0x430568
xor edi, edi
mov eax, dword [ebp - 0x2c]
push 0x10
add eax, edi
push ebx
push eax
call fcn.004afe00
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004151b3
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
call fcn.004462e0
mov ecx, dword [ebp + 0x14]
push 0x4ec544
call fcn.004462e0
push ebx
push edi
push dword [ebp - 0x58]
call fcn.00442510
add esp, 0xc
mov byte [ebp - 0xd], al
cmp al, bl
mov eax, dword [ebp - 0x58]
je 0x430605
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
movzx eax, word [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
call fcn.0044a910
push dword [ebp - 0x4c]
call fcn.0043f270
movsx edi, byte [ebp - 0xd]
or edi, dword [ebp + 0x1c]
add esp, 0x10
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 2
call fcn.0043f290
jmp 0x430619
dec edi
cmp edi, ebx
jl 0x430616
lea esi, [edi + 1]
mov cl, byte [ebp - 0x1c]
xor byte [eax], cl
inc eax
dec esi
jne 0x43060d
mov edi, dword [ebp + 0x1c]
or edi, 3
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00463e60
push dword [ebp - 0x1c]
push dword [ebp - 0x58]
call fcn.0041fda4
mov esi, dword [ebp + 0x18]
mov edi, eax
mov ax, word [esi + 0x48]
mov word [ebp - 0x2c], ax
add esp, 0x10
lea eax, [edi + edi + 0x22]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
call fcn.0041d2ab
mov eax, dword [ebp - 0x58]
lea eax, [eax + edi*2]
push 0xf
mov word [eax + 0x20], bx
pop ecx
mov dx, word [ebp - 0x1c]
mov word [eax + ecx*2], dx
dec ecx
jns 0x430661
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
call fcn.00426fa5
mov eax, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebp - 0x2c]
cmp word [eax], cx
je 0x430762
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, ebx
je 0x4306a0
push ecx
push eax
call fcn.0041fda4
pop ecx
pop ecx
mov esi, eax
jmp 0x4306a2
xor esi, esi
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + edi*2 - 2]
mov ecx, dword [ebp + 0x18]
cmp ax, word [ecx + 0x50]
mov dword [ebp + 0x1c], ebx
je 0x4306bd
mov dword [ebp + 0x1c], 1
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
add eax, edi
add eax, esi
mov dword [ebp - 0x28], eax
add eax, 0x10
push eax
call fcn.0041d2dc
cmp dword [ebp + 0xc], esi
jle 0x4306db
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
mov eax, dword [eax]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x38], eax
jle 0x430707
sub esi, ecx
mov ecx, dword [ebp + 0x1c]
shl esi, 1
push esi
push eax
add ecx, edi
lea eax, [eax + ecx*2]
push eax
call fcn.004aee50
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp + 0x1c], ebx
je 0x430717
mov ecx, dword [ebp + 0x18]
mov cx, word [ecx + 0x50]
mov word [eax + edi*2], cx
push edi
push dword [ebp - 0x1c]
push eax
call fcn.004acbce
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov cx, word [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov word [eax + edx*2], cx
push dword [ebp - 0x58]
call fcn.0043f270
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x24]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push esi
call fcn.00430069
movzx ebx, ax
add esp, 0x24
or ebx, dword [ebp - 0x24]
jmp 0x430762
lea ecx, [ebp - 0x14]
call fcn.004151b3
or ebx, 0xffffffff
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0043f290
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043f290
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret