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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x608], eax
push 0x200
lea eax, [ebp - 0x204]
mov dword [ebp - 0x624], edi
push edi
push eax
mov ebx, edi
call fcn.1012db70
push 0x200
lea eax, [ebp - 0x604]
push edi
push eax
call fcn.1012db70
push 0x200
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.1012db70
add esp, 0x24
mov dword [ebp - 0x61c], edi
mov dword [ebp - 0x618], edi
mov dword [ebp - 0x628], edi
test esi, esi
je 0x10073ffa
mov eax, 0x200
cmp dword [ebp + 0x10], eax
jb 0x10073ffa
push eax
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.1012d5f0
mov edx, dword [ebp - 0x608]
add esp, 0xc
mov dword [ebp - 0x60c], 0x31544146
mov dword [ebp - 0x610], 0x33544146
mov dword [ebp - 0x614], 0x5346544e
cmp edx, 0xffffffff
je 0x10073ffa
cmp dword [ebp - 0x3a], ebx
je 0x100740ee
mov esi, dword [ebp - 0x60c]
lea eax, [ebp - 0x3e]
mov edi, dword [ebp - 0x610]
mov dword [ebp - 0x620], eax
mov ecx, dword [ebp - 0x620]
mov al, byte [eax - 4]
cmp byte [ecx - 8], 0x80
jne 0x10073fe0
mov dword [ebp - 0x628], 1
cmp al, 6
je 0x10073f52
cmp al, 0x1b
je 0x10073f52
cmp al, 0xc
je 0x10073f52
cmp al, 0x1c
je 0x10073f52
cmp al, 7
jne 0x10073fe8
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x618]
shld eax, ecx, 9
push 0
mov dword [ebp - 0x618], eax
lea eax, [ebp - 0x618]
shl ecx, 9
push eax
push ecx
push edx
mov dword [ebp - 0x61c], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x624]
push eax
push 0x200
lea eax, [ebp - 0x404]
push eax
mov eax, dword [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100740ee
mov eax, dword [ebp - 0x614]
cmp eax, dword [ebp - 0x401]
je 0x1007406f
cmp edi, dword [ebp - 0x3b2]
je 0x1007406f
mov edx, dword [ebp - 0x608]
cmp esi, dword [ebp - 0x3ce]
jne 0x10074078
xor ebx, ebx
inc ebx
jmp 0x10074078
cmp al, 0xf
je 0x1007400b
cmp al, 5
je 0x1007400b
cmp al, 0xee
jne 0x10074078
mov dword [0x10248128], 1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x618]
shld eax, ecx, 9
push 0
mov dword [ebp - 0x618], eax
lea eax, [ebp - 0x618]
shl ecx, 9
push eax
push ecx
push edx
mov dword [ebp - 0x61c], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x624]
push eax
push 0x200
lea eax, [ebp - 0x604]
push eax
mov eax, dword [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100740ee
mov eax, 0xaa55
cmp word [ebp - 0x406], ax
jne 0x10074072
xor ebx, ebx
inc ebx
mov edx, dword [ebp - 0x608]
mov eax, dword [ebp - 0x620]
add eax, 0x10
mov dword [ebp - 0x620], eax
cmp dword [eax + 4], 0
jne 0x10073f1d
test ebx, ebx
je 0x100740ee
cmp dword [ebp - 0x628], 0
je 0x100740cf
mov edx, dword [ebp - 0x2e]
test edx, edx
je 0x100740ee
mov ecx, dword [ebp - 0x3a]
xor ebx, ebx
add ecx, dword [ebp - 0x3e]
cmp edx, ecx
sete bl
je 0x100740cb
mov eax, ecx
and eax, 0xfffff000
cmp eax, ecx
je 0x100740c4
add eax, 0x1000
xor ebx, ebx
cmp edx, eax
sete bl
test ebx, ebx
jne 0x100740ee
push 0x1001
push 0x101976b4
push 0x101976cc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ebx, [eax - 1]
neg ebx
sbb ebx, ebx
inc ebx
mov eax, ebx
jmp 0x10073ffc