Function at 0x454f26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, 0xd4f8
lea ebp, [esp - 0x70]
call fcn.0048fb80
lea eax, [ebp + 0x78]
push edi
push eax
mov dword [ebp + 0x60], ecx
call fcn.004379a9
mov eax, dword [ebp + 0x78]
xor edi, edi
cmp word [eax], di
pop ecx
jne 0x454f54
xor eax, eax
jmp 0x4553e0
push ebx
push esi
mov esi, 0x4a39d4
push esi
lea ecx, [ebp + 0x58]
call fcn.004457e4
push esi
lea ecx, [ebp + 0x54]
call fcn.004457e4
push 2
pop ebx
push 4
mov byte [ebp + 0x65], 0
mov byte [ebp + 0x6f], 0x20
mov byte [ebp + 0x68], 0
mov dword [ebp + 0x50], 0xff000000
pop esi
jmp 0x4550e1
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4a6ff4
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x454faa
mov byte [ebp + 0x65], 1
jmp 0x4550e1
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4a6cb0
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x454fc9
mov byte [ebp + 0x6f], 2
jmp 0x4550e1
push esi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x454fe8
mov byte [ebp + 0x6f], 0x40
jmp 0x4550e1
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4aca74
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x455007
mov byte [ebp + 0x6f], 1
jmp 0x4550e1
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4a95bc
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x455026
mov byte [ebp + 0x6f], 0x10
jmp 0x4550e1
push esi
lea eax, [ebp + 0x78]
push eax
push str._bin
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x455051
add dword [ebp + 0x78], esi
lea eax, [ebp + 0x78]
push eax
mov byte [ebp + 0x68], 1
call fcn.004379a9
jmp 0x4550e0
push esi
push dword [ebp + 0x78]
push str._src
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x4550a2
add dword [ebp + 0x78], 8
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax]
mov eax, ecx
call fcn.00482120
test al, al
je 0x455086
mov dword [ebp + 0x50], 5
jmp 0x4550e1
cmp cx, 0x3a
jne 0x4550e1
add dword [ebp + 0x78], ebx
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x50], edi
call fcn.004488bd
pop ecx
jmp 0x4550e0
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4a465c
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x4550ed
push 1
push dword [ebp + 0x78]
push 0x4a4be0
call fcn.00438b38
add esp, 0xc
test al, al
jne 0x4550ed
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
jne 0x4550ed
lea eax, [ebp + 0x78]
push eax
call fcn.0040507c
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], di
jne 0x454f8b
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x20], eax
cmp word [eax], 0x22
lea eax, [ebp + 0x58]
jne 0x45512a
mov ecx, dword [ebp + 0x60]
push edi
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00433065
mov esi, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x60]
push edi
push 0x2c
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x48], esi
call fcn.00433065
jmp 0x4551b2
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043fe29
mov eax, dword [ebp + 0x78]
mov esi, dword [ebp + 0x58]
add esp, 0xc
cmp word [eax], 0x2c
mov dword [ebp + 0x48], esi
jne 0x455167
add dword [ebp + 0x78], ebx
push 0x2c
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043fe29
push dword [ebp + 0x54]
call fcn.0041113a
add esp, 0x10
jmp 0x4551b5
push 1
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x20]
push eax
mov dword [ebp + 0x4c], edi
call fcn.00418d74
add esp, 0xc
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x58]
push dword [ebp + 0x20]
mov dword [ebp + 0x5c], eax
call fcn.0043d5a1
mov esi, dword [ebp + 0x58]
push edi
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp + 0x48], esi
call fcn.00418d74
add esp, 0xc
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x54]
push dword [ebp + 0x5c]
call fcn.0043d5a1
mov eax, dword [ebp + 0x54]
cmp word [eax], di
mov dword [ebp + 0x60], eax
je 0x4553c7
cmp word [esi], di
je 0x4553c7
push esi
push 0x4aca60
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
neg eax
sbb al, al
inc al
mov byte [ebp + 0x66], al
mov esi, 0x80
xor ebx, ebx
cmp byte [ebp + 0x6f], 2
je 0x455243
push edi
call fcn.00491c68
pop ecx
mov ebx, eax
call fcn.00439c36
add ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add ebx, eax
mov eax, dword [0x4beb84]
shl eax, 4
add ebx, eax
xor dword [0x4beb84], ebx
mov eax, ebx
and eax, 3
cmp al, 3
mov dword [ebp + 0x5c], ebx
jne 0x4551ec
test bh, 0xf0
je 0x4551ec
test bh, 0xf
je 0x4551ec
mov ax, word [ebp + 0x5e]
test al, 0xf0
je 0x4551ec
test al, 0xf
je 0x4551ec
test ah, 0xf
je 0x4551ec
mov al, ah
and al, 0x88
cmp al, 0x80
jne 0x4551ec
cmp byte [ebp + 0x6f], 0x10
je 0x455546
mov eax, ebx
and eax, 0xfffffff
cmp ebx, edi
mov dword [ebp + 0x4c], eax
je 0x455261
xor ebx, 0x5aa59669
xor eax, eax
cmp byte [ebp + 0x6f], 0x20
mov dword [ebp + 0x5c], ebx
jne 0x45526f
push 0x14
pop eax
cmp byte [ebp + 0x6f], 0x40
jne 0x455278
push 0x18
pop eax
xor ebx, eax
cmp ax, di
mov word [ebp + 0x5c], bx
je 0x45528c
cmp bx, di
je 0x4551e4
lea ecx, [ebp - 4]
call fcn.00440a0a
lea ecx, [ebp + 0x24]
call fcn.00440a0a
cmp byte [ebp + 0x66], 0
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x40], eax
je 0x4552b2
mov eax, dword [0x4bc310]
mov dword [ebp], eax
jmp 0x4552c6
push edi
push esi
push 3
push edi
push 7
push 1
push dword [ebp + 0x48]
lea ecx, [ebp]
call fcn.0040511c
movzx eax, byte [ebp + 0x66]
push eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
push dword [ebp]
push str.infile0x_p_0x_p_bstin_d_r_n
push 0x4bdfa0
call fcn.0040f2bd
add esp, 0x14
cmp dword [ebp], edi
jne 0x455311
mov esi, 0x4ab9e8
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x24], esi
call fcn.004409dd
mov dword [ebp - 4], esi
lea ecx, [ebp]
call fcn.004409dd
xor esi, esi
inc esi
jmp 0x4553cc
push edi
push esi
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x60]
lea ecx, [ebp + 0x28]
call fcn.0040511c
cmp dword [ebp + 0x28], edi
je 0x4552ee
push edi
push edi
lea ecx, [ebp - 0xd488]
mov byte [ebp + 0x38], 1
call fcn.00438405
cmp byte [ebp + 0x6f], 0x20
lea eax, [ebp - 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov byte [ebp + 0x67], 0x53
jne 0x45535a
mov byte [ebp + 0x67], 0x61
jmp 0x455364
cmp byte [ebp + 0x6f], 0x40
jne 0x455364
mov byte [ebp + 0x67], 0x4d
lea ecx, [ebp + 0x60]
call fcn.0043d47d
cmp dword [ebp + 0x50], edi
jge 0x45537b
cmp byte [ebp + 0x67], 0x53
je 0x455431
cmp byte [ebp + 0x68], 0
jne 0x455431
lea eax, [ebp + 4]
push eax
push dword [ebp]
call fcn.00440af7
mov ebx, dword [ebp + 4]
pop ecx
pop ecx
lea ecx, [ebp]
mov esi, eax
call fcn.00402b5a
cmp esi, edi
jg 0x4553e8
lea ecx, [ebp + 0x60]
call fcn.00437960
mov esi, 0x4ab9e8
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x24], esi
call fcn.004409dd
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.004409dd
mov esi, 0x80070057
lea ecx, [ebp + 0x54]
call fcn.00437960
lea ecx, [ebp + 0x58]
call fcn.00437960
mov eax, esi
pop esi
pop ebx
pop edi
add ebp, 0x70
leave
ret 8
cmp esi, 1
jle 0x455411
lea eax, [ebx + 2]
cmp word [eax], 0x7f
ja 0x455411
cmp byte [ebp + 0x6f], 0x20
je 0x455402
cmp byte [ebp + 0x6f], 0x40
jne 0x455411
lea ecx, [esi + esi]
push ecx
push eax
push ebx
call fcn.004125af
add esp, 0xc
dec esi
cmp dword [ebp + 0x50], edi
jge 0x45541d
mov dword [ebp + 0x50], 5
push dword [ebp + 0x50]
push esi
push dword [ebp + 4]
call fcn.00440c8f
add esp, 0xc
shl eax, 1
mov dword [ebp + 0xc], eax
push 7
mov esi, 0x4aa3b0
pop edi
mov al, byte [esi]
inc dword [ebp + 0x44]
mov byte [ebp + 0x68], al
push 1
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043a757
inc esi
dec edi
jne 0x455439
mov al, byte [ebp + 0x67]
inc dword [ebp + 0x44]
mov byte [ebp + 0x68], al
push 1
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043a757
push 4
mov dword [ebp + 0x44], 8
lea esi, [ebp + 0x5c]
pop edi
mov al, byte [esi]
inc dword [ebp + 0x44]
mov byte [ebp + 0x68], al
push 1
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043a757
inc esi
dec edi
jne 0x455477
xor eax, eax
lea edi, [ebp - 0xc48e]
mov dword [ebp + 0x44], 0xc
stosd dword es:[edi], eax
xor esi, esi
lea ecx, [ebp - 4]
call fcn.0043a811
cmp eax, 0xffffffff
je 0x4554c7
movsx ecx, si
inc esi
mov byte [ebp + ecx - 0xc48e], al
inc byte [ebp - 0xc46b]
cmp si, 4
jl 0x4554a3
push 4
lea esi, [ebp - 0xc48e]
pop edi
cmp byte [ebp + 0x65], 0
je 0x4554dd
mov al, byte [esi]
mov byte [ebp + 0x68], al
jmp 0x4554e1
mov byte [ebp + 0x68], 0
inc dword [ebp + 0x44]
push 1
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043a757
inc esi
dec edi
jne 0x4554d0
push 0
mov dword [ebp + 0x44], 0x10
call dword [sym.imp.KERNEL32.DLL_SetLastError]
lea ecx, [ebp - 0xd488]
call fcn.0043863f
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
cmp byte [ebp + 0x66], 0
je 0x455523
and dword [ebp], 0
lea ecx, [ebp + 0x60]
call fcn.00437960
mov esi, 0x4ab9e8
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x24], esi
call fcn.004409dd
mov dword [ebp - 4], esi
lea ecx, [ebp]
jmp 0x455631
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x5c], edi
call fcn.00440a66
lea ecx, [ebp - 0x4c]
call fcn.00440a66
push edi
push esi
push 3
push edi
push 7
push 1
push dword [ebp + 0x48]
lea ecx, [ebp - 0x24]
call fcn.0040511c
cmp dword [ebp - 0x24], edi
je 0x4555b5
push 8
pop ebx
lea ecx, [ebp - 0x28]
call fcn.0043a86e
dec ebx
jne 0x455575
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.0043a86e
mov byte [ebp + ebx + 0x5c], al
inc ebx
cmp ebx, 4
jl 0x455582
cmp dword [ebp + 0x5c], edi
jne 0x4555b5
push edi
push esi
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x60]
lea ecx, [ebp - 0x48]
call fcn.0040511c
cmp dword [ebp - 0x48], edi
jne 0x4555d0
mov esi, 0x4ab9f8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
call fcn.004409dd
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x24]
jmp 0x455304
push edi
push edi
lea ecx, [ebp - 0xd488]
mov byte [ebp - 0x38], 1
call fcn.00438405
cmp dword [ebp - 0xc], edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], eax
je 0x4555f9
xor dword [ebp - 0xc], 0x5aa59669
push 4
pop esi
lea ecx, [ebp - 0x28]
call fcn.0043a86e
dec esi
jne 0x4555fc
lea ecx, [ebp - 0xd488]
call fcn.004388a2
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
mov esi, 0x4ab9f8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
call fcn.004409dd
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x24]
call fcn.004409dd
xor esi, esi
jmp 0x4553cc