Function at 0x43ea30
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x4e9ad6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
mov edi, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push edx
push eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx]
push eax
push ecx
push edi
push 3
mov ecx, esi
call fcn.0043d940
mov ecx, dword [esp + 0xac]
push 0x51d5ec
mov dword [esp + 0x84], 0
mov dword [esi], 0x4f77f0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0xffffffff
mov dword [esp + 0x1c], 0x51d5ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x20]
mov edi, dword [edi + 0x2c]
add ebx, eax
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x28]
add eax, ecx
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x40]
shr eax, 0x17
and al, 1
mov dword [esp + 0xa0], edi
mov edi, dword [edi + 0x48]
mov byte [esp + 0xa4], al
mov eax, dword [esp + 0xac]
shl edi, 2
mov ebp, eax
shr ebp, 0xc
not edi
and edi, 0x10000
and ebp, 0x200
test al, 0x10
mov dword [esp + 0x98], ecx
mov byte [esp + 0x80], 1
mov ecx, 0x40000000
jne 0x43eb55
mov dword [esp + 0x90], 0x50000000
mov ecx, dword [esp + 0x90]
test eax, 0x4000000
jne 0x43eb62
or ecx, 0x800000
test eax, 0x10000000
je 0x43eb6f
or ecx, 0x200000
test eax, 0x8000000
je 0x43eb7c
or ecx, 0x100000
test eax, 0x40000000
je 0x43eb88
or ecx, 1
jmp 0x43eb92
test eax, 0x20000000
je 0x43eb92
or ecx, 2
test al, 0x20
je 0x43eba8
and ecx, 0xffefffff
or eax, 4
mov dword [esp + 0xac], eax
jmp 0x43ebae
or ecx, 0x80
test al, 8
mov dword [esp + 0x90], ecx
je 0x43ebc6
or ecx, 0x800
mov dword [esp + 0x90], ecx
mov eax, dword [esi + 0x10]
push 0xa
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
mov ecx, dword [esp + 0xac]
je 0x43ebe7
or ecx, 4
mov dword [esp + 0xac], ecx
test cl, 1
mov eax, dword [esp + 0x90]
je 0x43ebf6
or eax, 0x20
test al, 0x20
je 0x43ec04
and ecx, 0xfffffffb
mov dword [esp + 0xac], ecx
test cl, 4
je 0x43ec0c
or eax, 4
test ch, ch
jns 0x43ec15
or eax, 0x8000000
or edi, 0x40001000
or eax, edi
test ch, 4
mov dword [esp + 0x90], eax
je 0x43ec35
or eax, 0x2000
mov dword [esp + 0x90], eax
test ecx, 0x2000000
je 0x43ec47
or eax, 4
mov dword [esp + 0x90], eax
mov al, byte [esp + 0xa4]
test al, al
je 0x43ecda
mov al, byte [0x51d3a0]
test al, al
jne 0x43ec95
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.riched20.dll
call edi
test eax, eax
mov dword [0x51d39c], eax
je 0x43ec7e
mov byte [0x51d3a0], 2
jmp 0x43ec95
push str.RICHED32.DLL
call edi
test eax, eax
setne dl
mov dword [0x51d39c], eax
mov byte [0x51d3a0], dl
push 0x80
call fcn.004cc845
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x80], 2
je 0x43ecc0
push esi
lea ecx, [esi + 0x34]
push ecx
mov ecx, eax
call fcn.004af7f0
jmp 0x43ecc2
xor eax, eax
mov edx, dword [esp + 0xa8]
mov dword [esi + 0x1c], eax
mov ecx, dword [edx]
cmp word [ecx], 0
setne dl
mov byte [eax + 0x48], dl
jmp 0x43ed24
push 0x74
call fcn.004cc845
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x80], 3
je 0x43ed02
push esi
lea ecx, [esi + 0x34]
push ecx
mov ecx, eax
call fcn.004ab280
jmp 0x43ed04
xor eax, eax
mov edx, dword [esp + 0xa8]
mov dword [esi + 0x1c], eax
mov ecx, dword [edx]
cmp word [ecx], 0
mov cl, byte [eax + 0x48]
setne dl
xor dl, cl
and dl, 1
xor cl, dl
mov byte [eax + 0x48], cl
test dword [esi + 0x40], 0x400000
mov edi, dword [esi + 0x1c]
mov byte [esp + 0x80], 1
mov dword [esp + 0xa8], edi
je 0x43ed43
or byte [edi + 0x48], 2
mov al, byte [esp + 0xa4]
test al, al
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x10], ecx
je 0x43ed9c
mov eax, dword [esp + 0x8c]
push eax
mov eax, dword [edx + 0x18]
push eax
mov eax, dword [esp + 0xa0]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0xac]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
mov edx, dword [esp + 0xa8]
push edx
call fcn.004afb20
jmp 0x43ede0
mov ecx, dword [esp + 0x8c]
mov eax, dword [edi]
push ecx
mov ecx, dword [edx + 0x18]
push ecx
mov ecx, dword [esp + 0xa0]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0xac]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ebx
mov edx, dword [esp + 0xa8]
push edx
push ebp
mov ecx, edi
call dword [eax + 0x80]
mov al, byte [esp + 0xa4]
test al, al
mov ebp, dword [edi + 0x18]
je 0x43edf9
push 0xffffffffffffffff
push 0
push 0x435
jmp 0x43ee02
push 0
push 0xffffffffffffffff
push 0xc5
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xa0]
xor ebx, ebx
call fcn.004a38a0
test eax, eax
mov dword [esp + 0x8c], eax
je 0x43ee24
mov ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x9c], 0xffffffff
mov di, word [eax]
cmp di, 0x2a
jne 0x43ee44
mov word [eax], 0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.0044ce90
mov eax, dword [esp + 0xbc]
add esp, 8
cmp word [eax], 0x3a
jne 0x43ee73
add eax, 2
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jg 0x43ee89
cmp word [eax], 0
jne 0x43ee89
test di, di
je 0x43eea4
push eax
mov eax, dword [esp + 0x90]
lea edx, [esp + 0xa0]
push edx
push eax
call fcn.00497450
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x43eeb7
mov ecx, dword [esp + 0xa8]
push 1
push ebx
call fcn.00447670
test byte [esp + 0xac], 1
je 0x43eed1
push 0
push 0x2a
push 0xcc
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0xa4]
test al, al
je 0x43ef43
mov edi, dword [esp + 0xb0]
mov eax, dword [edi + 4]
test eax, eax
jl 0x43ef00
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x18]
push eax
push 0
push 0x443
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi]
test edx, edx
jl 0x43ef57
xor eax, eax
mov dword [esp + 0x1c], 0x5c
mov ecx, 0x15
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0x18]
push 0x444
push edx
mov dword [esp + 0x30], 0x40000000
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43ef57
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
push eax
call fcn.004ab45c
mov ecx, dword [esi + 0x10]
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, esi
call fcn.0043dbd0
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0xb1
push ebp
call edi
mov eax, dword [esi + 8]
cmp word [eax], 0
je 0x43ef91
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x30]
push edx
push eax
call fcn.00466e80
mov eax, dword [esp + 0xac]
xor bl, bl
test ah, 1
je 0x43efa1
mov bl, 0x10
test ah, 2
je 0x43efa8
mov bl, 0x20
push 1
push ebp
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov eax, dword [esp + 0xa8]
or byte [eax + 0x49], bl
xor eax, eax
cmp word [esi + 0x40], ax
mov ecx, esi
setge al
push eax
call fcn.0043d740
mov eax, dword [esp + 0x90]
and eax, 0x10000000
push eax
mov ecx, esi
call fcn.0043d7e0
test byte [esi + 0x40], 0x40
je 0x43eff2
push 0
push 7
push 0x115
push ebp
call edi
mov eax, dword [esi + 0x40]
test ah, 8
je 0x43f006
push 0
push 7
push 0x114
push ebp
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push ebp
call edi
push 0x51d5ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x78]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0x30