Function at 0x53d4a0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
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 0x53d511
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
movzx edx, word [ecx + 0xb78]
cmp edx, 0x2655
je 0x53d50f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb8c], 0xd30f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb8c], 0xd30f
xor eax, eax
jmp 0x53dd29
jmp 0x53d533
push 0x40
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
add edx, 0xb50
push edx
call fcn.004720b0
add esp, 0xc
push 4
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0058cc20
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x53d635
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x53d565
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
jne 0x53d56c
xor eax, eax
jmp 0x53dd29
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 1
jmp 0x53d585
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 4
jge 0x53d59e
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov eax, dword [ebp - 0x20]
shr eax, cl
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
jmp 0x53d57c
mov dword [ebp - 0x28], 0
jmp 0x53d5b0
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 4
jge 0x53d5c9
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov edx, dword [ebp - 0x1c]
shr edx, cl
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
jmp 0x53d5a7
mov eax, dword [ebp - 0xc]
and eax, 0x7f
mov ecx, dword [ebp - 0x20]
and ecx, 0x7f
cmp eax, ecx
je 0x53d630
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x53d5f7
xor eax, eax
je 0x53d5f7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x2c], edx
jmp 0x53d5fe
mov dword [ebp - 0x2c], 0xffffffd4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
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.0052cd20
add esp, 0x1c
or eax, 0xffffffff
jmp 0x53dd29
jmp 0x53d6f1
mov eax, dword [ebp - 0x18]
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 - 0x18]
and eax, 0xffff
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x20]
and edx, 0x7f
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
and eax, 0xffffff80
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0
jne 0x53d68e
lea ecx, [ebp - 0x24]
push ecx
call fcn.0058cda0
add esp, 4
cmp dword [ebp - 8], eax
je 0x53d6f1
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xffffff3f
je 0x53d6e9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x53d6bb
xor ecx, ecx
je 0x53d6bb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x30], eax
jmp 0x53d6c2
mov dword [ebp - 0x30], 0xffffffd4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
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.0052cd20
add esp, 0x1c
or eax, 0xffffffff
jmp 0x53dd29
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80000000
jbe 0x53d726
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
cmp eax, 4
jge 0x53d726
mov dword [ebp - 0x34], 1
jmp 0x53d72d
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0x40000000
je 0x53d744
cmp dword [ebp - 0x14], 0
je 0x53d75c
cmp dword [ebp - 0x14], 0
je 0x53dcd0
mov eax, dword [ebp - 0x1c]
and eax, 0x400000
je 0x53dcd0
cmp dword [ebp - 4], 0
je 0x53d799
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb8c], 0xd30f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb8c], 0xd30f
xor eax, eax
jmp 0x53dd29
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
cmp dword [edx + 0x1da8], 0
je 0x53d81f
mov eax, dword [ebp - 0x20]
and eax, 0x100
jne 0x53d81f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x53d7d3
xor edx, edx
je 0x53d7d3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x38], ecx
jmp 0x53d7da
mov dword [ebp - 0x38], 0xffffff3f
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x5215
push 0xffffff3f
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052cd20
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov byte [eax + 0x1db0], 0
or eax, 0xffffffff
jmp 0x53dd29
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
cmp dword [edx + 0x1dac], 0x64
jne 0x53d85d
mov eax, dword [ebp - 0x20]
and eax, 0x100
jne 0x53d84d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov byte [edx + 0x1db0], 0
jmp 0x53d85d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov byte [ecx + 0x1db0], 1
mov edx, dword [ebp - 0x24]
and edx, 0x100000
je 0x53d885
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb78], 0x2655
jmp 0x53d914
mov eax, dword [ebp - 0x18]
and eax, 0xffff
push eax
push 0x5eeed8
push str.a001
call fcn.00471bce
add esp, 0xc
push 0
push str.a001
call fcn.0052e060
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052d5b0
add esp, 0xc
test eax, eax
je 0x53d914
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x53d8de
xor eax, eax
je 0x53d8de
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x3c], edx
jmp 0x53d8e5
mov dword [ebp - 0x3c], 0xffffffce
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
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.0052cd20
add esp, 0x1c
or eax, 0xffffffff
jmp 0x53dd29
mov eax, dword [ebp - 0x24]
and eax, 2
je 0x53d934
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb52], 0x20
mov ecx, dword [ebp - 0x24]
and ecx, 4
je 0x53d954
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb54], 0x3e1
mov edx, dword [ebp - 0x24]
and edx, 8
je 0x53d974
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb56], 0xabcd
mov eax, dword [ebp - 0x24]
and eax, 0x10
je 0x53d994
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb58], 0x54
mov ecx, dword [ebp - 0x24]
and ecx, 0x20
je 0x53d9b4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb5a], 0x5e
mov edx, dword [ebp - 0x24]
and edx, 0x40
je 0x53d9d4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb5c], 0x7f
mov eax, dword [ebp - 0x24]
and eax, 0x80
je 0x53d9f6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb5e], 0x4e9b
mov ecx, dword [ebp - 0x24]
and ecx, 0x4000
je 0x53da19
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb6c], 0xdead
mov edx, dword [ebp - 0x24]
and edx, 0x8000
je 0x53da3c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb6e], 0xfeef
mov eax, dword [ebp - 0x24]
and eax, 0x100
je 0x53da5e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb60], 0xc7
mov ecx, dword [ebp - 0x24]
and ecx, 0x200
je 0x53da81
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb62], 0x1538
mov edx, dword [ebp - 0x24]
and edx, 0x800
je 0x53daa4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb66], 0xc
mov eax, dword [ebp - 0x24]
and eax, 0x800
je 0x53dac6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb66], 0xdcba
mov ecx, dword [ebp - 0x24]
and ecx, 0x1000
je 0x53dae9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb68], 0x3ce
mov edx, dword [ebp - 0x24]
and edx, 0x2000
je 0x53db0c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb6a], 0x22b
mov eax, dword [ebp - 0x24]
and eax, 0x10000
je 0x53db2e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb70], 0x46
mov ecx, dword [ebp - 0x24]
and ecx, 0x20000
je 0x53db51
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb72], 0xdd
mov edx, dword [ebp - 0x24]
and edx, 0x40000
je 0x53db74
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb74], 0x70
mov eax, dword [ebp - 0x24]
and eax, 0x80000
je 0x53db96
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb76], 0x15a6
mov ecx, dword [ebp - 0x24]
and ecx, 0x200000
je 0x53dbb9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb7a], 0x511
mov edx, dword [ebp - 0x24]
and edx, 0x400000
je 0x53dbdc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb7c], 0x1204
mov eax, dword [ebp - 0x24]
and eax, 0x800000
je 0x53dbfe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb7e], 0x2a34
mov ecx, dword [ebp - 0x24]
and ecx, 0x1000000
je 0x53dc21
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb80], 0x12ef
mov edx, dword [ebp - 0x24]
and edx, 0x2000000
je 0x53dc44
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb82], 0x9320
mov eax, dword [ebp - 0x24]
and eax, 0x4000000
je 0x53dc66
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb84], 0x7032
mov ecx, dword [ebp - 0x24]
and ecx, 0x8000000
je 0x53dc89
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d18]
mov word [ecx + 0xb86], 0x836a
mov edx, dword [ebp - 0x24]
and edx, 0x10000000
je 0x53dcac
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx + 0x1d18]
mov word [edx + 0xb88], 0x336
mov eax, dword [ebp - 0x24]
and eax, 0x20000000
je 0x53dcce
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a8]
mov eax, dword [edx + 0x1d18]
mov word [eax + 0xb8a], 0x9969
jmp 0x53dd27
cmp dword [ebp - 4], 0
jne 0x53dd27
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x53dcf4
xor edx, edx
je 0x53dcf4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x40], ecx
jmp 0x53dcfb
mov dword [ebp - 0x40], 0xffffffd0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
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.0052cd20
add esp, 0x1c
or eax, 0xffffffff
jmp 0x53dd29
xor eax, eax
mov esp, ebp
pop ebp
ret