Function at 0x41bde0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push ebx
sub esp, 0xe0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
mov ebx, 4
mov dword [esp + 0xb8], ebx
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [esp + 0xb0], ecx
lea eax, [edx + 0x50]
xor ecx, ecx
mov dword [esp + 0xcc], eax
mov eax, 0x14
mov dword [esp + 0xc8], eax
lea eax, [edx + 0x254]
mov dword [esp + 0xc4], eax
mov eax, 4
mov dword [esp + 0xc0], eax
lea eax, [edx + 0x250]
mov dword [esp + 0xbc], eax
lea eax, [edx + 0x1d0]
mov dword [esp + 0xb4], eax
lea eax, [edx + 0x9c]
mov dword [esp + 0xac], eax
mov eax, 4
mov dword [esp + 0xa8], eax
lea eax, [edx + 0x98]
mov dword [esp + 0xa4], eax
xor eax, eax
mov dword [esp + 0xa0], eax
lea eax, [edx + 0x1ac]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0x98], eax
lea eax, [edx + 0x1a8]
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x90], eax
lea eax, [edx + 0x1a4]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x88], eax
lea eax, [edx + 0x1a0]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x80], eax
lea eax, [edx + 0x1b4]
mov dword [esp + 0x7c], eax
lea eax, [edx + 0x1b0]
mov dword [esp + 0x74], eax
lea eax, [edx + 0x1cc]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x68], eax
lea eax, [edx + 0x1c8]
mov dword [esp + 0x78], ebx
xor ebx, ebx
mov dword [esp + 0x70], ecx
xor ecx, ecx
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x60], eax
lea eax, [edx + 0xd0]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], eax
lea eax, [edx + 0xe4]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x50], eax
lea eax, [edx + 0x29c]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x48], eax
lea eax, [edx + 0x1e0]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
lea eax, [edx + 0x208]
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x204]
mov dword [esp + 0x34], eax
lea eax, [edx + 0x200]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], eax
lea eax, [edx + 0x1fc]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0x1c], eax
mov eax, 4
mov dword [esp + 0x18], eax
lea eax, [edx + 0x20]
add edx, 0x18
mov dword [esp + 0x14], eax
mov eax, 4
mov dword [esp + 0x10], eax
mov eax, 4
mov dword [esp + 8], eax
mov eax, 0x19
mov dword [esp + 0x38], ebx
xor ebx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp + 0x30], ecx
mov dword [esp], esi
call fcn.0041bcb0
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x56]
test al, 8
je 0x41bfef
mov ebx, 1
test byte [edx + 0x50], 1
je 0x41bff8
or ebx, 4
test al, 0x10
je 0x41bfff
or ebx, 8
movzx ecx, byte [edx + 0x58]
test cl, 0x10
je 0x41c00b
or ebx, 0x10
test byte [edx + 0x57], 0x10
je 0x41c014
or ebx, 0x20
test cl, 0x20
je 0x41c01c
or ebx, 0x40
test cl, 8
je 0x41c027
or ebx, 0x80
movzx ecx, byte [edx + 0x54]
test cl, 2
je 0x41c036
or ebx, 0x100
test cl, 1
je 0x41c041
or ebx, 0x200
shr al, 5
and eax, 3
dec eax
je 0x41c255
movzx eax, byte [edx + 0x56]
shr al, 5
and eax, 3
cmp eax, 2
je 0x41c270
test byte [edx + 0x55], 8
jne 0x41c06d
or ebx, 0x1000
movzx eax, byte [edx + 0x5c]
test al, 0x20
je 0x41c07b
or ebx, 0x2000
test al, 0x80
je 0x41c085
or ebx, 0x4000
movzx eax, byte [edx + 0x5e]
test al, 0x40
mov byte [ebp - 0xd], al
je 0x41c096
or ebx, 0x8000
movzx eax, byte [edx + 0x5d]
test al, 0x20
je 0x41c0a4
or ebx, 0x10000
test byte [edx + 0x60], 4
je 0x41c0b0
or ebx, 0x20000
test al, 0x10
je 0x41c0ba
or ebx, 0x80000
test byte [ebp - 0xd], 4
je 0x41c0c6
or ebx, 0x100000
movzx eax, byte [edx + 0x5f]
test al, 8
je 0x41c0d4
or ebx, 0x200000
movzx ecx, byte [ebp - 0xd]
test cl, 8
je 0x41c0e3
or ebx, 0x400000
test al, 1
je 0x41c0ed
or ebx, 0x800000
movzx eax, byte [edx + 0x5c]
test al, 2
je 0x41c0fb
or ebx, 0x1000000
test al, 1
je 0x41c105
or ebx, 0x2000000
test cl, 2
je 0x41c110
or ebx, 0x4000000
test cl, 0x10
je 0x41c11b
or ebx, 0x8000000
test byte [ebp - 0xd], 0x80
je 0x41c127
or ebx, 0x10000000
movzx eax, byte [edx + 0x57]
test al, 8
je 0x41c135
or ebx, 0x20000000
test al, 4
je 0x41c13f
or ebx, 0x40000000
test al, 2
je 0x41c149
or ebx, 0x80000000
mov eax, dword [edx + 0x254]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x250]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x1d0]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x9c]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x98]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x1ac]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1a8]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x1a4]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x1a0]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x1b4]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x1b0]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x1cc]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x1c8]
mov dword [esp + 0x34], eax
movsx eax, word [edx + 0xd0]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xe4]
mov dword [esp + 0x28], ebx
mov ebx, 0x18
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x1e0]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x208]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x204]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x200]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x1fc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0x20000000
setne al
dec eax
and eax, 0xffffffe4
add eax, 0x20
mov dword [esp], eax
call fcn.0041bd70
add esp, 0xe0
pop ebx
pop esi
pop ebp
ret
movzx eax, byte [edx + 0x56]
or ebx, 0x400
shr al, 5
and eax, 3
cmp eax, 2
jne 0x41c061
nop
or ebx, 0x800
jmp 0x41c061