Function at 0x443228
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
call fcn.0043d613
mov ebx, dword [ebp + 0xc]
test ebx, 0x20000000
jne 0x44326e
push dword [ebp + 8]
test ebx, 0x2000
je 0x443254
call fcn.0042f66d
jmp 0x443259
call fcn.0042e596
pop ecx
test al, al
je 0x44326e
push 0x7b
call fcn.00449755
pop ecx
push 2
pop eax
jmp 0x4436e6
mov ecx, ebx
mov edx, ebx
and ecx, 8
push edi
sete al
mov edi, 0x200
and edx, 0x10
mov byte [esi + 0x77], al
mov byte [esi + 0x79], al
sete al
mov byte [esi + 0x78], al
mov byte [esi + 0x7a], al
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x4432a3
mov eax, closesocket
mov dword [ebp - 4], eax
jmp 0x4432ad
test edi, ebx
je 0x4432ad
or ebx, 0x100
test edx, edx
jne 0x4432bb
or eax, 0x40000000
mov dword [ebp - 4], eax
jmp 0x4432c5
test ebx, 0x100
je 0x4432c5
or ebx, edi
xor edi, edi
mov ecx, ebx
shr ecx, 8
inc edi
and ecx, edi
mov eax, ebx
mov edx, ecx
or edx, 2
and eax, 0x200
mov eax, ebx
cmove edx, ecx
mov ecx, ebx
and ecx, 0xe0000000
mov dword [ebp - 8], edx
and eax, 0x2000
cmp ecx, 0x20000000
je 0x4434ab
cmp ecx, 0x40000000
je 0x443492
cmp ecx, 0x60000000
je 0x44342d
cmp ecx, 0x80000000
je 0x4433ad
cmp ecx, 0xa0000000
je 0x443381
test eax, eax
je 0x443341
push closesocket
push dword [ebp + 8]
lea ecx, [esi + 0x1c]
call fcn.0042d49b
jmp 0x4434df
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0x7c
je 0x44335c
push closesocket
push ecx
lea ecx, [esi + 0x10]
call fcn.0042cf82
jmp 0x4434df
push 0xfde9
lea eax, [esi + 0x1c]
push eax
lea eax, [ecx + 1]
push closesocket
push eax
call fcn.0044a20b
add esp, 0x10
or ebx, 0x2000
jmp 0x4434df
push dword [ebp + 8]
test eax, eax
lea eax, [ebp - 0x18]
push eax
je 0x443398
call fcn.0043f47b
pop ecx
pop ecx
lea ecx, [esi + 0x1c]
jmp 0x4433a2
call fcn.0043f380
pop ecx
pop ecx
lea ecx, [esi + 0x10]
push eax
call fcn.004074e1
jmp 0x443488
push dword [ebp + 8]
test eax, eax
je 0x4433ef
lea eax, [ebp - 0x24]
push eax
call fcn.00440d9f
push 0
mov ecx, 0x47e734
push 0
cmp dword [eax], 0
cmovne ecx, dword [eax]
lea eax, [ebp - 0x18]
push ecx
push eax
call fcn.0043f576
add esp, 0x18
lea ecx, [esi + 0x1c]
push eax
call fcn.004074e1
lea ecx, [ebp - 0x18]
call fcn.00424b62
jmp 0x4434d4
lea eax, [ebp - 0x18]
push eax
call fcn.00440cf1
push 0
mov ecx, 0x47e730
push 0
cmp dword [eax], 0
cmovne ecx, dword [eax]
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.0043f2c3
add esp, 0x18
lea ecx, [esi + 0x10]
push eax
call fcn.004074e1
lea ecx, [ebp - 0x24]
call fcn.00424b62
lea ecx, [ebp - 0x18]
jmp 0x4434d7
test eax, eax
lea eax, [ebp - 0x18]
push eax
je 0x443457
call fcn.00449aed
push dword [ebp + 8]
mov ecx, 0x47e734
cmp dword [eax], 0
cmovne ecx, dword [eax]
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.00440a72
lea ecx, [esi + 0x1c]
jmp 0x443477
call fcn.00449a89
push dword [ebp + 8]
mov ecx, 0x47e730
cmp dword [eax], 0
cmovne ecx, dword [eax]
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.004409b8
lea ecx, [esi + 0x10]
add esp, 0x10
push eax
call fcn.004074e1
lea ecx, [ebp - 0x24]
call fcn.00424b62
lea ecx, [ebp - 0x18]
call fcn.00424b62
jmp 0x4434df
push 0
push 0
push dword [ebp + 8]
test eax, eax
lea eax, [ebp - 0x24]
push eax
je 0x4434c3
call fcn.0043f576
lea ecx, [esi + 0x1c]
jmp 0x4434cb
test eax, eax
je 0x4434ba
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
jmp 0x4434a1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0043f2c3
lea ecx, [esi + 0x10]
add esp, 0x10
push eax
call fcn.004074e1
lea ecx, [ebp - 0x24]
call fcn.00424b62
or ebx, 3
lea eax, [esi + 0x1c]
mov dword [ebp - 0xc], eax
lea ecx, [esi + 0x10]
test ebx, 0x2000
je 0x4434fb
push 0xffffffffffffffff
push ecx
push eax
call fcn.00441102
jmp 0x443504
push 0
push eax
push ecx
call fcn.00441f02
add esp, 0xc
mov eax, ebx
and eax, 3
push 4
pop edx
mov dword [ebp + 8], edx
sub eax, 1
je 0x443529
sub eax, 1
je 0x443525
sub eax, 1
jne 0x44352f
push 2
jmp 0x44352b
mov edx, edi
jmp 0x44352c
push 3
pop edx
mov dword [ebp + 8], edx
and dword [ebp + 0xc], 0
cmp dword [esi + 0x1c], 0
mov eax, 0x47e734
push 0
push dword [ebp + 0x10]
cmovne eax, dword [esi + 0x1c]
push edx
push 0
push dword [ebp - 8]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
jne 0x4436a8
test bl, 0x40
je 0x443583
mov ecx, dword [ebp + 0xc]
mov eax, ecx
inc ecx
mov dword [ebp + 0xc], ecx
test eax, eax
jne 0x443583
push 0x96
call fcn.0044976c
mov edx, dword [ebp + 8]
pop ecx
jmp 0x443533
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x20
jne 0x4435a7
test ebx, 0x1000
jne 0x4435a7
mov edx, dword [ebp + 0xc]
mov ecx, edx
inc edx
mov dword [ebp + 0xc], edx
cmp ecx, 5
jge 0x4435a7
push 0x64
jmp 0x443578
and dword [esi + 0xc], 0
cmp eax, 0x33
ja 0x443667
je 0x443699
dec eax
sub eax, 1
je 0x443663
sub eax, 1
je 0x443634
sub eax, 1
je 0x443630
sub eax, 1
je 0x4435fb
sub eax, 0xa
je 0x4435f4
sub eax, 6
je 0x4435ed
sub eax, 0xb
jne 0x4436a4
push 5
jmp 0x4436a3
push 0x14
jmp 0x4436a3
push 0x15
jmp 0x4436a3
call sub.KERNEL32.dll_GetLastError
cmp byte [esi + 0x78], 0
mov ebx, eax
je 0x443624
cmp dword [esi + 0x1c], 0
mov ecx, 0x47e734
cmovne ecx, dword [esi + 0x1c]
push ecx
call fcn.0043ee58
pop ecx
test al, al
je 0x443624
push 0xd
jmp 0x443626
push 0xc
pop edi
push ebx
call fcn.00449755
pop ecx
jmp 0x4436a4
push 8
jmp 0x4436a3
mov esi, dword [ebp - 0xc]
mov ecx, esi
push edi
call fcn.004238ba
cmp ax, 0x3a
jne 0x44365f
push 0
mov ecx, esi
call fcn.004238ba
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
call fcn.0043e6b7
pop ecx
test al, al
je 0x4435f4
push 4
jmp 0x4436a3
push 3
jmp 0x4436a3
cmp eax, 0x50
ja 0x443688
je 0x443684
cmp eax, 0x35
je 0x443699
cmp eax, 0x3f
jbe 0x4436a4
cmp eax, 0x41
jbe 0x443699
cmp eax, 0x43
je 0x443699
jmp 0x4436a4
push 0xa
jmp 0x4436a3
cmp eax, 0x57
je 0x4436a1
cmp eax, 0x7b
je 0x44369d
cmp eax, 0x4b3
jne 0x4436a4
push 0x13
jmp 0x4436a3
push 2
jmp 0x4436a3
push 9
pop edi
mov eax, edi
jmp 0x4436e5
test bl, bl
jns 0x4436c3
mov ecx, esi
call fcn.0044316e
test al, al
jne 0x4436c3
mov ecx, esi
call fcn.0043d613
push 6
pop eax
jmp 0x4436e5
test ebx, 0x400
je 0x4436d4
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x34]
test ebx, 0x800
je 0x4436e3
mov ecx, esi
call fcn.0043d613
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc