Function at 0x431aea
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax], 0
sete cl
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x431b38
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 0x440]
cmp eax, 0x2655
je 0x431b36
mov ecx, dword [ebp + 8]
mov word [ecx + 0x454], 0xd30f
mov edx, dword [ebp + 8]
mov word [edx + 0x454], 0xd30f
xor eax, eax
jmp 0x432100
jmp 0x431b4d
push 0x40
push 0
mov eax, dword [ebp + 8]
add eax, 0x418
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 4
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00446473
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x431c4c
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
je 0x431b7f
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0
jne 0x431b86
xor eax, eax
jmp 0x432100
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 1
jmp 0x431b9f
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x431bba
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov edx, dword [ebp - 0x18]
shr edx, cl
mov eax, dword [ebp - 8]
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x431b96
mov dword [ebp - 0x28], 0
jmp 0x431bcc
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 4
jge 0x431be7
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov edx, dword [ebp - 0x14]
shr edx, cl
mov eax, dword [ebp - 8]
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x431bc3
mov ecx, dword [ebp - 8]
and ecx, 0x7f
mov edx, dword [ebp - 0x18]
and edx, 0x7f
cmp ecx, edx
je 0x431c47
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x431c11
xor ecx, ecx
test ecx, ecx
je 0x431c11
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x431c18
mov dword [ebp - 0x2c], 0xffffffd4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
push 0
push 0x21d
push 0xffffffffffffffd4
mov eax, dword [ebp + 8]
push eax
call fcn.0042afe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x432100
jmp 0x431cf3
mov ecx, dword [ebp - 0x10]
xor ecx, 0xa3ef0000
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shr edx, 0x10
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
and eax, 0xffff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x18]
and eax, 0x7f
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0xffffff80
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 8], 0
jne 0x431ca6
lea edx, [ebp - 0x1c]
push edx
call fcn.004465ed
add esp, 4
cmp dword [ebp - 0xc], eax
je 0x431cf3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x431cc0
xor ecx, ecx
test ecx, ecx
je 0x431cc0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x30], eax
jmp 0x431cc7
mov dword [ebp - 0x30], 0xffffffd4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
push 0
push 0x31
push 0xffffffffffffffd4
mov eax, dword [ebp + 8]
push eax
call fcn.0042afe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x432100
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x80000000
jbe 0x431d1c
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
cmp ecx, 4
jge 0x431d1c
mov dword [ebp - 0x34], 1
jmp 0x431d23
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
and eax, 0x40000000
test eax, eax
je 0x431d3b
cmp dword [ebp - 0x24], 0
je 0x431d56
cmp dword [ebp - 0x24], 0
je 0x4320ae
mov ecx, dword [ebp - 0x14]
and ecx, 0x400000
test ecx, ecx
je 0x4320ae
cmp dword [ebp - 4], 0
je 0x431d7b
mov edx, dword [ebp + 8]
mov word [edx + 0x454], 0xd30f
mov eax, dword [ebp + 8]
mov word [eax + 0x454], 0xd30f
xor eax, eax
jmp 0x432100
mov ecx, dword [ebp - 0x1c]
and ecx, 0x100000
test ecx, ecx
je 0x431d99
mov edx, dword [ebp + 8]
mov word [edx + 0x440], 0x2655
jmp 0x431e22
mov eax, dword [ebp - 0x10]
and eax, 0xffff
push eax
push 0x48b8dc
push str.a001
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0
push str.a001
call fcn.0041c4ed
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041be72
add esp, 0xc
test eax, eax
je 0x431e22
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x431def
xor eax, eax
test eax, eax
je 0x431def
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x38], edx
jmp 0x431df6
mov dword [ebp - 0x38], 0xffffffce
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0x33
push 0xffffffffffffffce
mov edx, dword [ebp + 8]
push edx
call fcn.0042afe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x432100
mov eax, dword [ebp - 0x1c]
and eax, 2
test eax, eax
je 0x431e38
mov ecx, dword [ebp + 8]
mov word [ecx + 0x41a], 0x20
mov edx, dword [ebp - 0x1c]
and edx, 4
test edx, edx
je 0x431e4e
mov eax, dword [ebp + 8]
mov word [eax + 0x41c], 0x3e1
mov ecx, dword [ebp - 0x1c]
and ecx, 8
test ecx, ecx
je 0x431e64
mov edx, dword [ebp + 8]
mov word [edx + 0x41e], 0xabcd
mov eax, dword [ebp - 0x1c]
and eax, 0x10
test eax, eax
je 0x431e7a
mov ecx, dword [ebp + 8]
mov word [ecx + 0x420], 0x54
mov edx, dword [ebp - 0x1c]
and edx, 0x20
test edx, edx
je 0x431e90
mov eax, dword [ebp + 8]
mov word [eax + 0x422], 0x5e
mov ecx, dword [ebp - 0x1c]
and ecx, 0x40
test ecx, ecx
je 0x431ea6
mov edx, dword [ebp + 8]
mov word [edx + 0x424], 0x7f
mov eax, dword [ebp - 0x1c]
and eax, 0x80
test eax, eax
je 0x431ebe
mov ecx, dword [ebp + 8]
mov word [ecx + 0x426], 0x4e9b
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
test edx, edx
je 0x431ed7
mov eax, dword [ebp + 8]
mov word [eax + 0x434], 0xdead
mov ecx, dword [ebp - 0x1c]
and ecx, 0x8000
test ecx, ecx
je 0x431ef0
mov edx, dword [ebp + 8]
mov word [edx + 0x436], 0xfeef
mov eax, dword [ebp - 0x1c]
and eax, 0x100
test eax, eax
je 0x431f08
mov ecx, dword [ebp + 8]
mov word [ecx + 0x428], 0xc7
mov edx, dword [ebp - 0x1c]
and edx, 0x200
test edx, edx
je 0x431f21
mov eax, dword [ebp + 8]
mov word [eax + 0x42a], 0x1538
mov ecx, dword [ebp - 0x1c]
and ecx, 0x800
test ecx, ecx
je 0x431f3a
mov edx, dword [ebp + 8]
mov word [edx + 0x42e], 0xc
mov eax, dword [ebp - 0x1c]
and eax, 0x1000
test eax, eax
je 0x431f52
mov ecx, dword [ebp + 8]
mov word [ecx + 0x430], 0x3ce
mov edx, dword [ebp - 0x1c]
and edx, 0x2000
test edx, edx
je 0x431f6b
mov eax, dword [ebp + 8]
mov word [eax + 0x432], 0x22b
mov ecx, dword [ebp - 0x1c]
and ecx, 0x10000
test ecx, ecx
je 0x431f84
mov edx, dword [ebp + 8]
mov word [edx + 0x438], 0x46
mov eax, dword [ebp - 0x1c]
and eax, 0x20000
test eax, eax
je 0x431f9c
mov ecx, dword [ebp + 8]
mov word [ecx + 0x43a], 0xdd
mov edx, dword [ebp - 0x1c]
and edx, 0x40000
test edx, edx
je 0x431fb5
mov eax, dword [ebp + 8]
mov word [eax + 0x43c], 0x70
mov ecx, dword [ebp - 0x1c]
and ecx, 0x80000
test ecx, ecx
je 0x431fce
mov edx, dword [ebp + 8]
mov word [edx + 0x43e], 0x15a6
mov eax, dword [ebp - 0x1c]
and eax, 0x200000
test eax, eax
je 0x431fe6
mov ecx, dword [ebp + 8]
mov word [ecx + 0x442], 0x511
mov edx, dword [ebp - 0x1c]
and edx, 0x400000
test edx, edx
je 0x431fff
mov eax, dword [ebp + 8]
mov word [eax + 0x444], 0x1204
mov ecx, dword [ebp - 0x1c]
and ecx, 0x800000
test ecx, ecx
je 0x432018
mov edx, dword [ebp + 8]
mov word [edx + 0x446], 0x2a34
mov eax, dword [ebp - 0x1c]
and eax, 0x1000000
test eax, eax
je 0x432030
mov ecx, dword [ebp + 8]
mov word [ecx + 0x448], 0x12ef
mov edx, dword [ebp - 0x1c]
and edx, 0x2000000
test edx, edx
je 0x432049
mov eax, dword [ebp + 8]
mov word [eax + 0x44a], 0x9320
mov ecx, dword [ebp - 0x1c]
and ecx, 0x4000000
test ecx, ecx
je 0x432062
mov edx, dword [ebp + 8]
mov word [edx + 0x44c], 0x7032
mov eax, dword [ebp - 0x1c]
and eax, 0x8000000
test eax, eax
je 0x43207a
mov ecx, dword [ebp + 8]
mov word [ecx + 0x44e], 0x836a
mov edx, dword [ebp - 0x1c]
and edx, 0x10000000
test edx, edx
je 0x432093
mov eax, dword [ebp + 8]
mov word [eax + 0x450], 0x336
mov ecx, dword [ebp - 0x1c]
and ecx, 0x20000000
test ecx, ecx
je 0x4320ac
mov edx, dword [ebp + 8]
mov word [edx + 0x452], 0x9969
jmp 0x4320fe
cmp dword [ebp - 4], 0
jne 0x4320fe
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x4320ce
xor ecx, ecx
test ecx, ecx
je 0x4320ce
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x3c], eax
jmp 0x4320d5
mov dword [ebp - 0x3c], 0xffffffd0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
push 0
push 0x34
push 0xffffffffffffffd0
mov eax, dword [ebp + 8]
push eax
call fcn.0042afe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x432100
xor eax, eax
mov esp, ebp
pop ebp
ret