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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa7b5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x54b07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10dc8cc]
mov eax, ecx
and eax, 0xff000000
cmp eax, 0xb4000000
ja 0x44e86b
je 0x44e85c
cmp eax, 0x4b000000
je 0x44e84c
cmp eax, 0x78000000
je 0x44e829
cmp eax, 0xa5000000
jne 0x44e880
movzx eax, cx
shl eax, 7
mov dword [0x26935a4], eax
mov dword [0x27b5dc0], 0xc20000
mov dword [0x27b5dc4], 0x11118004
jmp 0x44ebf8
mov dword [0x26e994c], 1
mov dword [0x27b5dc0], 0xc20000
mov dword [0x27b5dc4], 0x11118008
jmp 0x44ebf8
movzx eax, cx
shl eax, 7
mov dword [0x26935a4], eax
jmp 0x44ebf8
mov dword [0x26e994c], 2
jmp 0x44ebf8
cmp eax, 0xd2000000
je 0x44e8d9
cmp eax, 0xe1000000
je 0x44e8b6
cmp eax, 0xf0000000
je 0x44e893
push ecx
push str.unknown_flashram_command:_x_n
call fcn.00402650
add esp, 8
jmp 0x44ebf8
mov dword [0x26e994c], 3
mov dword [0x27b5dc0], 0xf0000000
mov dword [0x27b5dc4], 0x11118004
jmp 0x44ebf8
mov dword [0x26e994c], 4
mov dword [0x27b5dc0], 0xc20000
mov dword [0x27b5dc4], 0x11118001
jmp 0x44ebf8
mov eax, dword [0x26e994c]
cmp eax, 4
ja case.0x44e8e7.3
jmp dword [eax*4 + 0x44ec28]
lea ecx, [ebp - 0x40]
call fcn.0040c730
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x44e916
mov eax, dword [ebp - 0x28]
push 0x5377f0
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x44e95a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44e950
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ec13
push ecx
push edx
call fcn.0049dbeb
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x44e98d
push esi
push 0x20000
push 1
push 0x2795dc0
call fcn.004cefce
push esi
call fcn.004cea42
add esp, 0x14
jmp 0x44e9a4
push 0x20000
push 0xff
push 0x2795dc0
call fcn.004c7d50
add esp, 0xc
mov ecx, dword [0x26935a4]
lea edx, [ecx + 0x80]
cmp ecx, edx
jae 0x44e9c5
mov eax, ecx
inc ecx
xor eax, 3
mov byte [eax + 0x2795dc0], 0xff
cmp ecx, edx
jb 0x44e9b4
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x44e9de
mov eax, dword [ebp - 0x28]
push 0x5377f4
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x44ea22
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44ea18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ec18
push ecx
push edx
call fcn.0049dbeb
add esp, 8
push esi
push 0x20000
push 1
push 0x2795dc0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004ce0c0
push esi
call fcn.004cea42
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00403fb0
jmp case.0x44e8e7.0
lea ecx, [ebp - 0x58]
call fcn.0040c730
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x44ea84
mov eax, dword [ebp - 0x28]
push 0x537840
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x44eac8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44eabe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ec1d
push ecx
push edx
call fcn.0049dbeb
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x44eafb
push esi
push 0x20000
push 1
push 0x2795dc0
call fcn.004cefce
push esi
call fcn.004cea42
add esp, 0x14
jmp 0x44eb12
push 0x20000
push 0xff
push 0x2795dc0
call fcn.004c7d50
add esp, 0xc
mov edi, dword [0x26be82c]
mov esi, 0x80
mov edx, dword [0x26935a4]
sub edi, edx
lea eax, [edi + edx]
mov ecx, edx
xor eax, 3
xor ecx, 3
inc edx
mov al, byte [eax + 0x115e970]
mov byte [ecx + 0x2795dc0], al
sub esi, 1
jne 0x44eb25
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x44eb5b
mov eax, dword [ebp - 0x28]
push 0x537844
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x44eb9f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44eb95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ec22
push ecx
push edx
call fcn.0049dbeb
add esp, 8
push esi
push 0x20000
push 1
push 0x2795dc0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004ce0c0
push esi
call fcn.004cea42
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.00403fb0
jmp case.0x44e8e7.0
push eax
push str.unknown_flashram_command_with_mode:_x_n
call fcn.00402650
add esp, 8
mov dword [0x25816b4], 1
mov dword [0x26e994c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049dba8
mov esp, ebp
pop ebp
ret
call fcn.004cb586
call fcn.004cb586
call fcn.004cb586
call fcn.004cb586
nop
out dx, al
jmp 4516975
add byte [ebx], dh
lds ecx, [ecx + 0x5756ec45]