Function at 0x404eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475e70
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x49f4a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov esi, ecx
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x404ee9
mov eax, dword [esi]
push 0x491a58
push eax
call fcn.0045605b
mov edi, eax
add esp, 8
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x404f35
push str.Error:_Could_not_create_file
push 0x4a4a80
call fcn.0040a4a0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x404f1d
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.0040b560
push eax
call fcn.0040a770
add esp, 0x10
xor al, al
jmp 0x4051b0
push edi
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x5850494d
push 4
push eax
call fcn.00458a90
push edi
push 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push 4
push eax
call fcn.00458a90
push edi
push 1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x9c
push 4
push eax
call fcn.00458a90
mov esi, dword [ebp - 0x40]
mov eax, 0xd20d20d3
push edi
push 1
push 4
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00458a90
mov ecx, dword [esi + 4]
mov eax, 0xd20d20d3
sub ecx, dword [esi]
add esp, 0x40
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, 0x9c
mov eax, edi
mov dword [ebp - 0x4c], edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c13b
mov esi, eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
push ecx
push edx
push esi
call fcn.0044d050
imul edi, edi, 0x9c
mov eax, 0xd20d20d3
push 0x404e90
imul edi
lea ecx, [edi + esi]
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
push eax
mov ecx, esi
call fcn.0040b7e0
add esp, 0x18
call fcn.00404d50
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x38]
mov esi, eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00428e50
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.00403c40
add esp, 4
mov byte [ebp - 4], 1
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x38]
push edi
mov edi, dword [ebp - 0x48]
push edi
push eax
call fcn.00429240
test al, al
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x58]
sete al
mov byte [ebp - 0x39], al
test edx, edx
je 0x4050a7
mov ecx, dword [ebp - 0x50]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40509a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4051cb
push ecx
push edx
call fcn.0042bbf9
mov al, byte [ebp - 0x39]
add esp, 8
test al, al
je 0x4050d5
push str.cannot_compress_n
push 0x4a4a80
call fcn.0040a4a0
push edi
call fcn.0042bc07
mov esi, dword [ebp - 0x44]
push esi
call fcn.00456431
add esp, 0x10
mov byte [ebp - 0x39], 0
jmp 0x4051a5
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x38]
push 0x491a90
call fcn.00429490
push eax
push str.__GetSize
push dword [esi + 4]
push str.___Encrypt___
push dword [esi + 8]
push str.___Compress___
push dword [esi + 0xc]
push 0x491a90
push dword [ebp - 0x4c]
push str.Elements
push 0x4a4998
call fcn.0040a4a0
add esp, 8
mov ecx, eax
call fcn.004075d0
push eax
call fcn.0040a4a0
add esp, 8
mov ecx, eax
call fcn.00407290
push eax
call fcn.0040a4a0
add esp, 8
mov ecx, eax
call fcn.00407290
push eax
call fcn.0040a4a0
add esp, 8
mov ecx, eax
call fcn.00407290
push eax
call fcn.0040a4a0
add esp, 8
mov ecx, eax
call fcn.00407290
push eax
call fcn.0040a4a0
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.00429490
mov esi, dword [ebp - 0x44]
push esi
push 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
call fcn.00458a90
push esi
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x38]
call fcn.00458a90
push esi
call fcn.00456431
push edi
call fcn.0042bc07
add esp, 0x28
mov byte [ebp - 0x39], 1
lea ecx, [ebp - 0x38]
call fcn.00428ec0
mov al, byte [ebp - 0x39]
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.0042bbb8
mov esp, ebp
pop ebp
ret
call fcn.00455e0a
int3