Function at 0x4974a0
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x4ec326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov edi, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
push eax
push ecx
push edi
push 1
mov ecx, esi
call fcn.0043d940
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push 0x51d5ec
mov dword [esp + 0x20], 0
mov dword [esi], 0x4fb5c4
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], ebx
mov dword [esp + 0x28], 0x51d5ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x48]
mov ebp, dword [ecx]
mov dword [esp + 0x2c], eax
lea edx, [esi + 0x40]
mov eax, edx
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [eax + 4], ebp
mov ebp, dword [ecx + 8]
mov dword [eax + 8], ebp
mov ecx, dword [ecx + 0xc]
mov ebp, dword [esi + 0x2c]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
add ebp, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x28]
add eax, ecx
mov edi, ebx
shr edi, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
and edi, 0x20000
cmp eax, 0xfffffff0
mov byte [esp + 0x1c], 1
mov dword [esp + 0x40], ecx
je 0x497594
mov dword [esp + 0x40], 0x10000000
test ebx, 0x4000000
je 0x4975a4
or dword [esp + 0x40], 0x800000
test ebx, 0x10000000
je 0x4975b4
or dword [esp + 0x40], 0x200000
test ebx, 0x8000000
je 0x4975c4
or dword [esp + 0x40], 0x100000
test bl, 0x40
jne 0x4975ec
cmp dword [edx], ecx
jge 0x4975e4
cmp dword [esi + 0x44], ecx
jge 0x4975e4
cmp dword [esi + 0x48], ecx
jge 0x4975e4
cmp dword [esi + 0x4c], ecx
jge 0x4975e4
mov edx, dword [esi + 0x14]
cmp word [edx], cx
je 0x4975ec
or dword [esp + 0x40], 0x100
mov eax, dword [esi + 0x14]
xor edx, edx
mov dx, word [eax]
cmp dx, 0x2a
mov dword [esp + 0x30], edx
jne 0x49760d
mov dx, word [eax + 2]
neg dx
sbb edx, edx
and edx, 0x20
mov word [eax], dx
mov eax, dword [esi + 0x44]
test eax, eax
jge 0x497620
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
cmp word [edx], 0
je 0x497625
mov ecx, 1
test ebx, 0x40000000
je 0x497634
mov ecx, 1
jmp 0x49764b
test ebx, 0x20000000
je 0x497643
mov ecx, 2
jmp 0x49764b
test ebx, ebx
js 0x49764f
test ecx, ecx
jle 0x49764f
or dword [esp + 0x40], ecx
test bl, 0x20
je 0x49765c
or dword [esp + 0x40], 0x200
push 0x80
call fcn.004cc845
add esp, 4
and ebx, 0x2000000
mov dword [esp + 0x44], eax
je 0x49768b
test eax, eax
mov byte [esp + 0x1c], 2
je 0x4976a1
lea ecx, [esi + 0x34]
push ecx
mov ecx, eax
call fcn.004b076e
jmp 0x4976a3
test eax, eax
mov byte [esp + 0x1c], 3
je 0x4976a1
lea edx, [esi + 0x34]
push edx
mov ecx, eax
call fcn.004b04ae
jmp 0x4976a3
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esi + 0x1c], ecx
mov eax, dword [edx + 0x18]
push eax
mov eax, dword [esp + 0x44]
sub esp, 0x10
test ebx, ebx
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 8], eax
mov byte [esp + 0x34], 1
mov dword [edx + 0xc], ebp
je 0x4976f3
mov ebx, dword [esp + 0x58]
mov edx, ebx
or edx, 0x40000000
push edx
push 0x4efd50
call fcn.004b0616
jmp 0x49770d
mov edx, dword [esp + 0x58]
or edx, 0x40000000
push edx
push 0x4efd50
push edi
call fcn.004b05bd
mov ebx, dword [esp + 0x40]
mov eax, dword [esi + 0x14]
cmp word [eax], 0
je 0x497725
cmp word [esp + 0x30], 0x2a
je 0x497725
mov ecx, dword [esi + 0x1c]
mov byte [ecx + 0x49], 1
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x40]
push eax
call fcn.004b051b
mov ecx, dword [esp + 0x2c]
call fcn.004a38a0
mov edi, eax
mov eax, dword [esp + 0x4c]
test eax, eax
jl 0x497766
push 0
lea edx, [esp + 0x50]
push edx
push edi
call fcn.00497450
mov ecx, dword [esi + 0x1c]
mov dword [ecx + 0x40], eax
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0x40]
add esp, 0xc
test eax, eax
je 0x497766
mov edi, eax
test edi, edi
je 0x497781
cmp edi, 0xffffffff
je 0x497781
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x18]
push 0
push edi
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x18]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 8]
cmp word [eax], 0
je 0x4977a8
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x30]
push edx
push eax
call fcn.00466e80
push 1
mov ecx, esi
call fcn.0043d740
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x18]
push 1
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
and ebx, 0x10000000
push ebx
mov ecx, esi
call fcn.0043d7e0
push 0x51d5ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x34