Function at 0x451fc7
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff44c
push ebx
push esi
push edi
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov ebx, 0x4a54f8
lea eax, [ebx + 0x1f]
call fcn.0046c160
mov dword [ebp - 0xc], eax
cmp edi, 0xffffffff
jne 0x45204d
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp edi, esi
jle 0x45204d
push esi
lea eax, [ebx + 0x1f]
push eax
lea edx, [ebp - 0x2b0]
push edx
call fcn.00497928
add esp, 0xc
lea ecx, [ebx + 0xb]
lea edx, [ebx + 0x2b]
lea eax, [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x260]
push pe_nt_image_headers32
call fcn.0046be20
push dword [ebp + 0xc]
lea eax, [ebp - 0x260]
push eax
call fcn.0049497c
add esp, 8
test eax, eax
jne 0x452048
mov edi, esi
jmp 0x45204d
inc esi
cmp edi, esi
jg 0x451ffd
cmp dword [ebp + 8], 0
je 0x452066
push 0x4f
lea eax, [ebp - 0x60]
push dword [ebp + 8]
push eax
call fcn.00494ba8
add esp, 0xc
jmp 0x452077
push edi
lea edx, [ebx + 0x1f]
push edx
lea ecx, [ebp - 0x60]
push ecx
call fcn.00497928
add esp, 0xc
lea edx, [ebx + 0x2b]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.0046bc44
cmp byte [ebp - 6], 0
je 0x4520bc
xor esi, esi
cmp esi, dword [ebp - 0xc]
jge 0x4520bc
push esi
lea eax, [ebx + 0x1f]
push eax
lea edx, [ebp - 0x300]
push edx
call fcn.00497928
add esp, 0xc
lea edx, [ebx + 0x30]
lea eax, [ebp - 0x300]
xor ecx, ecx
call fcn.0046bd4c
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x452092
xor ecx, ecx
mov cl, byte [ebp - 6]
lea edx, [ebx + 0x30]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
lea edx, [ebx + 0x38]
lea eax, [ebp - 0x60]
call fcn.0046c0fc
lea edx, [ebx + 0x40]
lea eax, [ebp - 0x60]
call fcn.0046c0fc
lea edx, [ebx + 0x4a]
lea eax, [ebp - 0x60]
xor ecx, ecx
call fcn.0046bd4c
cmp dword [ebp - 4], 0
je 0x4521cd
push 0x6b
push dword [ebp - 4]
call sub.USER32.DLL_IsDlgButtonChecked
mov ecx, eax
lea edx, [ebx + 0x4a]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
push 0x66
push dword [ebp - 4]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x452145
push 0x400
lea eax, [ebp - 0x700]
push eax
push 0x67
push dword [ebp - 4]
call sub.USER32.DLL_GetDlgItemTextA
lea ecx, [ebp - 0x700]
lea edx, [ebx + 0x38]
lea eax, [ebp - 0x60]
call fcn.0046bc44
push 0x68
push dword [ebp - 4]
call sub.USER32.DLL_IsDlgButtonChecked
test eax, eax
je 0x4521cd
push 0x69
push dword [ebp - 4]
call sub.USER32.DLL_GetDlgItem
mov edi, eax
push edi
call sub.USER32.DLL_GetWindowTextLengthA
add eax, 0xa
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call fcn.004931a4
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, edi
call fcn.0046e214
lea edx, [ebx + 0x40]
lea eax, [ebp - 0x60]
mov ecx, esi
call fcn.0046bc90
push esi
call fcn.00492fdc
cmp byte [ebp - 5], 0
pop ecx
je 0x4521ab
lea eax, [ebx + 0x6f]
call fcn.0046c2b8
test al, al
jne 0x4521cd
lea edx, [ebp - 0xb00]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0xb00]
lea edx, [ebx + 0x6f]
lea eax, [ebp - 0x60]
call fcn.0046bc44
cmp byte [ebp - 5], 0
jne 0x452743
mov eax, dword [0x4baab8]
call fcn.00450a10
mov esi, eax
mov eax, esi
call fcn.0040ed6c
mov ecx, eax
lea edx, [ebx + 0x76]
lea eax, [ebp - 0x60]
call fcn.0046bc44
push esi
call fcn.00492fdc
pop ecx
mov eax, dword [0x4baac4]
call fcn.00450a10
mov esi, eax
mov eax, esi
call fcn.0040ed6c
mov ecx, eax
lea edx, [ebx + 0x80]
lea eax, [ebp - 0x60]
call fcn.0046bc44
push esi
call fcn.00492fdc
pop ecx
cmp dword [0x4b8a6c], 0
sete cl
and ecx, 1
lea edx, [ebx + 0x118]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
mov ecx, 0x4b63d4
lea edx, [ebx + 0x11f]
lea eax, [ebp - 0x60]
call fcn.0046bc44
lea edx, [ebx + 0x129]
lea eax, [ebp - 0x60]
call fcn.0046c0fc
mov ecx, 0x4b8a71
lea edx, [ebx + 0x12d]
lea eax, [ebp - 0x60]
call fcn.0046bc44
mov ecx, 0x4b8e71
lea edx, [ebx + 0x141]
lea eax, [ebp - 0x60]
call fcn.0046bc44
mov ecx, 0x4b73d4
lea edx, [ebx + 0x149]
lea eax, [ebp - 0x60]
call fcn.0046bc44
cmp byte [0x4b73d4], 0
je 0x4522ab
lea esi, [ebx + 0xb]
jmp 0x4522b7
mov eax, dword [0x4c6d64]
call fcn.0040ed6c
mov esi, eax
push esi
call fcn.004949f8
pop ecx
inc eax
push eax
lea edx, [ebx + 0x151]
lea eax, [ebp - 0x60]
mov ecx, esi
call fcn.0046bd8c
cmp dword [0x4b8090], 0x80000000
jne 0x4522fd
cmp dword [0x4b808c], 0
jne 0x4522fd
lea eax, [ebx + 0x371]
push eax
lea edx, [ebp - 0xb34]
push edx
call fcn.004949c8
add esp, 8
jmp 0x452314
push dword [0x4b8090]
push dword [0x4b808c]
lea eax, [ebp - 0xb34]
call fcn.0040b944
lea ecx, [ebp - 0xb34]
lea edx, [ebx + 0x165]
lea eax, [ebp - 0x60]
call fcn.0046bc44
xor ecx, ecx
mov cl, byte [0x4b818b]
lea edx, [ebx + 0x178]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b8188]
lea edx, [ebx + 0x181]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
lea edx, [ebx + 0x18d]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b806c]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b8081]
lea edx, [ebx + 0x19a]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b8080]
lea edx, [ebx + 0x1a1]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b80c1]
lea edx, [ebx + 0x1a7]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b80c0]
lea edx, [ebx + 0x1b1]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
lea edx, [ebx + 0x1b6]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b8074]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b807e]
lea edx, [ebx + 0x1bc]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b818a]
lea edx, [ebx + 0x1bf]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
lea edx, [ebx + 0x1c4]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b8068]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b80bd]
lea edx, [ebx + 0x1cd]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b807d]
lea edx, [ebx + 0x1d7]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b807c]
lea edx, [ebx + 0x1e2]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b8189]
lea edx, [ebx + 0x1eb]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
lea edx, [ebx + 0x1f0]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b8064]
call fcn.0046bd4c
lea edx, [ebx + 0x1f7]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b5fd0]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b9271]
lea edx, [ebx + 0x23f]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b9272]
lea edx, [ebx + 0x24a]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b8652]
lea edx, [ebx + 0x257]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
push 0x4b7bd5
lea eax, [ebp - 0xbb4]
push eax
call fcn.004949c8
add esp, 8
lea edx, [ebp - 0xbb4]
push edx
call fcn.004949f8
pop ecx
mov edx, eax
inc edx
xor eax, eax
cmp edx, eax
jle 0x452511
mov ecx, eax
add cl, 0x49
xor byte [ebp + eax - 0xbb4], cl
inc eax
cmp edx, eax
jg 0x452500
push edx
lea ecx, [ebp - 0xbb4]
lea eax, [ebp - 0x60]
lea edx, [ebx + 0x202]
call fcn.0046bd8c
xor ecx, ecx
mov cl, byte [0x4b7c55]
lea edx, [ebx + 0x20b]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b80be]
lea edx, [ebx + 0x21a]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b80b0]
lea edx, [ebx + 0x225]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b8114]
lea edx, [ebx + 0x233]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4b80c2]
lea edx, [ebx + 0x260]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
lea edx, [ebx + 0x270]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b864c]
call fcn.0046bd4c
mov ecx, 0x4b80c3
lea edx, [ebx + 0x27f]
lea eax, [ebp - 0x60]
call fcn.0046bc44
lea edx, [ebx + 0x2aa]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4c6d6c]
call fcn.0046bd4c
lea edx, [ebx + 0x2b7]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4c6d70]
call fcn.0046bd4c
lea edx, [ebx + 0x2c0]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4c6d74]
call fcn.0046bd4c
lea edx, [ebx + 0x2ca]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4c6d78]
call fcn.0046bd4c
mov eax, 0x4b8120
call fcn.004139f4
mov ecx, eax
lea edx, [ebx + 0x2e0]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
mov eax, 0x4b814c
call fcn.004139f4
mov ecx, eax
lea edx, [ebx + 0x2ef]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
cmp dword [0x4b80a8], 1
sete cl
and ecx, 1
lea edx, [ebx + 0x2fd]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
cmp dword [0x4b80a8], 2
sete cl
and ecx, 1
lea edx, [ebx + 0x30d]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
lea edx, [ebx + 0x31b]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b8654]
call fcn.0046bd4c
lea edx, [ebx + 0x321]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b8658]
call fcn.0046bd4c
lea edx, [ebx + 0x327]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4b865c]
call fcn.0046bd4c
cmp dword [0x4b8084], 3
sete cl
and ecx, 1
lea edx, [ebx + 0x32d]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
cmp dword [0x4b8084], 2
sete cl
and ecx, 1
lea edx, [ebx + 0x336]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
cmp dword [0x4b8084], 5
sete cl
and ecx, 1
lea edx, [ebx + 0x340]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
xor ecx, ecx
mov cl, byte [0x4c6d7e]
lea edx, [ebx + 0x34e]
lea eax, [ebp - 0x60]
call fcn.0046bd4c
mov ecx, 0x4b824c
lea edx, [ebx + 0x35a]
lea eax, [ebp - 0x60]
call fcn.0046bc44
push 0xc0
mov ecx, 0x4b818c
lea edx, [ebx + 0x365]
lea eax, [ebp - 0x60]
call fcn.0046bd8c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc