Function at 0x1cadb90
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x1d4ff76
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x1d9682c]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1d9682c]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c8]
mov edi, dword [esp + 0x1d0]
mov ecx, dword [esp + 0x1d4]
mov edx, dword [esp + 0x1f4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], 0
test edi, edi
je 0x1cade86
mov eax, dword [edi + 8]
test eax, eax
je 0x1cade86
cmp dword [eax + 4], 0
je 0x1cade86
cmp dword [edi + 4], 0
jne 0x1cade86
lea ecx, [esp + 0x110]
call fcn.01d0fdc0
mov dword [esp + 0x1c0], 0
mov ecx, dword [edi + 8]
mov esi, dword [ecx + 4]
lea ecx, [esp + 0x6c]
call fcn.01d0fdc0
mov byte [esp + 0x1c0], 1
mov edx, dword [edi + 8]
movzx eax, word [edx]
shr eax, 1
push eax
push esi
lea ecx, [esp + 0x118]
call fcn.01d0fdd0
mov edx, dword [esp + 0x110]
lea ecx, [esp + 0x6c]
push ecx
push edx
call fcn.01cf9870
add esp, 8
test al, al
je 0x1cade5e
cmp dword [esp + 0x1ec], 0
jne 0x1cade5e
mov ebx, dword [esp + 0x1e8]
mov eax, ebx
and eax, 0x200000
je 0x1cadcae
nop
test ebx, 0xff5ea380
jne 0x1cade5e
xor edi, edi
test bl, 0x30
jne 0x1cadcc6
mov edi, 0x40000000
test eax, eax
je 0x1cadcd0
or edi, 0x200000
test bl, 2
je 0x1cadcdb
or edi, 0x80000000
test bl, 4
je 0x1cadce6
or edi, 0x8000000
test bl, 8
je 0x1cadcf1
or edi, 0x20000000
test ebx, 0x800
je 0x1cadcff
or edi, 0x10000000
test ebx, 0x4400
je 0x1cadd0d
or edi, 0x2000000
test ebx, 0x1000
je 0x1cadd1b
or edi, 0x4000000
mov eax, dword [esp + 0x1dc]
mov esi, dword [esp + 0x1e4]
and eax, 0x1ffff
or edi, eax
xor ebp, ebp
test esi, esi
jne 0x1cadd3e
lea ebp, [esi + 2]
jmp 0x1cade0e
cmp esi, 2
jne 0x1cadd84
lea ebp, [esi - 1]
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.01c944e0
cmp eax, 0xffffffff
jne 0x1caddac
call dword [0x1d7fd78]
cmp eax, 2
jne 0x1cade0e
test bl, 1
je 0x1cade0e
cmp esi, 3
je 0x1cadd7a
cmp esi, eax
jne 0x1cade0e
mov byte [esp + 0x17], 1
jmp 0x1cade0e
cmp esi, 1
jne 0x1cadd8e
lea ebp, [esi + 2]
jmp 0x1cadd46
cmp esi, 3
jne 0x1cadd98
lea ebp, [esi + 1]
jmp 0x1cadd46
cmp esi, 4
jne 0x1cadda2
lea ebp, [esi + 1]
jmp 0x1cade0e
cmp esi, 5
jne 0x1cade0e
lea ebp, [esi - 3]
jmp 0x1cade0e
and eax, 0x10
je 0x1caddef
test bl, 0x40
je 0x1caddef
mov edx, dword [esp + 0x18]
mov dword [edx], 0xc00000ba
mov byte [esp + 0x1c0], 0
lea ecx, [esp + 0x6c]
call fcn.01d0f660
mov dword [esp + 0x1c0], 0xffffffff
lea ecx, [esp + 0x110]
call fcn.01d0f660
mov al, 1
jmp 0x1cade88
test eax, eax
jne 0x1cade08
test bl, 1
je 0x1cade04
mov eax, dword [esp + 0x18]
mov dword [eax], 0xc0000103
jmp 0x1caddc0
test eax, eax
je 0x1cade0e
or edi, 0x2000000
mov al, bl
and al, 1
mov byte [esp + 0x1f], al
je 0x1cadeb8
cmp esi, 1
je 0x1cadeb2
cmp esi, 3
je 0x1cadeb2
cmp esi, 2
je 0x1cadeb2
mov ecx, dword [0x1d95168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x1cade5e
cmp dword [esp + 0x20], 0
je 0x1cade5e
mov eax, dword [0x1d76b80]
push eax
push str.__FILE_DIRECTORY_FILE_
mov ecx, dword [esp + 0x28]
call fcn.01d0fdd0
mov byte [esp + 0x1c0], 0
lea ecx, [esp + 0x6c]
call fcn.01d0f660
mov dword [esp + 0x1c0], 0xffffffff
lea ecx, [esp + 0x110]
call fcn.01d0f660
xor al, al
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.01d20f6a
add esp, 0x1b0
ret 0x34
or edi, 0x2000000
shr ebx, 6
and bl, 1
mov byte [esp + 0x1e], bl
je 0x1cadf0c
cmp esi, 1
je 0x1cadf0c
cmp esi, 3
je 0x1cadf0c
cmp esi, 4
je 0x1cadf0c
cmp esi, 5
je 0x1cadf0c
cmp esi, 2
je 0x1cadf0c
mov ecx, dword [0x1d95168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x1cade5e
cmp dword [esp + 0x20], 0
je 0x1cade5e
mov eax, dword [0x1d76b80]
push eax
push str.__FILE_NON_DIRECTORY_FILE_
jmp 0x1cade55
mov ecx, dword [0x1d95168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x1cadf37
cmp dword [esp + 0x20], 0
je 0x1cadf37
mov eax, dword [0x1d76b80]
mov ecx, dword [esp + 0x20]
push eax
push str._new_CreateFile_
call fcn.01d0fdd0
xor bl, bl
cmp byte [esp + 0x17], bl
je 0x1cadfa7
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
shr edx, 1
push 0
and edx, 1
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x74]
push ecx
push edx
mov dword [esp + 0x48], 0xc
call fcn.01cabf20
add esp, 0x10
test al, al
je 0x1cade5e
cmp dword [esp + 0x28], 0
jne 0x1cadfa0
call dword [0x1d7fd78]
push eax
call fcn.01ca4020
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
jmp 0x1caddc0
mov bl, 1
mov ebp, 3
mov eax, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x1cc]
push 7
push 0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x78]
push 0
push edi
push ebp
push 0
push eax
push ecx
push edx
call fcn.01cafe90
test al, al
je 0x1cade5e
call dword [0x1d7fd78]
mov esi, eax
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x1cae045
push 4
push 0x28
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
call fcn.01cea210
mov edi, eax
mov eax, dword [esp + 0x24]
test edi, edi
jge 0x1cae045
push eax
call fcn.01caa3b0
mov ecx, dword [esp + 0x18]
or esi, 0xffffffff
mov dword [esp + 0x24], esi
mov dword [ecx], edi
mov byte [esp + 0x1c0], 0
lea ecx, [esp + 0x6c]
call fcn.01d0f660
mov dword [esp + 0x1c0], esi
lea ecx, [esp + 0x110]
call fcn.01d0f660
mov al, 1
jmp 0x1cade88
cmp byte [esp + 0x1f], 0
mov cl, byte [esp + 0x64]
je 0x1cae06f
cmp eax, 0xffffffff
je 0x1cae06f
test cl, 0x10
jne 0x1cae06f
push eax
call fcn.01caa3b0
mov edx, dword [esp + 0x18]
mov dword [edx], 0xc0000103
jmp 0x1caddc0
mov dl, byte [esp + 0x1e]
test dl, dl
je 0x1cae096
cmp eax, 0xffffffff
je 0x1cae09b
test cl, 0x10
je 0x1cae096
push eax
call fcn.01caa3b0
mov eax, dword [esp + 0x18]
mov dword [eax], 0xc00000ba
jmp 0x1caddc0
cmp eax, 0xffffffff
jne 0x1cae0e5
test dl, dl
je 0x1cae0d1
cmp esi, 3
jne 0x1cae0d1
mov ecx, dword [esp + 0x6c]
push 7
push 0x10
push ecx
call fcn.01c94d90
add esp, 0xc
test al, al
jne 0x1caddb6
push esi
call fcn.01ca4020
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
jmp 0x1caddc0
push esi
call fcn.01ca4020
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [edx], eax
jmp 0x1caddc0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [edx], 0
mov dword [eax], 0
test bl, bl
jne 0x1cae121
cmp ebp, 2
jne 0x1cae11c
sub esi, 0xb7
neg esi
sbb esi, esi
and esi, ebp
mov dword [eax + 4], esi
jmp 0x1caddc0
cmp ebp, 1
jne 0x1cae12d
mov dword [eax + 4], 2
jmp 0x1caddc0
cmp ebp, 4
jne 0x1cae146
xor ecx, ecx
cmp esi, 0xb7
setne cl
inc ecx
mov dword [eax + 4], ecx
jmp 0x1caddc0
cmp ebp, 3
jne 0x1cae157
mov dword [eax + 4], 1
jmp 0x1caddc0
cmp ebp, 5
jne 0x1caddc0
mov dword [eax + 4], 3
jmp 0x1caddc0