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

Disassembly:
mov eax, 0x4e949c
call fcn.004b48a0
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 0x430da6
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00456550
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], ebx
call fcn.004521d0
test al, al
pop ecx
jle 0x430d97
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.00443880
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 0x430e0b
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.0044f5a0
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 0x430e01
add dword [ebp - 0x18], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044f5a0
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.00456550
cmp edi, ebx
mov dword [ebp - 4], 1
je 0x430e26
mov word [edi], 0x2b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x34], ebx
call fcn.00452060
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.004166b6
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.00417e55
cmp dword [ebp - 0x14], ebx
je 0x431163
cmp byte [ebp - 0x28], bl
je 0x430e98
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.00447d10
pop ecx
jmp 0x430ea0
push dword [ebp - 0x14]
call fcn.0041f37f
cmp edx, ebx
pop ecx
mov edi, eax
jl 0x431163
jg 0x430eb5
cmp edi, ebx
jbe 0x431163
cmp edx, dword [ebp - 0x3c]
jl 0x431163
jg 0x430ec9
cmp edi, dword [ebp - 0x40]
jb 0x431163
cmp dword [ebp - 0x3c], ebx
jl 0x430edb
jg 0x430ed5
cmp dword [ebp - 0x40], ebx
jbe 0x430edb
sub edi, dword [ebp - 0x40]
sbb edx, dword [ebp - 0x3c]
cmp edx, ebx
jl 0x430eee
mov eax, 0x10000000
jg 0x430eea
cmp edi, eax
jbe 0x430eee
mov edi, eax
xor edx, edx
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jl 0x430f0d
jg 0x430efc
cmp dword [ebp - 0x48], ebx
jbe 0x430f0d
cmp edx, eax
jl 0x430f0d
jg 0x430f07
cmp edi, dword [ebp - 0x48]
jbe 0x430f0d
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [edi + 0x10]
push esi
lea ecx, [ebp - 0x58]
call fcn.004492e0
mov eax, dword [ebp - 0x58]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x430f33
lea ecx, [ebp - 0x14]
call fcn.004165a1
mov ebx, dword [ebp + 0x1c]
jmp 0x43116e
cmp dword [ebp - 0x3c], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
jl 0x430f56
jg 0x430f45
cmp dword [ebp - 0x40], ebx
jbe 0x430f56
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 0x430f74
xor edi, edi
mov eax, dword [ebp - 0x2c]
push 0x10
add eax, edi
push ebx
push eax
call fcn.004b4840
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004165a1
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
call fcn.00449510
mov ecx, dword [ebp + 0x14]
push 0x4f05cc
call fcn.00449510
push ebx
push edi
push dword [ebp - 0x58]
call fcn.00446af0
add esp, 0xc
mov byte [ebp - 0xd], al
cmp al, bl
mov eax, dword [ebp - 0x58]
je 0x431011
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.0044dcf0
push dword [ebp - 0x4c]
call fcn.00443810
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.00443880
jmp 0x431025
dec edi
cmp edi, ebx
jl 0x431022
lea esi, [edi + 1]
mov cl, byte [ebp - 0x1c]
xor byte [eax], cl
inc eax
dec esi
jne 0x431019
mov edi, dword [ebp + 0x1c]
or edi, 3
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004a7430
push dword [ebp - 0x1c]
push dword [ebp - 0x58]
call fcn.004217de
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.0041ecd6
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 0x43106d
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
call fcn.004283ff
mov eax, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebp - 0x2c]
cmp word [eax], cx
je 0x43116e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, ebx
je 0x4310ac
push ecx
push eax
call fcn.004217de
pop ecx
pop ecx
mov esi, eax
jmp 0x4310ae
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 0x4310c9
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.0041ed07
cmp dword [ebp + 0xc], esi
jle 0x4310e7
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 0x431113
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.004b3b10
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp + 0x1c], ebx
je 0x431123
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.00417dcd
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.00443810
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x24]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push esi
call fcn.00430a75
movzx ebx, ax
add esp, 0x24
or ebx, dword [ebp - 0x24]
jmp 0x43116e
lea ecx, [ebp - 0x14]
call fcn.004165a1
or ebx, 0xffffffff
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00443880
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret