Function at 0x1004345a
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 0x100434a8
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 0x440]
cmp eax, 0x2655
je 0x100434a6
mov ecx, dword [ebp + 8]
mov word [ecx + 0x454], 0xd30f
mov edx, dword [ebp + 8]
mov word [edx + 0x454], 0xd30f
xor eax, eax
jmp 0x10043a6f
jmp 0x100434bd
push 0x40
push 0
mov eax, dword [ebp + 8]
add eax, 0x418
push eax
call fcn.100f1b90
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.1004cd93
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x100435bc
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
je 0x100434ef
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0
jne 0x100434f6
xor eax, eax
jmp 0x10043a6f
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 1
jmp 0x1004350f
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x1004352a
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 0x10043506
mov dword [ebp - 0x28], 0
jmp 0x1004353c
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 4
jge 0x10043557
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 0x10043533
mov ecx, dword [ebp - 8]
and ecx, 0x7f
mov edx, dword [ebp - 0x18]
and edx, 0x7f
cmp ecx, edx
je 0x100435b7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x10043581
xor ecx, ecx
test ecx, ecx
je 0x10043581
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x10043588
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.10032260
add esp, 0x1c
or eax, 0xffffffff
jmp 0x10043a6f
jmp 0x10043663
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 0x10043616
lea edx, [ebp - 0x1c]
push edx
call fcn.1004cf0d
add esp, 4
cmp dword [ebp - 0xc], eax
je 0x10043663
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x10043630
xor ecx, ecx
test ecx, ecx
je 0x10043630
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x30], eax
jmp 0x10043637
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.10032260
add esp, 0x1c
or eax, 0xffffffff
jmp 0x10043a6f
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x80000000
jbe 0x1004368c
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
cmp ecx, 4
jge 0x1004368c
mov dword [ebp - 0x34], 1
jmp 0x10043693
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 0x100436ab
cmp dword [ebp - 0x24], 0
je 0x100436c6
cmp dword [ebp - 0x24], 0
je 0x10043a1d
mov ecx, dword [ebp - 0x14]
and ecx, 0x400000
test ecx, ecx
je 0x10043a1d
cmp dword [ebp - 4], 0
je 0x100436eb
mov edx, dword [ebp + 8]
mov word [edx + 0x454], 0xd30f
mov eax, dword [ebp + 8]
mov word [eax + 0x454], 0xd30f
xor eax, eax
jmp 0x10043a6f
mov ecx, dword [ebp - 0x1c]
and ecx, 0x100000
test ecx, ecx
je 0x10043709
mov edx, dword [ebp + 8]
mov word [edx + 0x440], 0x2655
jmp 0x10043791
mov eax, dword [ebp - 0x10]
and eax, 0xffff
push eax
push 0x10113714
push str.a001
call fcn.100f0f37
add esp, 0xc
push 0
push str.a001
call fcn.10038355
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10037ce2
add esp, 0xc
test eax, eax
je 0x10043791
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x1004375e
xor eax, eax
test eax, eax
je 0x1004375e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x38], edx
jmp 0x10043765
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.10032260
add esp, 0x1c
or eax, 0xffffffff
jmp 0x10043a6f
mov eax, dword [ebp - 0x1c]
and eax, 2
test eax, eax
je 0x100437a7
mov ecx, dword [ebp + 8]
mov word [ecx + 0x41a], 0x20
mov edx, dword [ebp - 0x1c]
and edx, 4
test edx, edx
je 0x100437bd
mov eax, dword [ebp + 8]
mov word [eax + 0x41c], 0x3e1
mov ecx, dword [ebp - 0x1c]
and ecx, 8
test ecx, ecx
je 0x100437d3
mov edx, dword [ebp + 8]
mov word [edx + 0x41e], 0xabcd
mov eax, dword [ebp - 0x1c]
and eax, 0x10
test eax, eax
je 0x100437e9
mov ecx, dword [ebp + 8]
mov word [ecx + 0x420], 0x54
mov edx, dword [ebp - 0x1c]
and edx, 0x20
test edx, edx
je 0x100437ff
mov eax, dword [ebp + 8]
mov word [eax + 0x422], 0x5e
mov ecx, dword [ebp - 0x1c]
and ecx, 0x40
test ecx, ecx
je 0x10043815
mov edx, dword [ebp + 8]
mov word [edx + 0x424], 0x7f
mov eax, dword [ebp - 0x1c]
and eax, 0x80
test eax, eax
je 0x1004382d
mov ecx, dword [ebp + 8]
mov word [ecx + 0x426], 0x4e9b
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
test edx, edx
je 0x10043846
mov eax, dword [ebp + 8]
mov word [eax + 0x434], 0xdead
mov ecx, dword [ebp - 0x1c]
and ecx, 0x8000
test ecx, ecx
je 0x1004385f
mov edx, dword [ebp + 8]
mov word [edx + 0x436], 0xfeef
mov eax, dword [ebp - 0x1c]
and eax, 0x100
test eax, eax
je 0x10043877
mov ecx, dword [ebp + 8]
mov word [ecx + 0x428], 0xc7
mov edx, dword [ebp - 0x1c]
and edx, 0x200
test edx, edx
je 0x10043890
mov eax, dword [ebp + 8]
mov word [eax + 0x42a], 0x1538
mov ecx, dword [ebp - 0x1c]
and ecx, 0x800
test ecx, ecx
je 0x100438a9
mov edx, dword [ebp + 8]
mov word [edx + 0x42e], 0xc
mov eax, dword [ebp - 0x1c]
and eax, 0x1000
test eax, eax
je 0x100438c1
mov ecx, dword [ebp + 8]
mov word [ecx + 0x430], 0x3ce
mov edx, dword [ebp - 0x1c]
and edx, 0x2000
test edx, edx
je 0x100438da
mov eax, dword [ebp + 8]
mov word [eax + 0x432], 0x22b
mov ecx, dword [ebp - 0x1c]
and ecx, 0x10000
test ecx, ecx
je 0x100438f3
mov edx, dword [ebp + 8]
mov word [edx + 0x438], 0x46
mov eax, dword [ebp - 0x1c]
and eax, 0x20000
test eax, eax
je 0x1004390b
mov ecx, dword [ebp + 8]
mov word [ecx + 0x43a], 0xdd
mov edx, dword [ebp - 0x1c]
and edx, 0x40000
test edx, edx
je 0x10043924
mov eax, dword [ebp + 8]
mov word [eax + 0x43c], 0x70
mov ecx, dword [ebp - 0x1c]
and ecx, 0x80000
test ecx, ecx
je 0x1004393d
mov edx, dword [ebp + 8]
mov word [edx + 0x43e], 0x15a6
mov eax, dword [ebp - 0x1c]
and eax, 0x200000
test eax, eax
je 0x10043955
mov ecx, dword [ebp + 8]
mov word [ecx + 0x442], 0x511
mov edx, dword [ebp - 0x1c]
and edx, 0x400000
test edx, edx
je 0x1004396e
mov eax, dword [ebp + 8]
mov word [eax + 0x444], 0x1204
mov ecx, dword [ebp - 0x1c]
and ecx, 0x800000
test ecx, ecx
je 0x10043987
mov edx, dword [ebp + 8]
mov word [edx + 0x446], 0x2a34
mov eax, dword [ebp - 0x1c]
and eax, 0x1000000
test eax, eax
je 0x1004399f
mov ecx, dword [ebp + 8]
mov word [ecx + 0x448], 0x12ef
mov edx, dword [ebp - 0x1c]
and edx, 0x2000000
test edx, edx
je 0x100439b8
mov eax, dword [ebp + 8]
mov word [eax + 0x44a], 0x9320
mov ecx, dword [ebp - 0x1c]
and ecx, 0x4000000
test ecx, ecx
je 0x100439d1
mov edx, dword [ebp + 8]
mov word [edx + 0x44c], 0x7032
mov eax, dword [ebp - 0x1c]
and eax, 0x8000000
test eax, eax
je 0x100439e9
mov ecx, dword [ebp + 8]
mov word [ecx + 0x44e], 0x836a
mov edx, dword [ebp - 0x1c]
and edx, 0x10000000
test edx, edx
je 0x10043a02
mov eax, dword [ebp + 8]
mov word [eax + 0x450], 0x336
mov ecx, dword [ebp - 0x1c]
and ecx, 0x20000000
test ecx, ecx
je 0x10043a1b
mov edx, dword [ebp + 8]
mov word [edx + 0x452], 0x9969
jmp 0x10043a6d
cmp dword [ebp - 4], 0
jne 0x10043a6d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x10043a3d
xor ecx, ecx
test ecx, ecx
je 0x10043a3d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x3c], eax
jmp 0x10043a44
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.10032260
add esp, 0x1c
or eax, 0xffffffff
jmp 0x10043a6f
xor eax, eax
mov esp, ebp
pop ebp
ret