Function at 0x47afa1
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, dword [ebp + 0x10]
push esi
push edi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x1c]
mov ebx, ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x24]
push dword [ebp + 0x28]
push dword [eax]
push edi
push 2
call fcn.00432bf2
push dword [ebp + 0x2c]
lea ecx, [ebx + 0x40]
mov dword [ebx], 0x4abacc
call fcn.00445835
mov eax, dword [ebp + 0x30]
and dword [ebx + 0x4c], 0
lea esi, [ebx + 0x48]
and dword [esi], 0
push 0x4beb4c
mov dword [ebx + 0x44], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
mov edi, dword [edi + 0x28]
add edx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
add eax, ecx
test byte [ebp + 0x33], 2
mov dword [ebp + 0x28], edi
mov byte [ebx + 0x50], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
je 0x47b02a
mov byte [ebx + 0x50], 1
xor ecx, ecx
cmp dword [ebp + 0x38], ecx
je 0x47b035
mov byte [ebx + 0x50], 2
mov eax, dword [edi + 0x48]
shl eax, 2
not eax
and eax, 0x10000
test byte [ebp + 0x30], 0x10
mov dword [ebp + 8], eax
mov dword [ebp + 0x1c], ecx
jne 0x47b055
mov dword [ebp + 0x1c], 0x10000000
mov eax, dword [ebx + 0x40]
cmp word [eax], cx
mov dword [ebp + 0x18], ecx
je 0x47b06f
push ecx
push ecx
push esi
push eax
call fcn.0044eb6f
add esp, 0x10
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x30]
cdq
push edx
push eax
call fcn.00437ce3
neg al
sbb al, al
inc al
cmp byte [ebx + 0x50], 0
pop ecx
pop ecx
mov byte [ebp + 0x23], al
je 0x47b0af
push 0x90
call fcn.0048f9e8
test eax, eax
pop ecx
je 0x47b0a7
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.0048e829
jmp 0x47b0a9
xor eax, eax
mov dword [ebx + 0x1c], eax
mov al, byte [ebp + 0x23]
cmp byte [ebx + 0x50], 0
mov esi, dword [ebx + 0x1c]
mov dword [ebp + 0x24], esi
jne 0x47b0dc
push 0x7c
call fcn.0048f9e8
test eax, eax
pop ecx
je 0x47b0d4
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.0048834b
jmp 0x47b0d6
xor eax, eax
mov dword [ebx + 0x1c], eax
mov al, byte [ebp + 0x23]
cmp byte [ebx + 0x50], 1
mov ecx, dword [ebx + 0x1c]
mov dword [ebp + 0x14], ecx
jne 0x47b18d
test byte [ebp + 0x30], 4
je 0x47b0f8
or byte [esi + 0x7c], 1
jmp 0x47b0fc
or byte [ebp + 0x1d], 2
test byte [ebp + 0x33], 0x20
je 0x47b108
or dword [ebp + 0x1c], 2
jmp 0x47b112
test byte [ebp + 0x33], 0x80
jne 0x47b112
or dword [ebp + 0x1c], 1
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x47b12d
or dword [ebp + 0x1c], 3
test byte [ebp + 0x32], 0x80
mov dword [esi + 0x80], ecx
je 0x47b12d
or byte [esi + 0x7c], 2
test al, al
jne 0x47b135
or byte [esi + 0x7c], 0x40
or word [ebp + 0x1c], 0x101
lea eax, [ebx + 0x10]
mov byte [esi + 0x7a], 1
mov byte [esi + 0x79], 0
push eax
lea ecx, [ebp + 0x10]
mov dword [ebx + 4], 0x10002
call fcn.00445835
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push dword [edi + 0x18]
lea esi, [ebp - 0x10]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or ecx, 0x40000000
movsd dword es:[edi], dword [esi]
push ecx
push dword [eax]
mov ecx, dword [ebp + 0x24]
movsd dword es:[edi], dword [esi]
call fcn.0048e122
lea ecx, [ebp + 0x10]
call fcn.00437960
mov al, byte [ebp + 0x23]
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
cmp byte [ebx + 0x50], 2
jne 0x47b245
test byte [ebp + 0x30], 4
je 0x47b1a3
or byte [esi + 0x7c], 1
jmp 0x47b1a7
or byte [ebp + 0x1d], 2
test byte [ebp + 0x33], 0x20
je 0x47b1b3
or dword [ebp + 0x1c], 2
jmp 0x47b1bd
test byte [ebp + 0x33], 0x80
jne 0x47b1bd
or dword [ebp + 0x1c], 1
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x47b1d8
or dword [ebp + 0x1c], 3
test byte [ebp + 0x32], 0x80
mov dword [esi + 0x80], ecx
je 0x47b1d8
or byte [esi + 0x7c], 2
test al, al
jne 0x47b1e0
or byte [esi + 0x7c], 0x40
or dword [ebp + 0x1c], 1
lea eax, [ebx + 0x10]
mov byte [esi + 0x7a], 2
mov byte [esi + 0x79], 0
push eax
lea ecx, [ebp + 0x10]
mov dword [ebx + 4], 0x10002
call fcn.00445835
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push dword [edi + 0x18]
lea esi, [ebp - 0x10]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or ecx, 0x40000000
push ecx
push dword [eax]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x24]
mov ecx, esi
call fcn.0048e122
lea ecx, [ebp + 0x10]
call fcn.00437960
push dword [esi + 0x18]
push 1
push 0x44d
push dword [ebp + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [ebp + 0x23]
cmp byte [ebx + 0x50], 0
jne 0x47b31f
test al, al
jne 0x47b257
or byte [ebp + 0x1f], 8
mov ecx, dword [ebp + 0x30]
test cl, 4
je 0x47b263
or byte [ebp + 0x1d], 0x20
test ecx, 0x20000000
je 0x47b271
or byte [ebp + 0x1d], 2
jmp 0x47b27f
test ecx, ecx
jns 0x47b27b
or byte [ebp + 0x1d], 1
jmp 0x47b27f
or byte [ebp + 0x1d], 3
cmp dword [ebp + 0x18], 0
je 0x47b295
or dword [ebp + 0x1c], 0x40
test ecx, 0x800000
je 0x47b295
or byte [ebp + 0x1d], 4
mov eax, dword [ebp + 0x14]
mov edi, ecx
shr edi, 0x13
and edi, 1
test ecx, 0x200000
je 0x47b2b0
or byte [eax + 0x64], 1
or dword [ebp + 0x1c], 0xb
test ecx, 0x400000
je 0x47b2c0
or byte [eax + 0x64], 2
or dword [ebp + 0x1c], 0xb
test ecx, 0x100000
je 0x47b2cc
or byte [eax + 0x64], 4
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp + 0x30]
call fcn.00445835
push dword [ebp + 0xc]
or edi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
push dword [ecx + 0x18]
or edi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
or edi, 0x40000000
push edi
push dword [eax]
call fcn.00488578
lea ecx, [ebp + 0x30]
call fcn.00437960
test byte [ebp + 0x1c], 0xb
jne 0x47b31f
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x47b31f
push 5
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x1c]
push 1
push dword [eax + 0x18]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, dword [ebp + 0x28]
xor edi, edi
call fcn.0048367f
test eax, eax
je 0x47b33d
mov edi, eax
cmp dword [ebp + 0x34], 0
je 0x47b370
push dword [ebp + 0x34]
lea ecx, [ebp + 0x30]
push ecx
push eax
mov dword [ebp + 0x30], 0x80000000
call fcn.00475b7c
add esp, 0xc
cmp byte [ebx + 0x50], 0
mov edi, eax
jne 0x47b36a
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x50], edi
jmp 0x47b370
mov dword [esi + 0x8c], edi
test edi, edi
je 0x47b37f
mov ecx, dword [ebx + 0x1c]
push 1
push edi
call fcn.0043b7f9
mov ecx, ebx
call fcn.00432b64
cmp dword [ebp + 0x18], 0
je 0x47b3a6
cmp byte [ebx + 0x50], 0
push dword [ebp + 0x18]
jne 0x47b39f
mov ecx, dword [ebp + 0x14]
call fcn.00488422
jmp 0x47b3a6
mov ecx, esi
call fcn.00437ba6
movzx eax, byte [ebp + 0x23]
push eax
mov ecx, ebx
call fcn.00432a67
mov eax, dword [ebp + 0x1c]
shr eax, 0x1c
and eax, 1
push eax
mov ecx, ebx
call fcn.00432ac2
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x34