Function at 0x13a66d8c
Capabilities:
Check for software breakpoints
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
inc ebx
push ebx
xor ecx, ecx
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x10]
or dword [ebp - 0x58], 0xffffffff
push ebx
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov dword [edi], ecx
call fcn.13a666b1
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
jne 0x13a66de1
or dword [edi], 4
jmp 0x13a671fc
mov eax, dword [esi + 0x224]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
test eax, eax
je 0x13a66f35
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 8]
inc dword [ebp - 0x1c]
add eax, ecx
movzx ecx, word [eax]
xor edx, edx
movzx ebx, cx
add eax, 2
mov dword [ebp - 0x20], edx
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x38], edx
mov dword [ebp + 8], edx
cmp ebx, edx
jbe 0x13a66f3f
mov ecx, eax
mov dword [ebp - 0x3c], ecx
jmp 0x13a66e2e
xor edx, edx
movzx eax, word [ecx]
sub eax, 0x100
je 0x13a66ea3
sub eax, 3
je 0x13a66e9e
sub eax, 0x14
je 0x13a66e7b
sub eax, 3
je 0x13a66e76
dec eax
je 0x13a66e54
sub eax, 9
jne 0x13a66eb7
lea eax, [ebp - 0x48]
jmp 0x13a66ea6
lea eax, [ebp - 0x24]
push eax
push ecx
push edx
push esi
call fcn.13a65bbd
test eax, eax
je 0x13a66dd9
cmp dword [ebp - 0x1c], 1
jne 0x13a66eb7
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
jmp 0x13a66eb7
lea eax, [ebp - 0x40]
jmp 0x13a66ea6
lea eax, [ebp - 0x38]
push eax
push ecx
push edx
push esi
call fcn.13a65bbd
test eax, eax
je 0x13a66dd9
cmp dword [ebp - 0x38], 0x155cc0
ja 0x13a66dd9
jmp 0x13a66eb7
lea eax, [ebp - 0x20]
jmp 0x13a66ea6
lea eax, [ebp + 0x10]
push eax
push ecx
push edx
push esi
call fcn.13a65bbd
test eax, eax
je 0x13a66dd9
mov ecx, dword [ebp - 0x3c]
inc dword [ebp + 8]
add ecx, 0xc
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 8], ebx
jb 0x13a66e2c
xor eax, eax
inc eax
cmp dword [ebp - 0x20], eax
jne 0x13a66ed9
or dword [edi], 2
jmp 0x13a66eeb
cmp dword [ebp - 0x20], 4
jne 0x13a66f3f
cmp dword [ebp + 0x10], 0x6c0
jne 0x13a66f3f
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x40], 0xcc
ja 0x13a66f0d
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xc8
ja 0x13a66f0d
cmp dword [ebp + 0x10], 0x6c0
ja 0x13a66f0d
cmp dword [ebp - 0x44], ecx
je 0x13a66f17
or dword [edi], 2
and dword [ebp - 0x2c], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
imul ebx, ebx, 0xc
add ebx, dword [esi + 8]
mov ebx, dword [ebx + eax + 2]
mov dword [ebp - 0x28], ebx
test ebx, ebx
jne 0x13a66df5
cmp dword [ebp - 0x2c], ebx
je 0x13a66f4a
inc ebx
or dword [edi], ebx
mov dword [ebp - 0x34], ebx
jmp 0x13a671fc
mov dword [edi], 4
jmp 0x13a671fc
cmp dword [ebp + 0xc], 0
je 0x13a671fc
mov ecx, dword [esi + 0x5f0]
mov eax, 0x6c0
mov dword [ebp + 0x10], ecx
cmp ecx, eax
ja 0x13a66f69
mov dword [ebp + 0x10], eax
test byte [ebp + 0x10], 7
mov ecx, dword [ebp + 0x10]
push 0
pop eax
setne al
shr ecx, 3
xor ebx, ebx
add eax, ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 8], ebx
je 0x13a66fae
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp + 0x10]
add eax, 0x106
mul dword [esi + 0x330]
push edx
push eax
call fcn.13a65ad1
test eax, eax
jl 0x13a66f3f
mov eax, dword [ebp + 8]
add eax, 8
jmp 0x13a66fb7
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [ebp - 0x58]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
call fcn.13a655b0
test eax, eax
je 0x13a671fc
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x74]
mul dword [ebp + 0x10]
push edx
push eax
call fcn.13a65ad1
test eax, eax
jl 0x13a66f3f
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
mov ebx, 0x1000
push ebx
push dword [ebp + 0xc]
push 0
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x13a671fc
push 4
push ebx
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0
call edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x13a671fc
mov eax, dword [ebp - 0x50]
and dword [eax + 4], 0
push 0x2a
mov ecx, 0x4949
mov word [eax], cx
pop ecx
push 1
push 1
push dword [ebp + 0x10]
mov word [eax + 2], cx
mov ebx, dword [ebp - 0x50]
push 4
add ebx, 8
push 0
mov dword [ebp - 0x14], 8
lea edi, [ebx - 4]
call fcn.13a664b1
mov dword [ebp - 0x18], eax
test eax, eax
je 0x13a671fc
and dword [ebp + 8], 0
cmp dword [ebp - 0x70], 0
jbe 0x13a671f5
mov eax, dword [ebp + 8]
inc eax
push 1
push eax
push esi
mov dword [ebp - 0x44], eax
call fcn.13a65e92
test eax, eax
je 0x13a671fc
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, 0xfffff940
add eax, 0x6c0
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push esi
call fcn.13a65e26
test eax, eax
je 0x13a671fc
cmp dword [ebp - 8], 0
je 0x13a670c9
mov esi, dword [esi + 0x5f4]
imul esi, dword [ebp - 0x40]
push esi
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
jmp 0x13a6710b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
and dword [eax + 0x600], 0
mov dword [eax + 0x608], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x650], ecx
lea ecx, [ebp - 4]
push ecx
mov dword [eax + 0x604], 0x20
push dword [esi + 0x5f4]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push eax
call fcn.13a69d1a
push dword [ebp - 4]
push dword [ebp - 0x10]
push ebx
call sub.msvcrt.dll_memcpy
add ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 4]
add esp, 0xc
mov ecx, ebx
sub ecx, dword [ebp - 0x50]
push 0x41
mov dword [edi], ecx
mov edi, ebx
pop ecx
mov esi, 0x13a03e80
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x30]
movsw word es:[edi], word [esi]
mov edx, dword [ecx + 0x64c]
mov dword [ebx + 0xd6], edx
mov edx, dword [ecx + 0x648]
mov dword [ebx + 0xde], edx
mov edx, dword [ebp + 8]
inc edx
movzx edx, dx
mov dword [ebx + 0xbe], edx
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x16], edx
mov edx, dword [ecx + 0x5f4]
mov dword [ebx + 0x22], edx
mov ecx, dword [ecx + 0x5f4]
mov dword [ebx + 0x76], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x82], ecx
mov ecx, eax
sub ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x30]
mov dword [ebx + 0x5e], ecx
lea ecx, [eax + 0xd6]
mov dword [ebx + 0x8e], ecx
lea ecx, [eax + 0xde]
mov dword [ebx + 0x9a], ecx
lea ecx, [eax + 0xe6]
mov dword [ebx + 0xca], ecx
mov ecx, dword [ebp - 8]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 4
mov dword [ebx + 0x3a], ecx
mov ecx, dword [ebp - 8]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 5
mov dword [ebx + 0xa6], ecx
mov ecx, 0x106
add eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x52], 1
lea edi, [ebx + 0xce]
add ebx, ecx
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 0x70]
jb 0x13a67072
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x58], 0xffffffff
je 0x13a6720e
push dword [ebp - 0x14]
lea eax, [ebp - 0x58]
push eax
call fcn.13a6509b
test esi, esi
je 0x13a67218
push esi
call fcn.13a65dad
cmp dword [ebp - 0x18], 0
je 0x13a67226
push dword [ebp - 0x18]
call fcn.13a65dad
cmp dword [ebp - 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edi, 0x8000
je 0x13a6723f
push edi
push 0
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], 0
je 0x13a6724d
push edi
push 0
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
leave
ret 0xc