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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483588
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c2320]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
push 0x4ba8ac
push eax
mov dword [ebp - 4], ebx
call fcn.0044ad72
mov edi, eax
add esp, 8
mov dword [ebp - 0x34], edi
cmp edi, ebx
je 0x42d97f
push 2
push ebx
push edi
call fcn.0044c4ea
add esp, 0xc
push edi
call fcn.0044c3fb
add esp, 4
push ebx
push ebx
push edi
mov dword [ebp - 0x38], eax
call fcn.0044c4ea
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp eax, ebx
je 0x42d907
cmp eax, 0x100000
ja 0x42d907
push edi
push 1
lea eax, [ebp - 0x28]
push 0x10
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0044c24a
add esp, 0x10
cmp eax, 1
jne 0x42d907
lea ecx, [ebp - 0x28]
mov esi, eax
mov ebx, 2
mov edx, ecx
mov eax, 3
xor edi, edi
sub esi, ecx
sub ebx, edx
sub eax, ecx
mov dword [ebp - 0x54], eax
mov eax, 0x38e38e39
mul edi
shr edx, 1
lea edx, [edx + edx*8]
lea ecx, [ebp + edi - 0x28]
mov eax, edi
sub eax, edx
mov dl, byte [eax + 0x4cae44]
xor byte [ecx], dl
lea edx, [esi + ecx]
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, edi
sub edx, eax
movzx eax, byte [edx + 0x4cae45]
xor byte [ecx + 1], al
lea edx, [ebx + ecx]
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, edi
sub edx, eax
movzx eax, byte [edx + 0x4cae46]
xor byte [ecx + 2], al
mov edx, dword [ebp - 0x54]
add edx, ecx
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, edi
sub edx, eax
movzx eax, byte [edx + 0x4cae47]
xor byte [ecx + 3], al
add edi, 4
cmp edi, 0x10
jb 0x42d7e6
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 0x10]
jne 0x42d8ff
cmp dword [ebp - 0x24], 2
jne 0x42d8ff
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0xc]
jne 0x42d8ff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov dword [ecx + 0x48], eax
mov eax, edi
lea esi, [ebp - 0x48]
call fcn.00408d60
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
push edx
push 1
add edi, 0xfffffff0
push edi
push eax
call fcn.0044c24a
add esp, 0x10
cmp eax, 1
jne 0x42d8ff
mov esi, dword [ebp - 0x48]
call fcn.00421d90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
sub ecx, esi
je 0x42d8f3
xor esi, esi
cmp dword [ebp - 0x50], esi
je 0x42d8d2
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x30]
add eax, 0x34
push eax
lea ecx, [ebp - 0x50]
call fcn.0042f540
add esp, 4
jmp 0x42d8f5
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], 1
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
xor ebx, ebx
push edi
call fcn.0044b86e
mov edi, dword [ebp - 0x2c]
add esp, 4
cmp edi, ebx
je 0x42d96b
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x42d96b
mov edx, dword [esi + 0x48]
mov dword [eax], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [esi + 0x20]
push eax
call fcn.0042dee0
cmp eax, ebx
jne 0x42d965
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esi + 0x34]
call fcn.004289d0
mov eax, dword [esi + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x38]
mov dword [eax], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 8], eax
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x20]
call fcn.0042dcf0
mov dword [ebp - 0x2c], ebx
mov edi, ebx
jmp 0x42d96b
mov dword [esi], 1
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x42d97b
push eax
call fcn.0044a567
add esp, 4
mov eax, edi
jmp 0x42d982
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00449592
mov esp, ebp
pop ebp
ret 0xc