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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push 0x2c
lea ecx, [ebp - 0x30]
push esi
push ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
xor ebx, ebx
call fcn.0045f090
mov edx, dword [0x4a5078]
push 0x1cfce
add edx, 0x1e63f
push esi
push edx
call fcn.0045f090
mov eax, dword [0x4a5078]
push 0xbcc
mov dword [eax + 0x1c], esi
call fcn.00454c40
mov ecx, dword [0x4a5078]
add esp, 0x1c
mov dword [ebp - 0x34], esi
movzx eax, word [ecx + 0x28]
movzx edi, word [ecx + 0x2a]
imul edi, eax
xor edx, edx
mov eax, esi
div edi
test edx, edx
jne 0x45df56
xor edi, edi
cmp esi, edi
je 0x45df56
movzx eax, word [ecx + 0x28]
mov dword [ebp - 0x48], edi
cmp eax, edi
jbe 0x45de87
xor esi, esi
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], eax
movzx edx, word [ecx + 0x2c]
push edx
lea eax, [esi + ecx + 0x22e]
push 0
push eax
call fcn.0045f090
mov eax, dword [0x4a5078]
movzx ecx, word [eax + 0x2c]
mov edx, dword [ebp - 0x4c]
push ecx
lea ecx, [edx + eax + 0x1e641]
push ecx
lea edx, [esi + eax + 0x22e]
push edx
call fcn.0045fdb0
mov eax, dword [0x4a5078]
mov ebx, 1
mov ecx, ebx
add esp, 0x18
mov dword [ebp - 0x34], ebx
cmp cx, word [eax + 0x2a]
jae 0x45dde9
movzx edx, word [eax + 0x2c]
xor ecx, ecx
test edx, edx
je 0x45dddd
add ebx, dword [ebp - 0x40]
imul ebx, ebx, 0x202
lea edx, [esi + eax]
add eax, ebx
mov al, byte [eax + ecx + 0x1e641]
xor byte [edx + ecx + 0x22e], al
mov eax, dword [0x4a5078]
lea edx, [edx + ecx + 0x22e]
movzx edx, word [eax + 0x2c]
inc ecx
cmp ecx, edx
jb 0x45ddb2
mov ebx, dword [ebp - 0x34]
movzx ecx, word [eax + 0x2a]
inc ebx
mov dword [ebp - 0x34], ebx
cmp ebx, ecx
jb 0x45dda3
movzx edx, word [eax + 0x2c]
mov eax, dword [eax + 0x1e637]
push edx
lea ecx, [eax + edi + 2]
push 0
push ecx
call fcn.0045f090
mov eax, dword [0x4a5078]
movzx edx, word [eax + 0x2c]
push edx
mov edx, dword [eax + 0x1e637]
lea ecx, [esi + eax + 0x22e]
push ecx
lea eax, [edx + edi + 2]
push eax
call fcn.0045fdb0
mov eax, dword [0x4a5078]
movzx edx, word [eax + 0x2c]
mov eax, dword [eax + 0x1e637]
lea ecx, [ebp - 0x38]
push ecx
push edx
lea ecx, [eax + edi + 2]
push ecx
call fcn.0045b8a0
mov edx, dword [0x4a5078]
mov eax, dword [edx + 0x1e637]
mov cx, word [ebp - 0x38]
add dword [ebp - 0x4c], 0x2a2a
add dword [ebp - 0x40], 0x15
mov word [edi + eax], cx
mov ecx, dword [0x4a5078]
mov eax, dword [ebp - 0x48]
movzx edx, word [ecx + 0x28]
inc eax
add esp, 0x24
add esi, 0x200
add edi, 0x202
mov dword [ebp - 0x48], eax
cmp eax, edx
jb 0x45dd51
xor eax, eax
xor edi, edi
xor ebx, ebx
cmp ax, word [ecx + 0x2a]
jae 0x45deed
movzx eax, word [ecx + 0x28]
xor esi, esi
mov dword [ebp - 0x40], esi
lea esp, [esp]
xor edx, edx
test eax, eax
je 0x45ded8
jmp 0x45deb0
mov eax, dword [ecx + 0x1e63b]
mov cx, word [esi + ecx + 0x1e63f]
mov word [eax + edi*2], cx
mov ecx, dword [0x4a5078]
movzx eax, word [ecx + 0x28]
inc edx
inc edi
add esi, 0x2a2a
cmp edx, eax
jb 0x45deb0
mov esi, dword [ebp - 0x40]
movzx edx, word [ecx + 0x2a]
inc ebx
add esi, 0x202
mov dword [ebp - 0x40], esi
cmp ebx, edx
jb 0x45dea0
mov ax, word [ecx + 0x2a]
imul ax, word [ecx + 0x28]
mov edx, dword [ebp - 0x44]
mov word [ecx + 0x1e631], ax
mov ecx, dword [0x4a5078]
mov dword [ecx + 0x1e633], edx
mov eax, dword [0x4a5078]
inc dword [eax + 0x1c]
call fcn.0045d130
test eax, eax
jne 0x45e24b
xor ebx, ebx
push 0x2c
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], ebx
call fcn.0045f090
mov ecx, dword [0x4a5078]
push 0x1cfce
add ecx, 0x1e63f
push ebx
push ecx
call fcn.0045f090
mov ecx, dword [0x4a5078]
add esp, 0x18
movzx edx, word [ecx + 0x2c]
push edx
add ecx, 0x2e
push 0
push ecx
call fcn.0045f090
mov ecx, dword [0x4a5078]
movzx edx, word [ecx + 0x2c]
mov eax, dword [ecx + 8]
mov esi, dword [ebp - 0x3c]
sub eax, dword [ecx + 4]
lea edi, [edx + esi]
add esp, 0xc
cmp edi, eax
jb 0x45df87
sub eax, esi
jmp 0x45df89
mov eax, edx
mov edx, dword [ebp - 0x50]
push edx
push eax
add ecx, 0x2e
push 1
push ecx
call fcn.00464924
mov edi, eax
add dword [ebp - 0x44], edi
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x4a5078]
movzx ecx, word [eax + 0x2c]
push ecx
add eax, 0x2e
add esi, edi
push eax
mov dword [ebp - 0x3c], esi
call fcn.0045b8a0
mov eax, dword [0x4a5078]
movzx edx, word [eax + 0x2c]
mov esi, ebx
imul esi, esi, 0x15
add esi, dword [ebp + ebx*4 - 0x30]
push edx
imul esi, esi, 0x202
lea ecx, [eax + 0x2e]
push ecx
lea edx, [esi + eax + 0x1e641]
push edx
call fcn.0045fdb0
mov eax, dword [0x4a5078]
mov cx, word [ebp - 0x38]
mov word [esi + eax + 0x1e63f], cx
mov eax, dword [ebp + ebx*4 - 0x30]
mov ecx, dword [0x4a5078]
movzx esi, word [ecx + 0x28]
inc eax
mov dword [ebp + ebx*4 - 0x30], eax
xor edx, edx
lea eax, [ebx + 1]
div esi
add esp, 0x28
mov ebx, edx
movzx edx, word [ecx + 0x2c]
cmp edi, edx
je 0x45e034
movzx edi, word [ecx + 0x2a]
imul edi, esi
mov esi, dword [ebp - 0x34]
xor edx, edx
mov eax, esi
div edi
test edx, edx
jne 0x45e04a
test esi, esi
je 0x45e04a
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
cmp dword [ebp - 0x3c], eax
jae 0x45e04a
inc dword [ebp - 0x34]
mov esi, dword [ebp - 0x34]
jmp 0x45dd15
xor ebx, ebx
xor edx, edx
xor esi, esi
mov dword [ebp - 0x48], ebx
cmp dx, word [ecx + 0x28]
jae 0x45e1b3
xor edi, edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
jmp 0x45e070
movzx eax, word [ecx + 0x2c]
push eax
lea ecx, [esi + ecx + 0x22e]
push 0
push ecx
call fcn.0045f090
mov eax, dword [0x4a5078]
movzx edx, word [eax + 0x2c]
mov ecx, dword [ebp - 0x3c]
push edx
lea edx, [ecx + eax + 0x1e641]
push edx
lea eax, [esi + eax + 0x22e]
push eax
call fcn.0045fdb0
mov ecx, dword [0x4a5078]
lea eax, [ebp + ebx*4 - 0x30]
add esp, 0x18
cmp dword [eax], 1
mov dword [ebp - 0x34], 1
jbe 0x45e118
mov eax, dword [eax]
movzx edx, word [ecx + 0x2c]
mov dword [ebp - 0x50], eax
xor eax, eax
test edx, edx
je 0x45e109
mov ebx, dword [ebp - 0x34]
add ebx, dword [ebp - 0x40]
imul ebx, ebx, 0x202
lea ebx, [ebx]
lea edx, [esi + ecx]
add ecx, ebx
mov cl, byte [ecx + eax + 0x1e641]
xor byte [edx + eax + 0x22e], cl
mov ecx, dword [0x4a5078]
lea edx, [edx + eax + 0x22e]
movzx edx, word [ecx + 0x2c]
inc eax
cmp eax, edx
jb 0x45e0e0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x50]
jb 0x45e0c8
mov ebx, dword [ebp - 0x48]
movzx edx, word [ecx + 0x2c]
mov eax, dword [ecx + 0x1e637]
push edx
lea ecx, [eax + edi + 2]
push 0
push ecx
call fcn.0045f090
mov eax, dword [0x4a5078]
movzx edx, word [eax + 0x2c]
push edx
mov edx, dword [eax + 0x1e637]
lea ecx, [esi + eax + 0x22e]
push ecx
lea eax, [edx + edi + 2]
push eax
call fcn.0045fdb0
mov eax, dword [0x4a5078]
movzx edx, word [eax + 0x2c]
mov eax, dword [eax + 0x1e637]
lea ecx, [ebp - 0x38]
push ecx
push edx
lea ecx, [eax + edi + 2]
push ecx
call fcn.0045b8a0
mov edx, dword [0x4a5078]
mov eax, dword [edx + 0x1e637]
mov cx, word [ebp - 0x38]
add dword [ebp - 0x3c], 0x2a2a
add dword [ebp - 0x40], 0x15
mov word [edi + eax], cx
mov ecx, dword [0x4a5078]
movzx edx, word [ecx + 0x28]
inc ebx
add esp, 0x24
add esi, 0x200
add edi, 0x202
mov dword [ebp - 0x48], ebx
cmp ebx, edx
jb 0x45e070
xor eax, eax
xor edi, edi
xor ebx, ebx
cmp ax, word [ecx + 0x2a]
jae 0x45e20d
movzx eax, word [ecx + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], esi
xor edx, edx
test eax, eax
je 0x45e1f8
mov edi, edi
mov eax, dword [ecx + 0x1e63b]
mov cx, word [esi + ecx + 0x1e63f]
mov word [eax + edi*2], cx
mov ecx, dword [0x4a5078]
movzx eax, word [ecx + 0x28]
inc edx
inc edi
add esi, 0x2a2a
cmp edx, eax
jb 0x45e1d0
mov esi, dword [ebp - 0x3c]
movzx edx, word [ecx + 0x2a]
inc ebx
add esi, 0x202
mov dword [ebp - 0x3c], esi
cmp ebx, edx
jb 0x45e1c8
movzx esi, word [ecx + 0x28]
xor edx, edx
xor eax, eax
test esi, esi
je 0x45e229
lea esp, [esp]
add edx, dword [ebp + eax*4 - 0x30]
inc eax
cmp eax, esi
jb 0x45e220
mov word [ecx + 0x1e631], dx
mov eax, dword [0x4a5078]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x1e633], ecx
call fcn.0045d130
mov eax, dword [0x4a5078]
inc dword [eax + 0x1c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret