Function at 0x5daea0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x675808
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x214]
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
push edi
push 0x80
push 3
push edi
push 1
push connect
push eax
call fcn.004e0400
add esp, 0x1c
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
je 0x5daf94
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x5daf89
lea eax, [edi + edi + 0x14]
mov dword [ebp - 0x34], eax
push eax
call fcn.004d9470
add esp, 4
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x5daf89
push esi
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5daf6f
push ebx
call fcn.005e0865
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x30], ebx
jmp 0x5daf89
mov edi, dword [ebp - 0x34]
push edi
call fcn.004d9470
mov esi, eax
mov dword [ebp - 0x3c], esi
push edi
call fcn.004d9470
add esp, 8
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x4c]
push edx
call fcn.004dca10
xor edi, edi
cmp ebx, edi
je 0x5db4da
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov al, byte [ebx]
cmp al, 0xef
jne 0x5dafd0
cmp byte [ebx + 1], 0xbb
jne 0x5dafd0
cmp byte [ebx + 2], 0xbf
jne 0x5dafd0
lea edi, [ebx + 3]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x2c]
dec eax
push eax
push edi
push ebx
call fcn.005e4630
add esp, 0xc
jmp 0x5db06b
cmp al, 0xff
jne 0x5db016
cmp byte [ebx + 1], 0xfe
jne 0x5db016
cmp byte [ebx + 3], 0
jne 0x5db016
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebx + 2]
push edx
call fcn.004da960
add esp, 8
test eax, eax
je 0x5db06b
cmp dword [ebp - 0x1c], 0
je 0x5db06b
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5db006
mov eax, dword [ebp - 0x1c]
push eax
jmp 0x5db05e
cmp al, 0xfe
jne 0x5db066
cmp byte [ebx + 1], 0xff
jne 0x5db066
cmp byte [ebx + 2], 0
jne 0x5db066
mov ecx, dword [ebp - 0x2c]
add ecx, 2
push ecx
call fcn.004d9470
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x5db06b
lea eax, [ebx + 2]
push eax
mov edi, dword [ebp - 0x1c]
push edi
call fcn.004a0e50
add esp, 8
mov ecx, edi
mov edx, ebx
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5db050
mov edx, dword [ebp - 0x1c]
push edx
call fcn.005e0865
add esp, 4
mov edi, ebx
mov dword [ebp - 0x28], edi
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
mov eax, ecx
inc ecx
mov dword [ebp - 0x38], ecx
cmp eax, edx
jae 0x5db093
mov al, byte [edi]
cmp al, 0x20
je 0x5db08d
cmp al, 9
je 0x5db08d
cmp al, 0xd
je 0x5db08d
cmp al, 0xa
jne 0x5db093
inc edi
mov dword [ebp - 0x28], edi
jmp 0x5db071
test edi, edi
je 0x5db488
push edi
call fcn.004dd6c0
add esp, 4
test edi, edi
je 0x5db488
cmp byte [edi], 0
je 0x5db488
push str.__xml
push edi
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x5db488
push 0x3c
add edi, 6
push edi
call fcn.005e0940
add esp, 8
mov edi, eax
test edi, edi
je 0x5db488
push str._Task
push edi
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x5db488
add edi, 7
mov dword [ebp - 0x48], edi
push eax
push str._Command_
push edi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x5db488
add eax, 9
add edi, eax
test esi, esi
je 0x5db42d
mov ecx, esi
mov al, byte [edi]
mov byte [ecx], al
inc edi
inc ecx
test al, al
jne 0x5db126
push 0x3c
push esi
call fcn.005e0940
add esp, 8
test eax, eax
je 0x5db488
mov byte [eax], 0
push esi
call fcn.004e1290
push 0
push str.regsvr
push esi
call fcn.004f5880
mov dword [ebp - 0x40], eax
push 0
push str.powershell
push esi
call fcn.004f5880
mov dword [ebp - 0x34], eax
push 0
push str.nanopack
push esi
call fcn.004f5880
mov edi, eax
push 0
push str.Nano_Service
push esi
call fcn.004f5880
mov ebx, eax
push 0
push str.rundll32
push esi
call fcn.004f5880
add esp, 0x40
mov dword [ebp - 0x1c], eax
push 0
push str.Morzhovoi
push esi
call fcn.004f5880
mov dword [ebp - 0x50], eax
push 0
push str.service_pack
push esi
call fcn.004f5880
mov dword [ebp - 0x54], eax
push 0
push 0x618e20
push esi
call fcn.004f5880
add esp, 0x24
mov dword [ebp - 0x44], eax
cmp edi, 0xffffffff
jne 0x5db3db
or edi, edi
cmp ebx, edi
jne 0x5db3db
cmp dword [ebp - 0x50], edi
jne 0x5db3db
cmp dword [ebp - 0x54], edi
jne 0x5db3db
cmp dword [ebp - 0x40], edi
jne 0x5db20f
cmp dword [ebp - 0x34], edi
jne 0x5db20f
cmp dword [ebp - 0x1c], edi
jne 0x5db20f
cmp eax, edi
je 0x5db488
or edi, 0xffffffff
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x5db222
mov ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5db218
push 0
push str._Arguments_
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004f5880
add esp, 0xc
cmp eax, edi
je 0x5db488
mov edx, dword [ebp - 0x48]
lea ecx, [eax + edx + 0xb]
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5db246
push 0x3c
push esi
call fcn.005e0940
add esp, 8
test eax, eax
je 0x5db488
mov byte [eax], 0
push esi
call fcn.004e1290
add esp, 4
or edi, 0xffffffff
cmp dword [ebp - 0x40], edi
jne 0x5db2ad
cmp dword [ebp - 0x44], edi
jne 0x5db2ad
cmp dword [ebp - 0x1c], edi
jne 0x5db2ad
cmp dword [ebp - 0x34], edi
je 0x5db2f7
push esi
call fcn.005da810
add esp, 4
test eax, eax
je 0x5db2f7
mov eax, dword [ebp - 0x20]
push esi
test eax, eax
je 0x5db2e1
push eax
push str._JOB___INFECTED_PARAM___s__s
push 0
call fcn.004f0f30
add esp, 0x10
jmp 0x5db2f0
push esi
call fcn.005d9840
add esp, 4
test eax, eax
je 0x5db2f7
push esi
call fcn.005d9a20
add esp, 4
test eax, eax
jne 0x5db2f7
mov eax, dword [ebp - 0x20]
push esi
test eax, eax
je 0x5db2e1
push eax
push str._JOB___INFECTED_PARAM___s__s
push 0
call fcn.004f0f30
add esp, 0x10
jmp 0x5db2f0
push str._JOB___INFECTED_PARAM___s
push 0
call fcn.004f0f30
add esp, 0xc
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x1c], edi
je 0x5db488
push 0
push 0x627cd0
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5db36d
push 0
push str..DMP
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5db36d
push 0
push str.MeRaxTool
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5db36d
push 0
push str.McMan
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5db36d
push 0
push str.scrobj
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x5db488
mov eax, dword [ebp - 0x20]
push esi
test eax, eax
je 0x5db387
push eax
push str._JOB___INFECTED_PARAM___s__s
push 0
call fcn.004f0f30
add esp, 0x10
jmp 0x5db396
push str._JOB___INFECTED_PARAM___s
push 0
call fcn.004f0f30
add esp, 0xc
push 0x2c
push esi
call fcn.005e0940
add esp, 8
test eax, eax
je 0x5db3a8
mov byte [eax], 0
push esi
call fcn.004e1290
push esi
call fcn.004e3310
push 0
push 0
push 0
push 0
push esi
call fcn.004ec5a0
add esp, 0x1c
test eax, eax
jne 0x5db481
push esi
call fcn.005da330
add esp, 4
jmp 0x5db481
push esi
call fcn.004e3310
push esi
push str._JOB___INFECTED_COMMAND___s
push 0
call fcn.004f0f30
push 0x5c
push esi
call fcn.005e0a00
add esp, 0x18
test eax, eax
je 0x5db400
inc eax
jmp 0x5db402
mov eax, esi
push eax
push str.nano.exe_NanoServicePackUpdater.exe_Morzhovoi.exe__s
lea eax, [ebp]
push eax
call fcn.005dfb23
lea ecx, [ebp]
push ecx
call fcn.0050c680
push 0
push 0
push 0
push 0
push esi
call fcn.004ec5a0
add esp, 0x24
jmp 0x5db3c5
push 0
push str.regsvr
push edi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x5db488
push 0
push str.http:__
push edi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5db481
push 0
push str..dll
push edi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5db481
push 0
push str..php
push edi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x5db488
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x30]
xor edi, edi
cmp eax, edi
je 0x5db49d
push eax
call fcn.005e0865
add esp, 4
mov dword [ebp - 0x30], edi
cmp esi, edi
je 0x5db4ad
push esi
call fcn.005e0865
add esp, 4
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x5db4da
push eax
call fcn.005e0865
add esp, 4
mov dword [ebp - 0x20], edi
jmp 0x5db4da
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x20c
mov esp, ebp
pop ebp
ret