Function at 0x401820
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40234c
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov dword [ebp - 0x20], ecx
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
jne 0x40191e
mov dword [ebp - 0x144], 0x433140
mov dword [ebp - 0x12c], 0x433138
mov dword [ebp - 0x128], 0x433130
push 1
mov eax, dword [0x44863c]
mov dword [ebp - 0x124], 0x433120
push esi
lea ecx, [ebp - 0x140]
push 0xffffffffffffffff
push esi
push esi
push eax
push 0x448648
call fcn.0040b5c0
push esi
lea ecx, [ebp - 0x12c]
or dword [ebp - 0x14], 0x1000000
mov dword [ebp - 4], esi
call fcn.00402620
push esi
lea ecx, [ebp - 0x128]
or dword [ebp - 0x14], 0x2000000
mov dword [ebp - 4], 1
call fcn.00402440
push esi
lea ecx, [ebp - 0x124]
or dword [ebp - 0x14], 0x4000000
mov dword [ebp - 4], 2
call fcn.00402510
or dword [ebp - 0x14], 0x8000000
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x144]
push 0x436bc0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x144]
push eax
mov dword [ebp + ecx - method.Err_Rli_FileOpen.virtual_0], vtable.Err_Rli_FileOpen.0
call fcn.00428590
push 0
mov edx, 0x80000000
push 0x10000000
mov ecx, dword [ebp + 8]
push 3
push 0
push 1
call fcn.00426d00
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x401a17
mov dword [ebp - 0x120], 0x433140
mov dword [ebp - 0x108], 0x433138
mov dword [ebp - 0x104], 0x433130
push 1
mov eax, dword [0x44863c]
mov dword [ebp - 0x100], 0x433120
push 0
lea ecx, [ebp - 0x11c]
push 0xffffffffffffffff
push 0
push 0
push eax
push 0x448648
call fcn.0040b5c0
push 0
lea ecx, [ebp - 0x108]
or dword [ebp - 0x14], 0x10000000
mov dword [ebp - 4], 4
call fcn.00402620
push 0
lea ecx, [ebp - 0x104]
or dword [ebp - 0x14], 0x20000000
mov dword [ebp - 4], 5
call fcn.00402440
push 0
lea ecx, [ebp - 0x100]
or dword [ebp - 0x14], 0x40000000
mov dword [ebp - 4], 6
call fcn.00402510
or dword [ebp - 0x14], 0x80000000
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x120]
push 0x436bc0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x120]
push eax
mov dword [ebp + ecx - method.Err_Rli_FileOpen.virtual_0], vtable.Err_Rli_FileOpen.0
call fcn.00428590
push 0
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x44]
push 0xa
mov ecx, dword [ebp - 0x1c]
call fcn.00427260
test eax, eax
jne 0x401a63
mov ecx, dword [ebp - 0x1c]
call fcn.00427db0
push 1
push 1
push 0
lea ecx, [ebp - 0x18c]
push 0xffffffffffffffff
push 0
push 0
push 0x448648
call fcn.00402730
push 0x436b38
lea eax, [ebp - 0x18c]
push eax
call fcn.00428590
cmp word [ebp - 0x44], 0x54e
je 0x401ae5
mov ecx, dword [ebp - 0x1c]
call fcn.00427db0
mov dword [ebp - 0x7c], 0x433168
push 1
mov eax, dword [0x43c180]
mov dword [ebp - 0x64], 0x433160
push 0
lea ecx, [ebp - 0x78]
push 0xffffffffffffffff
push 0
push 0
push eax
push 0x448648
call fcn.0040b5c0
or dword [ebp - 0x14], 1
mov dword [ebp - 4], 8
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x64]
push 0x436ad0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 4]
or dword [ebp - 0x14], 2
mov dword [ebp + ecx - 0x64], vtable.Err_Rli.0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp + ecx - 0x7c], vtable.Err_RliBadFormat.0
call fcn.00428590
push 2
xor edx, edx
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00427c90
cmp eax, 0xffffffff
je 0x401afd
cmp dword [ebp - 0x42], eax
jle 0x401b77
mov ecx, dword [ebp - 0x1c]
call fcn.00427db0
mov dword [ebp - 0x60], 0x433168
push 1
mov eax, dword [0x43c180]
mov dword [ebp - 0x48], 0x433160
push 0
lea ecx, [ebp - 0x5c]
push 0xffffffffffffffff
push 0
push 0
push eax
push 0x448648
call fcn.0040b5c0
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0xa
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x48]
push 0x436ad0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 4]
or dword [ebp - 0x14], 0x10
mov dword [ebp + ecx - 0x48], vtable.Err_Rli.0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x60]
push eax
mov dword [ebp + ecx - 0x60], vtable.Err_RliBadFormat.0
call fcn.00428590
cmp dword [ebp + 0xc], 0
je 0x401c46
mov eax, dword [ebp - 0x42]
jmp 0x401c57
xor eax, eax
mov ax, word [ebp - 0x3e]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0x54e
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
add eax, 0x2c
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax]
call fcn.004012e0
mov dword [ebp - 4], 0xc
mov edx, 1
mov ecx, dword [ebp - 0x24]
call fcn.0040b630
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
push 0
xor edx, edx
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00427c90
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.00427260
test eax, eax
jne 0x401cec
mov ecx, dword [ebp - 0x1c]
call fcn.00427db0
mov ecx, dword [ebp - 0x18]
call fcn.0040b710
push 1
push 1
push 0
lea ecx, [ebp - 0x168]
push 0xffffffffffffffff
push 0
push 0
push 0x448648
call fcn.00402730
push 0x436b38
lea eax, [ebp - 0x168]
push eax
call fcn.00428590
mov eax, dword [ebp - 0x18]
and word [eax + 8], 0x1000
add eax, 8
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x28], eax
je 0x401de6
mov ecx, dword [ebp - 0x1c]
call fcn.00427db0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0xc], 0xffffffff
or byte [ecx], 2
jmp 0x401df5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
or byte [edx], 1
cmp dword [ebp + 0xc], 0
jne 0x401e9d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov di, word [eax + 6]
add edx, 0x53a
movzx esi, di
mov eax, dword [eax + 2]
lea ecx, [esi*4]
lea ebx, [ecx + ecx*4]
sub eax, dword [ebx + edx + 4]
test di, di
mov dword [ebp - 0x24], eax
je 0x401e3f
mov eax, dword [edx + 0x18]
sub eax, dword [edx + 4]
cmp eax, dword [ebp - 0x24]
jle 0x401e39
mov dword [ebp - 0x24], eax
add edx, 0x14
dec esi
jne 0x401e2b
mov eax, dword [ebp - 0x24]
cmp dword [0x43c174], eax
jge 0x401e9d
xor esi, esi
cmp dword [0x43c170], esi
je 0x401e6b
mov ecx, dword [0x43c170]
call fcn.0040b710
mov dword [0x43c174], esi
mov dword [0x43c178], esi
mov dword [ebp - 4], 0x11
mov edx, 1
mov ecx, dword [ebp - 0x24]
call fcn.0040b630
mov dword [0x43c170], eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x43c178], 0
mov eax, dword [ebp - 0x24]
mov dword [0x43c174], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x16]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x1a]
mov dword [ecx + 0x18], edx
xor ecx, ecx
mov cx, word [eax + 6]
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 0x28]
mov ax, word [ecx]
mov ecx, dword [ebp - 0x20]
and ax, 0x1000
cmp ax, 1
sbb eax, eax
inc eax
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0x16
lea ebx, [ecx + 0x10]
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edx, 1
call fcn.0040b630
mov dword [ebx], eax
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
call fcn.0040d700
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, edx
mov edx, dword [ebp - 0x20]
add edx, 8
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x28]
add esi, 0x28
test ecx, ecx
je 0x401f67
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
lea ecx, [edx + ecx + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi], 0
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x18]
add ecx, 0x3a
call fcn.00414050
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8