Function at 0x44fc90
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
push ecx
lea eax, [ebp - 4]
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 8], ebx
jne 0x44fcd8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x15767b8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
push edi
je 0x44fcde
push 0x66e43d8b
cmp eax, dword [ecx]
mov edi, dword [0x13b66e4]
push dword [ebp - 0xc]
push dword [ebp + 0x10]
xor edi, 0xffffffff
push dword [ebp - 8]
push dword [ebp + 8]
call edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x44fd1c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x15767b8], 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, eax
push dword [ebp + 8]
je 0x44fd24
jnp 0x3babe95e
mov esi, dword [0x13b66ec]
xor esi, 0xffffffff
call esi
add dword [ebx - 0x2900000a], eax
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edi
push ebx
push ecx
call fcn.0044fba0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [ebp + 8], esi
jne 0x44fe64
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov esi, dword [ebp + 0x18]
xor edx, 0xff82ad82
and edx, 0xffffff
xor ecx, edx
test esi, esi
mov dword [ebx], ecx
je 0x44fe0e
cmp edi, 8
jbe 0x44fd8b
test dword [esi + 0x34], 0x80000000
je 0x44fd8b
lea eax, [edi - 8]
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.004512d0
add esp, 8
mov eax, dword [0x15767c0]
test eax, eax
je 0x44fe0e
test dword [esi + 0x34], 0x20000000
je 0x44fe0e
add ebx, 8
sub edi, 8
mov dword [ebp - 8], ebx
mov dword [ebp + 0x10], edi
cmp eax, eax
mov ebx, 0xffffffff
je 0x44fdb3
push 0x67b00d8b
push edi
add dword [ebx + 0x5767b415], ecx
add dword [ecx + 0x15767c0], esp
mov ecx, dword [0x15767b0]
mov edx, dword [0x15767b4]
mov eax, dword [0x15767c0]
xor ecx, ebx
xor edx, ebx
push ecx
push edx
push eax
push dword [ebp + 0x10]
add eax, 0x10
push dword [ebp - 8]
jne 0x44fdd7
push 0x458fd0ff
clc
call eax
pop dword [ebp - 8]
pop dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add edi, 8
sub ebx, 8
test eax, eax
mov dword [ebp + 0x10], edi
jne 0x44fe0e
mov dword [0x15767b8], 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
push edi
push ebx
push edx
call fcn.0044fba0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [ebp + 8], esi
jne 0x44fe64
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
xor eax, 0xff82ad82
and eax, 0xffffff
xor edx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
mov dword [ebx], edx
je 0x44fe5d
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x10]
mov esi, eax
jmp 0x44fee4
mov esi, ebx
jmp 0x44fee4
mov edi, dword [ebx + 4]
push ebx
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x44fee4
mov ecx, dword [0x15767c0]
test ecx, ecx
je 0x44fee4
test dword [eax + 0x34], 0x40000000
je 0x44fee4
xor eax, eax
mov ebx, 0xffffffff
je 0x44fe95
push 0x67b00d8b
push edi
add dword [ebx + 0x5767b415], ecx
add dword [ecx + 0x15767c0], esp
mov ecx, dword [0x15767b0]
mov edx, dword [0x15767b4]
mov eax, dword [0x15767c0]
xor ecx, ebx
xor edx, ebx
push ecx
push edx
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
jne 0x44feb6
ud0
call eax
pop dword [ebp + 8]
pop dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x44fede
mov dword [0x15767b8], 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x44feed
mov dword [eax], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret