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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x37f]
mov byte [ebp - 0x380], bl
push 0x1f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1fb]
mov byte [ebp - 0x1fc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x27b]
mov byte [ebp - 0x27c], bl
mov dword [ebp - 0x50], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x20], 0x53
stosb byte es:[edi], al
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x79
mov byte [ebp - 0x18], 0x2d
mov byte [ebp - 0x17], 0x57
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x79
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x63
mov byte [ebp - 0x45], 0x75
mov byte [ebp - 0x44], 0x72
mov byte [ebp - 0x43], 0x69
mov byte [ebp - 0x42], 0x74
mov byte [ebp - 0x41], 0x79
mov byte [ebp - 0x40], 0x2d
mov byte [ebp - 0x3f], 0x57
mov byte [ebp - 0x3e], 0x61
mov byte [ebp - 0x3d], 0x79
mov byte [ebp - 0x3c], 0x20
mov byte [ebp - 0x3b], 0x46
mov byte [ebp - 0x3a], 0x69
mov byte [ebp - 0x39], 0x6c
mov byte [ebp - 0x38], 0x65
mov byte [ebp - 0x37], 0x20
mov byte [ebp - 0x36], 0x49
mov byte [ebp - 0x35], 0x6e
mov byte [ebp - 0x34], 0x74
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x67
mov byte [ebp - 0x31], 0x72
mov byte [ebp - 0x30], 0x69
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x2e], 0x79
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x53
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x2a], 0x67
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0x75
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x2e
push 0x3a
xor eax, eax
pop ecx
lea edi, [ebp - 0x178]
mov dword [ebp - 0x17c], ebx
push 7
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x8f]
mov byte [ebp - 0x90], bl
push 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x6f]
mov byte [ebp - 0x70], bl
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov byte [ebp - 0x22], bl
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x380]
push eax
call fcn.10013080
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
pop ecx
pop ecx
lea eax, [ebp - 0x380]
push eax
call esi
push 3
pop edi
cmp eax, edi
jl 0x10008267
lea eax, [ebp - 0x380]
push eax
call esi
lea ecx, [ebp - 0x380]
sub ecx, edi
mov byte [eax + ecx], 0x53
lea eax, [ebp - 0x380]
push eax
call esi
lea ecx, [ebp - 0x380]
dec ecx
dec ecx
mov byte [eax + ecx], 0x69
lea eax, [ebp - 0x380]
push eax
call esi
mov byte [ebp + eax - 0x381], 0x67
push ebx
push ebx
push edi
push ebx
push edi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
mov dword [ebp - 8], esi
je 0x100085b7
cmp dword [ebp + 0xc], ebx
push esi
jne 0x10008297
call fcn.10007faa
jmp 0x1000829c
call fcn.1000802a
pop ecx
mov dword [ebp + 0xc], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x48]
push 0x26
push eax
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x10], edi
push eax
call fcn.10011d60
add esp, 0xc
add edi, 0xffffff80
push ebx
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call edi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x27c]
push 0x80
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
call esi
push ebx
push ebx
push ebx
push dword [ebp - 8]
call edi
lea eax, [ebp - 0x27c]
push 0x26
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.10012400
add esp, 0xc
test eax, eax
jne 0x10008321
sub dword [ebp - 0x10], 0x80
jmp 0x10008351
push ebx
push ebx
push 3
push ebx
push 3
lea eax, [ebp - 0x380]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 4]
push ebx
push ecx
lea ecx, [ebp - 0x27c]
push 0x80
push ecx
push eax
mov dword [ebp - 0x50], eax
call esi
push 4
mov edi, 0x10000
push 0x1000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.10007eb0
add esp, 0xc
cmp dword [ebp + 0xc], edi
jb 0x100083e5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], ebx
cmp eax, ebx
jbe 0x100083d5
lea eax, [ebp - 4]
push ebx
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], ebx
je 0x100083d2
push dword [ebp - 4]
lea eax, [ebp - 0x17c]
push dword [ebp + 8]
push eax
call fcn.10007d77
push edi
push ebx
push dword [ebp + 8]
call fcn.10012320
add esp, 0x18
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xc]
jb 0x10008395
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ebx
push ecx
mov ecx, dword [ebp + 0xc]
shl eax, 0x10
sub ecx, eax
push ecx
jmp 0x100083ed
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], ebx
je 0x1000840f
push dword [ebp - 4]
lea eax, [ebp - 0x17c]
push dword [ebp + 8]
push eax
call fcn.10007d77
add esp, 0xc
push edi
push ebx
push dword [ebp + 8]
call fcn.10012320
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.10007f59
mov eax, dword [ebp + 0xc]
pop ecx
cmp dword [ebp - 0x10], eax
pop ecx
lea eax, [ebp - 0x20]
push 0xd
push eax
lea eax, [ebp - 0x17c]
push eax
je 0x100084ea
call fcn.10007eb0
push edi
push ebx
push dword [ebp + 8]
call fcn.10012320
add esp, 0x18
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x10]
push ebx
sub eax, dword [ebp + 0xc]
cmp eax, edi
mov dword [ebp - 0xc], eax
jb 0x1000847f
lea eax, [ebp - 4]
push eax
push edi
jmp 0x10008484
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], ebx
je 0x100084a6
push dword [ebp - 4]
lea eax, [ebp - 0x17c]
push dword [ebp + 8]
push eax
call fcn.10007d77
add esp, 0xc
push edi
push ebx
push dword [ebp + 8]
call fcn.10012320
add esp, 0xc
cmp dword [ebp - 0xc], edi
push ebx
push ebx
jb 0x100084d4
mov eax, dword [ebp - 0x10]
add eax, 0xffff0000
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push ebx
push eax
push edi
jmp 0x10008512
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 0xc]
jmp 0x10008512
call fcn.10007eb0
push edi
push ebx
push dword [ebp + 8]
call fcn.10012320
add esp, 0x18
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push ebx
push eax
push 0x800
push dword [ebp + 8]
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], ebx
je 0x10008534
push dword [ebp - 4]
lea eax, [ebp - 0x17c]
push dword [ebp + 8]
push eax
call fcn.10007d77
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.10007f59
pop ecx
lea eax, [ebp - 0x90]
pop ecx
push 0x20
push eax
lea eax, [ebp - 0x1ce]
push eax
call fcn.10011d60
lea eax, [ebp - 0x70]
push 0x20
push eax
lea eax, [ebp - 0x1ae]
push eax
call fcn.10011d60
add esp, 0x18
push 0x8000
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
lea eax, [ebp - 0x27c]
push 0x80
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.10012400
add esp, 0xc
neg eax
sbb eax, eax
and ax, 0xe022
add eax, 0x1fde
pop edi
pop esi
pop ebx
leave
ret