Function at 0x436724
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 0x436797
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
xor edx, edx
mov dx, word [ecx + 0xb40]
cmp edx, 0x2655
je 0x436795
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
xor eax, eax
jmp 0x436ef9
jmp 0x4367b9
push 0x40
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
add edx, 0xb18
push edx
call fcn.004976c0
add esp, 0xc
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045bc73
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x4368c1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x4367eb
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
jne 0x4367f2
xor eax, eax
jmp 0x436ef9
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 1
jmp 0x43680b
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 4
jge 0x436826
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov eax, dword [ebp - 0x18]
shr eax, cl
mov ecx, dword [ebp - 8]
xor ecx, eax
mov dword [ebp - 8], ecx
jmp 0x436802
mov dword [ebp - 0x28], 0
jmp 0x436838
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 4
jge 0x436853
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov eax, dword [ebp - 0x14]
shr eax, cl
mov ecx, dword [ebp - 8]
xor ecx, eax
mov dword [ebp - 8], ecx
jmp 0x43682f
mov edx, dword [ebp - 8]
and edx, 0x7f
mov eax, dword [ebp - 0x18]
and eax, 0x7f
cmp edx, eax
je 0x4368bc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x436883
xor edx, edx
test edx, edx
je 0x436883
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2c], ecx
jmp 0x43688a
mov dword [ebp - 0x2c], 0xffffffd4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x21d
push 0xffffffffffffffd4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x436ef9
jmp 0x436972
mov edx, dword [ebp - 0x10]
xor edx, 0xa3ef0000
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
and edx, 0xffff
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0x7f
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
and edx, 0xffffff80
mov dword [ebp - 0x18], edx
cmp dword [ebp - 8], 0
jne 0x43691c
lea eax, [ebp - 0x1c]
push eax
call fcn.0045bded
add esp, 4
cmp dword [ebp - 0xc], eax
je 0x436972
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x43693c
xor edx, edx
test edx, edx
je 0x43693c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x30], ecx
jmp 0x436943
mov dword [ebp - 0x30], 0xffffffd4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x31
push 0xffffffffffffffd4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x436ef9
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x80000000
jbe 0x43699b
mov edx, dword [ebp - 0x20]
and edx, 0xff
cmp edx, 4
jge 0x43699b
mov dword [ebp - 0x34], 1
jmp 0x4369a2
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
and ecx, 0x40000000
test ecx, ecx
je 0x4369bb
cmp dword [ebp - 0x24], 0
je 0x4369d6
cmp dword [ebp - 0x24], 0
je 0x436e9e
mov edx, dword [ebp - 0x14]
and edx, 0x400000
test edx, edx
je 0x436e9e
cmp dword [ebp - 4], 0
je 0x436a13
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
xor eax, eax
jmp 0x436ef9
mov eax, dword [ebp - 0x1c]
and eax, 0x100000
test eax, eax
je 0x436a3c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb40], 0x2655
jmp 0x436ace
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
push ecx
push 0x4fdb54
push str.a001
call fcn.004970c0
add esp, 0xc
push 0
push str.a001
call fcn.004323f0
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00431bb2
add esp, 0xc
test eax, eax
je 0x436ace
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x436a98
xor ecx, ecx
test ecx, ecx
je 0x436a98
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x38], eax
jmp 0x436a9f
mov dword [ebp - 0x38], 0xffffffce
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x33
push 0xffffffffffffffce
mov eax, dword [ebp + 8]
push eax
call fcn.0041bbe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x436ef9
mov ecx, dword [ebp - 0x1c]
and ecx, 2
test ecx, ecx
je 0x436af0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb1a], 0x20
mov edx, dword [ebp - 0x1c]
and edx, 4
test edx, edx
je 0x436b12
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb1c], 0x3e1
mov eax, dword [ebp - 0x1c]
and eax, 8
test eax, eax
je 0x436b34
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb1e], 0xabcd
mov ecx, dword [ebp - 0x1c]
and ecx, 0x10
test ecx, ecx
je 0x436b56
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb20], 0x54
mov edx, dword [ebp - 0x1c]
and edx, 0x20
test edx, edx
je 0x436b78
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb22], 0x5e
mov eax, dword [ebp - 0x1c]
and eax, 0x40
test eax, eax
je 0x436b9a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb24], 0x7f
mov ecx, dword [ebp - 0x1c]
and ecx, 0x80
test ecx, ecx
je 0x436bbf
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb26], 0x4e9b
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
test edx, edx
je 0x436be4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb34], 0xdead
mov eax, dword [ebp - 0x1c]
and eax, 0x8000
test eax, eax
je 0x436c08
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb36], 0xfeef
mov ecx, dword [ebp - 0x1c]
and ecx, 0x100
test ecx, ecx
je 0x436c2d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb28], 0xc7
mov edx, dword [ebp - 0x1c]
and edx, 0x200
test edx, edx
je 0x436c52
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb2a], 0x1538
mov eax, dword [ebp - 0x1c]
and eax, 0x800
test eax, eax
je 0x436c76
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb2e], 0xc
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1000
test ecx, ecx
je 0x436c9b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb30], 0x3ce
mov edx, dword [ebp - 0x1c]
and edx, 0x2000
test edx, edx
je 0x436cc0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb32], 0x22b
mov eax, dword [ebp - 0x1c]
and eax, 0x10000
test eax, eax
je 0x436ce4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb38], 0x46
mov ecx, dword [ebp - 0x1c]
and ecx, 0x20000
test ecx, ecx
je 0x436d09
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb3a], 0xdd
mov edx, dword [ebp - 0x1c]
and edx, 0x40000
test edx, edx
je 0x436d2e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb3c], 0x70
mov eax, dword [ebp - 0x1c]
and eax, 0x80000
test eax, eax
je 0x436d52
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb3e], 0x15a6
mov ecx, dword [ebp - 0x1c]
and ecx, 0x200000
test ecx, ecx
je 0x436d77
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb42], 0x511
mov edx, dword [ebp - 0x1c]
and edx, 0x400000
test edx, edx
je 0x436d9c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb44], 0x1204
mov eax, dword [ebp - 0x1c]
and eax, 0x800000
test eax, eax
je 0x436dc0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb46], 0x2a34
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1000000
test ecx, ecx
je 0x436de5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb48], 0x12ef
mov edx, dword [ebp - 0x1c]
and edx, 0x2000000
test edx, edx
je 0x436e0a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb4a], 0x9320
mov eax, dword [ebp - 0x1c]
and eax, 0x4000000
test eax, eax
je 0x436e2e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb4c], 0x7032
mov ecx, dword [ebp - 0x1c]
and ecx, 0x8000000
test ecx, ecx
je 0x436e53
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb4e], 0x836a
mov edx, dword [ebp - 0x1c]
and edx, 0x10000000
test edx, edx
je 0x436e78
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb50], 0x336
mov eax, dword [ebp - 0x1c]
and eax, 0x20000000
test eax, eax
je 0x436e9c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb52], 0x9969
jmp 0x436ef7
cmp dword [ebp - 4], 0
jne 0x436ef7
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x436ec4
xor edx, edx
test edx, edx
je 0x436ec4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x3c], ecx
jmp 0x436ecb
mov dword [ebp - 0x3c], 0xffffffd0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x34
push 0xffffffffffffffd0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x436ef9
xor eax, eax
mov esp, ebp
pop ebp
ret