Function at 0x53a350
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
lea eax, [ebp - 0x98]
push eax
push 0
push 0
call fcn.0053a320
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x53a3b3
jmp 0x53aa78
lea edx, [ebp - 0x24]
push edx
push 0
push 1
call fcn.0053a320
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x53a3d4
jmp 0x53aa78
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + edx - 0x24]
and eax, 0x4000000
je 0x53a426
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x24]
and edx, 0x4000000
je 0x53a416
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x24]
and ecx, 0x8000000
je 0x53a416
mov dword [ebp - 0x28], 1
jmp 0x53a41d
mov dword [ebp - 0x28], 0
mov dl, byte [ebp - 0x28]
mov byte [0x590a4d], dl
movzx eax, byte [0x590a4d]
test eax, eax
jne 0x53a43b
call fcn.0053f0b0
mov byte [0x590a4d], al
movzx ecx, byte [0x590a4d]
test ecx, ecx
jne 0x53a450
jmp 0x53aa78
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x24]
and eax, 0x200
je 0x53a46b
mov dword [ebp - 0x2c], 1
jmp 0x53a472
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [0x59126e], cl
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x24]
and eax, 0x80000
je 0x53a496
mov dword [ebp - 0x30], 1
jmp 0x53a49d
mov dword [ebp - 0x30], 0
mov cl, byte [ebp - 0x30]
mov byte [0x591260], cl
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x24]
and eax, 0x100000
je 0x53a4c1
mov dword [ebp - 0x34], 1
jmp 0x53a4c8
mov dword [ebp - 0x34], 0
mov cl, byte [ebp - 0x34]
mov byte [0x59126f], cl
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x24]
and eax, 0x400000
je 0x53a4ec
mov dword [ebp - 0x38], 1
jmp 0x53a4f3
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [0x59126c], cl
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x24]
and eax, 0x2000000
je 0x53a517
mov dword [ebp - 0x3c], 1
jmp 0x53a51e
mov dword [ebp - 0x3c], 0
mov cl, byte [ebp - 0x3c]
mov byte [0x590a4f], cl
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x24]
and eax, 2
je 0x53a540
mov dword [ebp - 0x40], 1
jmp 0x53a547
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [0x591262], cl
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x24]
and eax, 0x18000000
cmp eax, 0x18000000
jne 0x53a5c5
push 0
call fcn.0053a310
add esp, 4
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0xa0]
and ecx, 6
mov edx, dword [ebp - 0x9c]
and edx, 0
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa8], 6
jne 0x53a5b6
cmp dword [ebp - 0xa4], 0
jne 0x53a5b6
mov dword [ebp - 0x44], 1
jmp 0x53a5bd
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov byte [0x59126d], al
lea ecx, [ebp - 0x98]
push ecx
call fcn.0053a110
add esp, 4
movzx edx, al
test edx, edx
je 0x53a737
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x24]
shr edx, 8
and edx, 0xf
cmp edx, 0xf
jne 0x53a5ff
mov dword [ebp - 0x48], 1
jmp 0x53a606
mov dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
mov byte [0x591261], al
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x24]
shr edx, 8
movzx eax, dl
shl eax, 3
mov dword [0x58bb6c], eax
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x24]
and edx, 0x40000000
je 0x53a644
mov dword [ebp - 0x4c], 1
jmp 0x53a64b
mov dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
mov byte [0x59126b], al
mov ecx, 4
imul edx, ecx, 0
cmp dword [ebp + edx - 0x98], 7
jb 0x53a732
lea eax, [ebp - 0x10]
push eax
push 0
push 7
call fcn.0053a320
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x53a732
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x10]
and eax, 0x40000
je 0x53a6a0
mov dword [ebp - 0x50], 1
jmp 0x53a6a7
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [0x591268], cl
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x10]
and eax, 0x80000
je 0x53a6cc
mov dword [ebp - 0x54], 1
jmp 0x53a6d3
mov dword [ebp - 0x54], 0
mov cl, byte [ebp - 0x54]
mov byte [0x591263], cl
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x10]
and eax, 0x20000000
je 0x53a6f8
mov dword [ebp - 0x58], 1
jmp 0x53a6ff
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [0x590a4c], cl
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x10]
and eax, 0x20
je 0x53a722
mov dword [ebp - 0x5c], 1
jmp 0x53a729
mov dword [ebp - 0x5c], 0
mov cl, byte [ebp - 0x5c]
mov byte [0x59126a], cl
jmp 0x53aa62
lea edx, [ebp - 0x98]
push edx
call fcn.0053a170
add esp, 4
movzx eax, al
test eax, eax
jne 0x53a767
lea ecx, [ebp - 0x98]
push ecx
call fcn.0053a210
add esp, 4
movzx edx, al
test edx, edx
je 0x53a8ec
lea eax, [ebp - 0x10]
push eax
push 0
push VariantCopy
call fcn.0053a320
add esp, 0xc
mov ecx, 4
shl ecx, 1
movzx edx, byte [ebp + ecx - 0x10]
mov dword [0x58bb6c], edx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x24]
and ecx, 0x40000000
je 0x53a7a8
mov dword [ebp - 0x60], 1
jmp 0x53a7af
mov dword [ebp - 0x60], 0
mov dl, byte [ebp - 0x60]
mov byte [0x59126b], dl
mov eax, 4
imul ecx, eax, 0
cmp dword [ebp + ecx - 0x98], 7
jb 0x53a896
lea edx, [ebp - 0x10]
push edx
push 0
push 7
call fcn.0053a320
add esp, 0xc
movzx eax, al
test eax, eax
je 0x53a896
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x10]
and edx, 0x40000
je 0x53a806
mov dword [ebp - 0x64], 1
jmp 0x53a80d
mov dword [ebp - 0x64], 0
mov al, byte [ebp - 0x64]
mov byte [0x591268], al
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x10]
and edx, 0x80000
je 0x53a832
mov dword [ebp - 0x68], 1
jmp 0x53a839
mov dword [ebp - 0x68], 0
mov al, byte [ebp - 0x68]
mov byte [0x591263], al
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x10]
and edx, 0x20000000
je 0x53a85e
mov dword [ebp - 0x6c], 1
jmp 0x53a865
mov dword [ebp - 0x6c], 0
mov al, byte [ebp - 0x6c]
mov byte [0x590a4c], al
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x10]
and edx, 0x20
je 0x53a887
mov dword [ebp - 0x70], 1
jmp 0x53a88e
mov dword [ebp - 0x70], 0
mov al, byte [ebp - 0x70]
mov byte [0x59126a], al
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x24]
and eax, 0xf00
shr eax, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xf
jne 0x53a8cd
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x24]
and eax, 0xff00000
shr eax, 0x14
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x15
je 0x53a8d9
cmp dword [ebp - 0x14], 0x16
jne 0x53a8e7
mov byte [0x59126b], 0
mov byte [0x591268], 0
jmp 0x53aa62
lea ecx, [ebp - 0x98]
push ecx
call fcn.0053a270
add esp, 4
movzx edx, al
test edx, edx
je 0x53aa62
lea eax, [ebp - 0x10]
push eax
push 0
push 0xc0000000
call fcn.0053a320
add esp, 0xc
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x10]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xc0000001
jb 0x53aa32
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xc0000001
call fcn.0053a320
add esp, 0xc
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp + eax - 0x10]
and ecx, 0xc
je 0x53a968
mov dword [ebp - 0x74], 1
jmp 0x53a96f
mov dword [ebp - 0x74], 0
mov dl, byte [ebp - 0x74]
mov byte [0x591269], dl
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + ecx - 0x10]
and edx, 0xc0
je 0x53a995
mov dword [ebp - 0x78], 1
jmp 0x53a99c
mov dword [ebp - 0x78], 0
mov al, byte [ebp - 0x78]
mov byte [0x591266], al
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + edx - 0x10]
and eax, 0x300
je 0x53a9c0
mov dword [ebp - 0x7c], 1
jmp 0x53a9c7
mov dword [ebp - 0x7c], 0
mov cl, byte [ebp - 0x7c]
mov byte [0x591267], cl
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp + eax - 0x10]
and ecx, 0xc00
je 0x53a9ed
mov dword [ebp - 0x80], 1
jmp 0x53a9f4
mov dword [ebp - 0x80], 0
mov dl, byte [ebp - 0x80]
mov byte [0x591264], dl
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + ecx - 0x10]
and edx, 0x3000
je 0x53aa1d
mov dword [ebp - 0x84], 1
jmp 0x53aa27
mov dword [ebp - 0x84], 0
mov al, byte [ebp - 0x84]
mov byte [0x591265], al
cmp dword [ebp - 0x88], 0xc0000005
jb 0x53aa62
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xc0000005
call fcn.0053a320
add esp, 0xc
mov edx, 4
shl edx, 1
movzx eax, byte [ebp + edx - 0x10]
mov dword [0x58bb6c], eax
movzx ecx, byte [0x59126a]
movzx edx, byte [0x59126d]
and ecx, edx
mov byte [0x59126a], cl
cmp dword [0x58bb6c], 0
jne 0x53aa8b
mov dword [0x58bb6c], 0x20
mov byte [0x590a4e], 1
mov esp, ebp
pop ebp
ret