Function at 0x595e60
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax], 0
sete cl
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 4], 0
je 0x595eef
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
movzx edx, word [ecx + 0xb98]
cmp edx, 0x2655
je 0x595eed
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0xd30f
mov word [edx + 0xbac], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0xd30f
mov word [eax + 0xbac], cx
xor eax, eax
jmp 0x5967a4
jmp 0x595f13
push 0
push 0x40
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
add ecx, 0xb70
push ecx
call fcn.005286a0
add esp, 0x10
push 4
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c2b50
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x59601b
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x595f45
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
jne 0x595f4c
xor eax, eax
jmp 0x5967a4
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x2c], 1
jmp 0x595f65
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 4
jge 0x595f7e
mov ecx, dword [ebp - 0x2c]
shl ecx, 3
mov edx, dword [ebp - 0x24]
shr edx, cl
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
jmp 0x595f5c
mov dword [ebp - 0x2c], 0
jmp 0x595f90
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x595fa9
mov ecx, dword [ebp - 0x2c]
shl ecx, 3
mov edx, dword [ebp - 0x20]
shr edx, cl
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
jmp 0x595f87
mov eax, dword [ebp - 0xc]
and eax, 0x7f
mov ecx, dword [ebp - 0x24]
and ecx, 0x7f
cmp eax, ecx
je 0x596016
cmp dword [ebp + 8], 0
je 0x59600e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x595fdd
xor eax, eax
je 0x595fdd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x30], edx
jmp 0x595fe4
mov dword [ebp - 0x30], 0xffffffd4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x21d
push 0xffffffffffffffd4
mov edx, dword [ebp + 8]
push edx
call fcn.00576350
add esp, 0x1c
or eax, 0xffffffff
jmp 0x5967a4
jmp 0x5960dd
mov eax, dword [ebp - 0x1c]
xor eax, 0xa3ef0000
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 0xffff
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
and edx, 0x7f
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x24]
and eax, 0xffffff80
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0xc], 0
jne 0x596074
lea ecx, [ebp - 0x28]
push ecx
call fcn.005c2cd0
add esp, 4
cmp dword [ebp - 8], eax
je 0x5960dd
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xffffff3f
je 0x5960d5
cmp dword [ebp + 8], 0
je 0x5960d5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x5960a7
xor ecx, ecx
je 0x5960a7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x34], eax
jmp 0x5960ae
mov dword [ebp - 0x34], 0xffffffd4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x31
push 0xffffffffffffffd4
mov eax, dword [ebp + 8]
push eax
call fcn.00576350
add esp, 0x1c
or eax, 0xffffffff
jmp 0x5967a4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80000000
jbe 0x596112
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
cmp eax, 4
jge 0x596112
mov dword [ebp - 0x38], 1
jmp 0x596119
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
and edx, 0x40000000
je 0x596130
cmp dword [ebp - 0x14], 0
je 0x596148
cmp dword [ebp - 0x14], 0
je 0x596745
mov eax, dword [ebp - 0x20]
and eax, 0x400000
je 0x596745
cmp dword [ebp - 4], 0
je 0x59618b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0xd30f
mov word [eax + 0xbac], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0xd30f
mov word [ecx + 0xbac], dx
xor eax, eax
jmp 0x5967a4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
cmp dword [ecx + 0x1dc8], 0
je 0x596218
mov edx, dword [ebp - 0x24]
and edx, 0x100
jne 0x596218
cmp dword [ebp + 8], 0
je 0x596200
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x5961cc
xor ecx, ecx
je 0x5961cc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x3c], eax
jmp 0x5961d3
mov dword [ebp - 0x3c], 0xffffff3f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x5215
push 0xffffff3f
mov eax, dword [ebp + 8]
push eax
call fcn.00576350
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov byte [edx + 0x1dd0], 0
or eax, 0xffffffff
jmp 0x5967a4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
cmp dword [ecx + 0x1dcc], 0x64
jne 0x596257
mov edx, dword [ebp - 0x24]
and edx, 0x100
jne 0x596247
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov byte [ecx + 0x1dd0], 0
jmp 0x596257
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov byte [eax + 0x1dd0], 1
mov ecx, dword [ebp - 0x24]
and ecx, 0x200
je 0x596275
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov dword [eax + 0x1e18], 1
mov ecx, dword [ebp - 0x28]
and ecx, 0x100000
je 0x5962a0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0x2655
mov word [ecx + 0xb98], dx
jmp 0x596335
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
push eax
push 0x699630
push str.a001
call fcn.00535a83
add esp, 0xc
push 0
push str.a001
call fcn.00592e20
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00592290
add esp, 0xc
test eax, eax
je 0x596335
cmp dword [ebp + 8], 0
je 0x59632d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x5962ff
xor eax, eax
je 0x5962ff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x40], edx
jmp 0x596306
mov dword [ebp - 0x40], 0xffffffce
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x33
push 0xffffffffffffffce
mov edx, dword [ebp + 8]
push edx
call fcn.00576350
add esp, 0x1c
or eax, 0xffffffff
jmp 0x5967a4
mov eax, dword [ebp - 0x28]
and eax, 2
je 0x596358
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x20
mov word [eax + 0xb72], cx
mov edx, dword [ebp - 0x28]
and edx, 4
je 0x59637b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0x3e1
mov word [edx + 0xb74], ax
mov ecx, dword [ebp - 0x28]
and ecx, 8
je 0x59639e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0xabcd
mov word [ecx + 0xb76], dx
mov eax, dword [ebp - 0x28]
and eax, 0x10
je 0x5963c1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x54
mov word [eax + 0xb78], cx
mov edx, dword [ebp - 0x28]
and edx, 0x20
je 0x5963e4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0x5e
mov word [edx + 0xb7a], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x40
je 0x596407
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0x7f
mov word [ecx + 0xb7c], dx
mov eax, dword [ebp - 0x28]
and eax, 0x80
je 0x59642c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x4e9b
mov word [eax + 0xb7e], cx
mov edx, dword [ebp - 0x28]
and edx, 0x4000
je 0x596452
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0xdead
mov word [edx + 0xb8c], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x8000
je 0x596478
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0xfeef
mov word [ecx + 0xb8e], dx
mov eax, dword [ebp - 0x28]
and eax, 0x100
je 0x59649d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0xc7
mov word [eax + 0xb80], cx
mov edx, dword [ebp - 0x28]
and edx, 0x200
je 0x5964c3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0x1538
mov word [edx + 0xb82], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x800
je 0x5964e9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0xc
mov word [ecx + 0xb86], dx
mov eax, dword [ebp - 0x28]
and eax, 0x800
je 0x59650e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0xdcba
mov word [eax + 0xb86], cx
mov edx, dword [ebp - 0x28]
and edx, 0x1000
je 0x596534
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0x3ce
mov word [edx + 0xb88], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x2000
je 0x59655a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0x22b
mov word [ecx + 0xb8a], dx
mov eax, dword [ebp - 0x28]
and eax, 0x10000
je 0x59657f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x46
mov word [eax + 0xb90], cx
mov edx, dword [ebp - 0x28]
and edx, 0x20000
je 0x5965a5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0xdd
mov word [edx + 0xb92], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x40000
je 0x5965cb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0x70
mov word [ecx + 0xb94], dx
mov eax, dword [ebp - 0x28]
and eax, 0x80000
je 0x5965f0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x15a6
mov word [eax + 0xb96], cx
mov edx, dword [ebp - 0x28]
and edx, 0x200000
je 0x596616
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0x511
mov word [edx + 0xb9a], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x400000
je 0x59663c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0x1204
mov word [ecx + 0xb9c], dx
mov eax, dword [ebp - 0x28]
and eax, 0x800000
je 0x596661
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x2a34
mov word [eax + 0xb9e], cx
mov edx, dword [ebp - 0x28]
and edx, 0x1000000
je 0x596687
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0x12ef
mov word [edx + 0xba0], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x2000000
je 0x5966ad
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0x9320
mov word [ecx + 0xba2], dx
mov eax, dword [ebp - 0x28]
and eax, 0x4000000
je 0x5966d2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x7032
mov word [eax + 0xba4], cx
mov edx, dword [ebp - 0x28]
and edx, 0x8000000
je 0x5966f8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d38]
mov eax, 0x836a
mov word [edx + 0xba6], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0x10000000
je 0x59671e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, 0x336
mov word [ecx + 0xba8], dx
mov eax, dword [ebp - 0x28]
and eax, 0x20000000
je 0x596743
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d38]
mov ecx, 0x9969
mov word [eax + 0xbaa], cx
jmp 0x5967a2
cmp dword [ebp - 4], 0
jne 0x5967a2
cmp dword [ebp + 8], 0
je 0x59679d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x59676f
xor eax, eax
je 0x59676f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x44], edx
jmp 0x596776
mov dword [ebp - 0x44], 0xffffffd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x34
push 0xffffffffffffffd0
mov edx, dword [ebp + 8]
push edx
call fcn.00576350
add esp, 0x1c
or eax, 0xffffffff
jmp 0x5967a4
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret