Function at 0x451bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, 0xd4f8
lea ebp, [esp - 0x70]
call fcn.00483780
lea eax, [ebp + 0x78]
push edi
push eax
mov dword [ebp + 0x60], ecx
call fcn.00431c97
mov eax, dword [ebp + 0x78]
xor edi, edi
cmp word [eax], di
pop ecx
jne 0x451bee
xor eax, eax
jmp 0x45207a
push ebx
push esi
mov esi, 0x497994
push esi
lea ecx, [ebp + 0x58]
call fcn.004419bc
push esi
lea ecx, [ebp + 0x54]
call fcn.004419bc
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 0x451d7b
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x49a6d0
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451c44
mov byte [ebp + 0x65], 1
jmp 0x451d7b
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x49a458
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451c63
mov byte [ebp + 0x6f], 2
jmp 0x451d7b
push esi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451c82
mov byte [ebp + 0x6f], 0x40
jmp 0x451d7b
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x49f7e8
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451ca1
mov byte [ebp + 0x6f], 1
jmp 0x451d7b
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x49f7e4
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451cc0
mov byte [ebp + 0x6f], 0x10
jmp 0x451d7b
push esi
lea eax, [ebp + 0x78]
push eax
push 0x49f3cc
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451ceb
add dword [ebp + 0x78], esi
lea eax, [ebp + 0x78]
push eax
mov byte [ebp + 0x68], 1
call fcn.00431c97
jmp 0x451d7a
push esi
push dword [ebp + 0x78]
push str._src
call fcn.00432c59
add esp, 0xc
test al, al
je 0x451d3c
add dword [ebp + 0x78], 8
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax]
mov eax, ecx
call fcn.00431c5f
test al, al
je 0x451d20
mov dword [ebp + 0x50], 5
jmp 0x451d7b
cmp cx, 0x3a
jne 0x451d7b
add dword [ebp + 0x78], ebx
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x50], edi
call fcn.00439fac
pop ecx
jmp 0x451d7a
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x498128
call fcn.00438eee
add esp, 0xc
test al, al
jne 0x451d87
push 1
push dword [ebp + 0x78]
push 0x498920
call fcn.00432c0f
add esp, 0xc
test al, al
jne 0x451d87
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
jne 0x451d87
lea eax, [ebp + 0x78]
push eax
call fcn.00404807
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], di
jne 0x451c25
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x20], eax
cmp word [eax], 0x22
lea eax, [ebp + 0x58]
jne 0x451dc4
mov ecx, dword [ebp + 0x60]
push edi
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042d8a6
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.0042d8a6
jmp 0x451e4c
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00439b04
mov eax, dword [ebp + 0x78]
mov esi, dword [ebp + 0x58]
add esp, 0xc
cmp word [eax], 0x2c
mov dword [ebp + 0x48], esi
jne 0x451e01
add dword [ebp + 0x78], ebx
push 0x2c
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00439b04
push dword [ebp + 0x54]
call fcn.0040f738
add esp, 0x10
jmp 0x451e4f
push 1
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x20]
push eax
mov dword [ebp + 0x4c], edi
call fcn.00417571
add esp, 0xc
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x58]
push dword [ebp + 0x20]
mov dword [ebp + 0x5c], eax
call fcn.004372a4
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.00417571
add esp, 0xc
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x54]
push dword [ebp + 0x5c]
call fcn.004372a4
mov eax, dword [ebp + 0x54]
cmp word [eax], di
mov dword [ebp + 0x60], eax
je 0x452061
cmp word [esi], di
je 0x452061
push esi
push 0x49f7d8
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 0x451edd
push edi
call fcn.00485872
pop ecx
mov ebx, eax
call fcn.00433dc1
add ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add ebx, eax
mov eax, dword [0x4b0aa4]
shl eax, 4
add ebx, eax
xor dword [0x4b0aa4], ebx
mov eax, ebx
and eax, 3
cmp al, 3
mov dword [ebp + 0x5c], ebx
jne 0x451e86
test bh, 0xf0
je 0x451e86
test bh, 0xf
je 0x451e86
mov ax, word [ebp + 0x5e]
test al, 0xf0
je 0x451e86
test al, 0xf
je 0x451e86
test ah, 0xf
je 0x451e86
mov al, ah
and al, 0x88
cmp al, 0x80
jne 0x451e86
cmp byte [ebp + 0x6f], 0x10
je 0x4521e0
mov eax, ebx
and eax, 0xfffffff
cmp ebx, edi
mov dword [ebp + 0x4c], eax
je 0x451efb
xor ebx, 0x5aa59669
xor eax, eax
cmp byte [ebp + 0x6f], 0x20
mov dword [ebp + 0x5c], ebx
jne 0x451f09
push 0x14
pop eax
cmp byte [ebp + 0x6f], 0x40
jne 0x451f12
push 0x18
pop eax
xor ebx, eax
cmp ax, di
mov word [ebp + 0x5c], bx
je 0x451f26
cmp bx, di
je 0x451e7e
lea ecx, [ebp - 4]
call fcn.0043a798
lea ecx, [ebp + 0x24]
call fcn.0043a798
cmp byte [ebp + 0x66], 0
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x40], eax
je 0x451f4c
mov eax, dword [0x4ae2e0]
mov dword [ebp], eax
jmp 0x451f60
push edi
push esi
push 3
push edi
push 7
push 1
push dword [ebp + 0x48]
lea ecx, [ebp]
call fcn.00404863
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 0x4aff28
call fcn.0040d391
add esp, 0x14
cmp dword [ebp], edi
jne 0x451fab
mov esi, 0x49e4a8
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x24], esi
call fcn.0043a76b
mov dword [ebp - 4], esi
lea ecx, [ebp]
call fcn.0043a76b
xor esi, esi
inc esi
jmp 0x452066
push edi
push esi
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x60]
lea ecx, [ebp + 0x28]
call fcn.00404863
cmp dword [ebp + 0x28], edi
je 0x451f88
push edi
push edi
lea ecx, [ebp - 0xd488]
mov byte [ebp + 0x38], 1
call fcn.004324bf
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 0x451ff4
mov byte [ebp + 0x67], 0x61
jmp 0x451ffe
cmp byte [ebp + 0x6f], 0x40
jne 0x451ffe
mov byte [ebp + 0x67], 0x4d
lea ecx, [ebp + 0x60]
call fcn.0043717e
cmp dword [ebp + 0x50], edi
jge 0x452015
cmp byte [ebp + 0x67], 0x53
je 0x4520cb
cmp byte [ebp + 0x68], 0
jne 0x4520cb
lea eax, [ebp + 4]
push eax
push dword [ebp]
call fcn.0043a885
mov ebx, dword [ebp + 4]
pop ecx
pop ecx
lea ecx, [ebp]
mov esi, eax
call fcn.00402b75
cmp esi, edi
jg 0x452082
lea ecx, [ebp + 0x60]
call fcn.00431c4c
mov esi, 0x49e4a8
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x24], esi
call fcn.0043a76b
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.0043a76b
mov esi, 0x80070057
lea ecx, [ebp + 0x54]
call fcn.00431c4c
lea ecx, [ebp + 0x58]
call fcn.00431c4c
mov eax, esi
pop esi
pop ebx
pop edi
add ebp, 0x70
leave
ret 8
cmp esi, 1
jle 0x4520ab
lea eax, [ebx + 2]
cmp word [eax], 0x7f
ja 0x4520ab
cmp byte [ebp + 0x6f], 0x20
je 0x45209c
cmp byte [ebp + 0x6f], 0x40
jne 0x4520ab
lea ecx, [esi + esi]
push ecx
push eax
push ebx
call fcn.00410b0e
add esp, 0xc
dec esi
cmp dword [ebp + 0x50], edi
jge 0x4520b7
mov dword [ebp + 0x50], 5
push dword [ebp + 0x50]
push esi
push dword [ebp + 4]
call fcn.0043aa1d
add esp, 0xc
shl eax, 1
mov dword [ebp + 0xc], eax
push 7
mov esi, 0x49ced8
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.0043479f
inc esi
dec edi
jne 0x4520d3
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.0043479f
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.0043479f
inc esi
dec edi
jne 0x452111
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.00434859
cmp eax, 0xffffffff
je 0x452161
movsx ecx, si
inc esi
mov byte [ebp + ecx - 0xc48e], al
inc byte [ebp - 0xc46b]
cmp si, 4
jl 0x45213d
push 4
lea esi, [ebp - 0xc48e]
pop edi
cmp byte [ebp + 0x65], 0
je 0x452177
mov al, byte [esi]
mov byte [ebp + 0x68], al
jmp 0x45217b
mov byte [ebp + 0x68], 0
inc dword [ebp + 0x44]
push 1
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043479f
inc esi
dec edi
jne 0x45216a
push 0
mov dword [ebp + 0x44], 0x10
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0xd488]
call fcn.004326f9
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp byte [ebp + 0x66], 0
je 0x4521bd
and dword [ebp], 0
lea ecx, [ebp + 0x60]
call fcn.00431c4c
mov esi, 0x49e4a8
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x24], esi
call fcn.0043a76b
mov dword [ebp - 4], esi
lea ecx, [ebp]
jmp 0x4522cb
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x5c], edi
call fcn.0043a7f4
lea ecx, [ebp - 0x4c]
call fcn.0043a7f4
push edi
push esi
push 3
push edi
push 7
push 1
push dword [ebp + 0x48]
lea ecx, [ebp - 0x24]
call fcn.00404863
cmp dword [ebp - 0x24], edi
je 0x45224f
push 8
pop ebx
lea ecx, [ebp - 0x28]
call fcn.004348af
dec ebx
jne 0x45220f
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.004348af
mov byte [ebp + ebx + 0x5c], al
inc ebx
cmp ebx, 4
jl 0x45221c
cmp dword [ebp + 0x5c], edi
jne 0x45224f
push edi
push esi
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x60]
lea ecx, [ebp - 0x48]
call fcn.00404863
cmp dword [ebp - 0x48], edi
jne 0x45226a
mov esi, 0x49e4b8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
call fcn.0043a76b
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x24]
jmp 0x451f9e
push edi
push edi
lea ecx, [ebp - 0xd488]
mov byte [ebp - 0x38], 1
call fcn.004324bf
cmp dword [ebp - 0xc], edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], eax
je 0x452293
xor dword [ebp - 0xc], 0x5aa59669
push 4
pop esi
lea ecx, [ebp - 0x28]
call fcn.004348af
dec esi
jne 0x452296
lea ecx, [ebp - 0xd488]
call fcn.0043295c
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov esi, 0x49e4b8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
call fcn.0043a76b
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x24]
call fcn.0043a76b
xor esi, esi
jmp 0x452066