Function at 0x1008a365
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x24]
push ebx
push esi
push edi
push dword [ebp + 0x20]
mov esi, dword [ebp + 8]
push dword [ebp + 0x1c]
xor edi, edi
push dword [ebp + 0x18]
inc edi
push dword [ebp + 0x14]
mov ebx, ecx
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x28]
push dword [eax]
push esi
push edi
call fcn.1003a4c7
fld qword [0x100cd100]
mov eax, dword [ebp + 0x38]
fstp qword [ebx + 0x58]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x34]
push 0x100e3d7c
mov dword [ebx], 0x100d2668
mov dword [ebx + 0x60], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x28]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x34]
shr eax, 4
and eax, 0x20000
test byte [ebp + 0x36], 0x40
mov dword [ebp + 0x1c], eax
je 0x1008a3d9
mov dword [ebp + 0x1c], edi
mov esi, dword [ebp + 0x2c]
fld qword [0x100cd100]
mov eax, dword [ebx + 0x20]
fstp qword [ebp - 8]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
lea edi, [ebx + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x2c]
add eax, ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x30]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp - 0x10], edx
mov dword [ebp + 0x14], ecx
jne 0x1008a41d
and word [eax], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.10049667
fld qword [ebp - 8]
fstp qword [ebx + 0x58]
pop ecx
fld qword [ebp - 8]
pop ecx
mov ecx, dword [ebp + 0x34]
fld qword [0x100d2660]
mov eax, ecx
fucompp
and eax, 0xa0
mov dword [ebp + 0x20], eax
fnstsw ax
test ah, 0x44
jp 0x1008a460
mov eax, dword [ebp + 0x30]
cmp word [eax], 0
jne 0x1008a460
and dword [ebp + 0x14], 0
jmp 0x1008a464
or byte [ebp + 0x23], 0x10
mov eax, dword [ebp + 0x30]
cmp word [eax], 0x3a
jne 0x1008a471
add dword [ebp + 0x30], 2
test ecx, 0x4000000
je 0x1008a47d
or byte [ebp + 0x22], 0x80
test ecx, 0x10000000
je 0x1008a489
or byte [ebp + 0x22], 0x20
test ecx, 0x8000000
je 0x1008a495
or byte [ebp + 0x22], 0x10
xor esi, esi
xor edx, edx
test cl, 0x40
mov edi, 0x100
jne 0x1008a4c2
cmp dword [ebx + 0x40], edx
jge 0x1008a4bf
cmp dword [ebx + 0x44], edx
jge 0x1008a4bf
cmp dword [ebx + 0x48], edx
jge 0x1008a4bf
cmp dword [ebx + 0x4c], edx
jge 0x1008a4bf
mov eax, dword [ebx + 0x14]
cmp word [eax], dx
je 0x1008a4c2
or dword [ebp + 0x20], edi
mov eax, dword [ebx + 0x14]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp + 0x24], ecx
jne 0x1008a4e2
mov cx, word [eax + 2]
neg cx
sbb ecx, ecx
and ecx, 0x20
mov word [eax], cx
cmp dword [ebx + 0x44], edx
jge 0x1008a4f1
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
cmp word [eax], dx
je 0x1008a4f4
xor esi, esi
inc esi
mov eax, dword [ebp + 0x34]
test eax, 0x40000000
je 0x1008a503
xor esi, esi
inc esi
jmp 0x1008a519
test eax, 0x20000000
je 0x1008a50f
push 2
pop esi
jmp 0x1008a519
test eax, eax
jns 0x1008a515
xor esi, esi
cmp esi, edx
jle 0x1008a51c
or dword [ebp + 0x20], esi
test edi, eax
je 0x1008a524
or byte [ebp + 0x21], 2
test eax, 0x2000000
je 0x1008a52e
mov dword [ebp + 0x1c], edx
mov ecx, dword [ebp + 0x20]
push 0x9c
mov dword [ebp + 0x28], ecx
mov esi, eax
call fcn.100b4338
and esi, 0x30000a0
pop ecx
je 0x1008a55a
test eax, eax
je 0x1008a56b
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.100b0ea4
jmp 0x1008a56d
test eax, eax
je 0x1008a56b
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.100b0202
jmp 0x1008a56d
xor eax, eax
test byte [ebp + 0x37], 1
mov dword [ebx + 0x1c], eax
je 0x1008a586
mov byte [eax + 0x70], 0x14
mov eax, dword [ebp + 0x20]
and eax, 0xfffffffd
or eax, 0xd
mov dword [ebp + 0x28], eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
push dword [eax + 0x18]
mov ecx, dword [ebx + 0x1c]
sub esp, 0x10
test esi, esi
mov edi, esp
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x1008a5c5
mov eax, dword [ebp + 0x28]
or eax, 0x40000000
push eax
push 0x100c6a64
call fcn.100b044b
mov al, byte [ebp + 0x20]
mov ecx, dword [ebx + 0x1c]
and al, 0xa3
mov byte [ecx + 0x8d], al
jmp 0x1008a5db
mov eax, dword [ebp + 0x20]
or eax, 0x40000000
push eax
push 0x100c6a64
push dword [ebp + 0x1c]
call fcn.100b03df
mov eax, dword [ebx + 0x14]
xor edi, edi
cmp word [eax], di
je 0x1008a5f5
cmp word [ebp + 0x24], 0x2a
je 0x1008a5f5
mov eax, dword [ebx + 0x1c]
mov byte [eax + 0x78], 1
jmp 0x1008a5fc
mov eax, dword [ebx + 0x1c]
mov byte [eax + 0x78], 0x40
lea ecx, [ebx + 0x40]
cmp dword [ecx], edi
jge 0x1008a619
cmp dword [ebx + 0x44], edi
jge 0x1008a619
cmp dword [ebx + 0x48], edi
jge 0x1008a619
cmp dword [ebx + 0x4c], edi
jge 0x1008a619
mov eax, dword [ebx + 0x1c]
or byte [eax + 0x78], 0x80
push ecx
mov ecx, dword [ebx + 0x1c]
call fcn.100b028b
mov ecx, dword [ebp + 0x18]
call fcn.1009fde3
fld qword [ebp - 8]
fcomp qword [0x100c9b80]
mov esi, eax
fnstsw ax
test ah, 0x41
je 0x1008a64a
mov eax, dword [ebp + 0x30]
cmp word [eax], di
jne 0x1008a64a
cmp word [ebp + 0x14], di
je 0x1008a666
push dword [ebp + 0x30]
lea eax, [ebp - 8]
push eax
push esi
call fcn.1008a313
add esp, 0xc
cmp eax, edi
je 0x1008a666
mov ecx, dword [ebx + 0x1c]
mov esi, eax
mov dword [ecx + 0x48], eax
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
push edi
push esi
call dword [eax + 0x84]
push dword [ebx + 0x10]
mov eax, dword [ebx + 0x1c]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, ebx
call fcn.1003a3f2
push 1
mov ecx, ebx
call fcn.1003a2f5
mov eax, dword [ebx + 0x1c]
push 1
push dword [eax + 0x18]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov eax, dword [ebp + 0x20]
and eax, 0x10000000
push eax
mov ecx, ebx
call fcn.1003a350
push 0x100e3d7c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x34