Function at 0x45e06d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, 0xd500
lea ebp, [esp - 0x70]
call fcn.004aa480
lea eax, [ebp + 0x78]
push edi
push eax
mov dword [ebp + 0x4c], ecx
call fcn.0043dcd9
mov eax, dword [ebp + 0x78]
xor edi, edi
cmp word [eax], di
pop ecx
jne 0x45e09b
xor eax, eax
jmp 0x45e5f4
push ebx
push esi
mov esi, 0x4bca2c
push esi
lea ecx, [ebp + 0x50]
call fcn.0044cf2d
push esi
lea ecx, [ebp + 0x5c]
call fcn.0044cf2d
push 2
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x6b], 0x20
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x6c], 0
mov dword [ebp + 0x58], 0xff000000
pop ebx
jmp 0x45e288
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4c1e24
call fcn.004460ea
add esp, 0xc
test al, al
je 0x45e0f2
mov byte [ebp + 0x67], 1
jmp 0x45e288
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4c1ac4
call fcn.004460ea
add esp, 0xc
test al, al
je 0x45e111
mov byte [ebp + 0x6b], 2
jmp 0x45e288
push 4
pop esi
push esi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.004460ea
add esp, 0xc
test al, al
je 0x45e133
mov byte [ebp + 0x6b], 0x40
jmp 0x45e288
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4c5dac
call fcn.004460ea
add esp, 0xc
test al, al
je 0x45e152
mov byte [ebp + 0x6b], 1
jmp 0x45e288
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4c24c4
call fcn.004460ea
add esp, 0xc
test al, al
je 0x45e171
mov byte [ebp + 0x6b], 0x10
jmp 0x45e288
push 3
push dword [ebp + 0x78]
push 0x4c5da8
call fcn.0043f11b
add esp, 0xc
test al, al
lea eax, [ebp + 0x78]
je 0x45e1b5
add dword [ebp + 0x78], 6
push eax
mov byte [ebp + 0x6b], 0x10
call fcn.0043dcd9
mov eax, dword [ebp + 0x78]
cmp word [eax], di
pop ecx
je 0x45e1a7
mov word [eax], di
add dword [ebp + 0x78], ebx
lea eax, [ebp + 0x78]
push eax
call fcn.00405676
jmp 0x45e287
push esi
push eax
push str._bin
call fcn.004460ea
add esp, 0xc
test al, al
je 0x45e1dd
add dword [ebp + 0x78], esi
lea eax, [ebp + 0x78]
push eax
mov byte [ebp + 0x66], 1
call fcn.0043dcd9
jmp 0x45e287
push esi
push dword [ebp + 0x78]
push str._src
call fcn.0043f11b
add esp, 0xc
test al, al
je 0x45e22e
add dword [ebp + 0x78], 8
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax]
mov eax, ecx
call fcn.0040f4c7
test al, al
je 0x45e212
mov dword [ebp + 0x58], 5
jmp 0x45e288
cmp cx, 0x3a
jne 0x45e288
add dword [ebp + 0x78], ebx
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x58], edi
call fcn.004504ce
pop ecx
jmp 0x45e287
push 5
lea eax, [ebp + 0x78]
push eax
push str._utf8
call fcn.004460ea
add esp, 0xc
test al, al
je 0x45e24b
mov byte [ebp + 0x6c], 1
jmp 0x45e288
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x4bd960
call fcn.004460ea
add esp, 0xc
test al, al
jne 0x45e294
mov esi, dword [ebp + 0x78]
push 1
push esi
push 0x4bdf24
call fcn.0043f0c4
add esp, 0xc
test al, al
jne 0x45e294
cmp word [esi], 0x2d
jne 0x45e294
lea eax, [ebp + 0x78]
push eax
call fcn.00408ddd
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], di
jne 0x45e0d3
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x18], eax
cmp word [eax], 0x22
lea eax, [ebp + 0x50]
jne 0x45e2d1
mov ecx, dword [ebp + 0x4c]
push edi
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00438e0f
mov esi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x4c]
push edi
push 0x2c
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x44], esi
call fcn.00438e0f
jmp 0x45e359
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00446f11
mov eax, dword [ebp + 0x78]
mov esi, dword [ebp + 0x50]
add esp, 0xc
cmp word [eax], 0x2c
mov dword [ebp + 0x44], esi
jne 0x45e30e
add dword [ebp + 0x78], ebx
push 0x2c
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00446f11
push dword [ebp + 0x5c]
call fcn.00412ce4
add esp, 0x10
jmp 0x45e35c
push 1
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x18]
push eax
mov dword [ebp + 0x48], edi
call fcn.00419ea1
add esp, 0xc
push dword [ebp + 0x48]
lea ecx, [ebp + 0x50]
push dword [ebp + 0x18]
mov dword [ebp + 0x60], eax
call fcn.004442c5
mov esi, dword [ebp + 0x50]
push edi
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x44], esi
call fcn.00419ea1
add esp, 0xc
push dword [ebp + 0x48]
lea ecx, [ebp + 0x5c]
push dword [ebp + 0x60]
call fcn.004442c5
mov eax, dword [ebp + 0x5c]
cmp word [eax], di
mov dword [ebp + 0x40], eax
je 0x45e5db
cmp word [esi], di
je 0x45e5db
push esi
push 0x4c5d8c
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
neg eax
sbb al, al
inc al
mov byte [ebp + 0x68], al
xor ebx, ebx
cmp byte [ebp + 0x6b], 2
je 0x45e3e5
push edi
call fcn.004ac292
pop ecx
mov ebx, eax
call fcn.00440360
add ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add ebx, eax
mov eax, dword [0x4d8d48]
shl eax, 4
add ebx, eax
xor dword [0x4d8d48], ebx
mov eax, ebx
and eax, 3
cmp al, 3
mov dword [ebp + 0x54], ebx
jne 0x45e38e
test bh, 0xf0
je 0x45e38e
test bh, 0xf
je 0x45e38e
mov ax, word [ebp + 0x56]
test al, 0xf0
je 0x45e38e
test al, 0xf
je 0x45e38e
test ah, 0xf
je 0x45e38e
mov al, ah
and al, 0x88
cmp al, 0x80
jne 0x45e38e
cmp byte [ebp + 0x6b], 0x10
je 0x45e76a
mov esi, ebx
and esi, 0xfffffff
cmp ebx, edi
je 0x45e401
xor ebx, 0x5aa59669
xor eax, eax
cmp byte [ebp + 0x6b], 0x20
mov dword [ebp + 0x54], ebx
jne 0x45e40f
push 0x14
pop eax
cmp byte [ebp + 0x6b], 0x40
jne 0x45e418
push 0x18
pop eax
xor ebx, eax
cmp ax, di
mov word [ebp + 0x54], bx
je 0x45e42c
cmp bx, di
je 0x45e386
lea ecx, [ebp - 0xc]
call fcn.00447c64
lea ecx, [ebp + 0x1c]
call fcn.00447c64
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x38], esi
xor esi, esi
cmp word [eax], 0x26
sete byte [ebp + 0x6a]
cmp byte [ebp + 0x6a], 0
je 0x45e4f8
mov ecx, dword [ebp + 0x4c]
push edi
push 0xffffffffffffffff
push edi
push eax
call fcn.004108b2
cmp eax, edi
mov dword [ebp + 0x60], eax
je 0x45e5c0
mov esi, dword [eax + 0x10]
shr esi, 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 4]
lea ebx, [esi + esi]
call fcn.004441e6
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp - 4]
push ebx
push dword [ecx + 4]
mov dword [ebp + 0x4c], eax
push eax
call fcn.00413fe3
mov eax, dword [ebp + 0x4c]
push 0xa
add eax, ebx
push edi
push eax
call fcn.004aa0a0
add esp, 0x18
mov dword [ebp + 4], ebx
push edi
push 0x80
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x40]
lea ecx, [ebp + 0x20]
call fcn.0040569f
cmp dword [ebp + 0x20], edi
je 0x45e546
push edi
push edi
lea ecx, [ebp - 0xd490]
mov byte [ebp + 0x30], 1
call fcn.0043e92e
mov bl, byte [ebp + 0x6b]
cmp bl, 0x20
lea eax, [ebp - 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov byte [ebp + 0x69], 0x53
jne 0x45e566
mov byte [ebp + 0x69], 0x61
jmp 0x45e56f
cmp byte [ebp + 0x68], 0
je 0x45e508
mov eax, dword [0x4d6338]
mov dword [ebp - 8], eax
jmp 0x45e4a9
push edi
push 0x80
push 3
push edi
push 7
push 1
push eax
lea ecx, [ebp - 8]
call fcn.0040569f
push edi
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
push dword [ebp - 8]
push str.infile0x_p_0x_p_bstin_d_r_n
push 0x4d80e0
call fcn.00410bfe
add esp, 0x14
cmp dword [ebp - 8], edi
jne 0x45e4a9
mov esi, 0x4c4fd0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], esi
call fcn.00447c37
mov dword [ebp - 0xc], esi
lea ecx, [ebp - 8]
call fcn.00447c37
xor esi, esi
inc esi
jmp 0x45e5e0
cmp bl, 0x40
jne 0x45e56f
mov byte [ebp + 0x69], 0x4d
lea ecx, [ebp + 0x60]
call fcn.004441a1
cmp dword [ebp + 0x58], edi
jge 0x45e586
cmp byte [ebp + 0x69], 0x53
je 0x45e655
cmp byte [ebp + 0x66], 0
jne 0x45e655
cmp byte [ebp + 0x6a], 0
jne 0x45e5b4
movsx eax, byte [ebp + 0x6c]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00447d51
add esp, 0xc
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00402c9f
cmp esi, edi
jg 0x45e5fc
lea ecx, [ebp + 0x60]
call fcn.0043dd41
mov esi, 0x4c4fd0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], esi
call fcn.00447c37
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.00447c37
mov esi, 0x80070057
lea ecx, [ebp + 0x5c]
call fcn.0043dd41
lea ecx, [ebp + 0x50]
call fcn.0043dd41
mov eax, esi
pop esi
pop ebx
pop edi
add ebp, 0x70
leave
ret 8
cmp byte [ebp + 0x6a], 0
jne 0x45e62c
cmp esi, 1
jle 0x45e62c
mov eax, dword [ebp - 4]
lea ecx, [eax + 2]
cmp word [ecx], 0x7f
ja 0x45e62c
cmp bl, 0x20
je 0x45e61d
cmp bl, 0x40
jne 0x45e62c
lea edx, [esi + esi]
push edx
push ecx
push eax
call fcn.00413f99
add esp, 0xc
dec esi
cmp dword [ebp + 0x58], edi
jge 0x45e638
mov dword [ebp + 0x58], 5
cmp byte [ebp + 0x6a], 0
jne 0x45e64f
push dword [ebp + 0x58]
push esi
push dword [ebp - 4]
call fcn.00447f04
add esp, 0xc
mov esi, eax
lea eax, [esi + esi]
mov dword [ebp + 4], eax
push 7
mov esi, 0x4c3818
pop edi
mov al, byte [esi]
inc dword [ebp + 0x3c]
mov byte [ebp + 0x6c], al
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.00440f42
inc esi
dec edi
jne 0x45e65d
mov al, byte [ebp + 0x69]
inc dword [ebp + 0x3c]
mov byte [ebp + 0x6c], al
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.00440f42
push 4
mov dword [ebp + 0x3c], 8
lea esi, [ebp + 0x54]
pop edi
mov al, byte [esi]
inc dword [ebp + 0x3c]
mov byte [ebp + 0x6c], al
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.00440f42
inc esi
dec edi
jne 0x45e69b
xor eax, eax
lea edi, [ebp - 0xc496]
mov dword [ebp + 0x3c], 0xc
stosd dword es:[edi], eax
xor esi, esi
lea ecx, [ebp - 0xc]
call fcn.00440ffc
cmp eax, 0xffffffff
je 0x45e6eb
movsx ecx, si
inc esi
mov byte [ebp + ecx - 0xc496], al
inc byte [ebp - 0xc473]
cmp si, 4
jl 0x45e6c7
push 4
lea esi, [ebp - 0xc496]
pop edi
cmp byte [ebp + 0x67], 0
je 0x45e701
mov al, byte [esi]
mov byte [ebp + 0x6c], al
jmp 0x45e705
mov byte [ebp + 0x6c], 0
inc dword [ebp + 0x3c]
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.00440f42
inc esi
dec edi
jne 0x45e6f4
push 0
mov dword [ebp + 0x3c], 0x10
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0xd490]
call fcn.0043eb68
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp byte [ebp + 0x68], 0
je 0x45e747
and dword [ebp - 8], 0
lea ecx, [ebp + 0x60]
call fcn.0043dd41
mov esi, 0x4c4fd0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], esi
call fcn.00447c37
mov dword [ebp - 0xc], esi
lea ecx, [ebp - 8]
jmp 0x45e85a
lea ecx, [ebp - 0x30]
mov dword [ebp + 0x54], edi
call fcn.00447cc0
lea ecx, [ebp - 0x54]
call fcn.00447cc0
push edi
mov esi, 0x80
push esi
push 3
push edi
push 7
push 1
push dword [ebp + 0x44]
lea ecx, [ebp - 0x2c]
call fcn.0040569f
cmp dword [ebp - 0x2c], edi
je 0x45e7de
push 8
pop ebx
lea ecx, [ebp - 0x30]
call fcn.0044104f
dec ebx
jne 0x45e79e
xor ebx, ebx
lea ecx, [ebp - 0x30]
call fcn.0044104f
mov byte [ebp + ebx + 0x54], al
inc ebx
cmp ebx, 4
jl 0x45e7ab
cmp dword [ebp + 0x54], edi
jne 0x45e7de
push edi
push esi
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x40]
lea ecx, [ebp - 0x50]
call fcn.0040569f
cmp dword [ebp - 0x50], edi
jne 0x45e7f9
mov esi, 0x4c4fe0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], esi
call fcn.00447c37
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x2c]
jmp 0x45e55c
push edi
push edi
lea ecx, [ebp - 0xd490]
mov byte [ebp - 0x40], 1
call fcn.0043e92e
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
je 0x45e822
xor dword [ebp - 0x14], 0x5aa59669
push 4
pop esi
lea ecx, [ebp - 0x30]
call fcn.0044104f
dec esi
jne 0x45e825
lea ecx, [ebp - 0xd490]
call fcn.0043ed73
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov esi, 0x4c4fe0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], esi
call fcn.00447c37
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x2c]
call fcn.00447c37
xor esi, esi
jmp 0x45e5e0