Function at 0x6141f0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x705bc0
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x80]
mov dword [esi], edx
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
mov eax, dword [edx + 0x258]
mov ecx, dword [edx + 0x260]
mov ebx, dword [edx + 0x264]
mov edi, dword [edx + 0x25c]
or ecx, dword [edx + 0x270]
or eax, dword [edx + 0x268]
or ebx, dword [edx + 0x274]
or edi, dword [edx + 0x26c]
mov edx, dword [ebp + 0xc]
or eax, ecx
or edi, ebx
or edi, eax
mov eax, dword [edx + 8]
mov edi, dword [edx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x24], eax
je 0x61439e
cmp edi, eax
jae 0x61439e
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + edi]
mov eax, ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 1
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov ch, cl
and al, 0x78
and ch, 7
shr al, 3
mov cl, ch
neg al
movsx ebx, al
mov edx, dword [esi + ebx + 0x70]
mov eax, dword [esi + ebx + 0x74]
shld eax, edx, cl
shl edx, cl
not cl
mov dword [esi + 8], eax
mov eax, dword [esi + ebx + 0x6c]
mov dword [esi + 4], edi
mov ebx, dword [esi + ebx + 0x68]
mov edi, eax
shr edi, 1
shr edi, cl
mov cl, ch
shld eax, ebx, cl
or edi, edx
mov edx, dword [esi + 0x1c]
shl ebx, cl
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
shr edx, 3
lea eax, [ecx + 0x258]
mov ecx, dword [esi + 8]
and edx, 0x10
mov dword [esi + 0x4c], eax
and edi, dword [eax + edx + 8]
mov eax, dword [esi + 0x4c]
and ecx, dword [eax + edx + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x4c]
and eax, dword [ecx + edx + 4]
and ebx, dword [ecx + edx]
mov edx, dword [ebp + 0xc]
or eax, dword [esi + 8]
or ebx, edi
mov edi, dword [esi + 4]
or eax, ebx
mov eax, dword [esi + 0x24]
je 0x61439e
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x61437a
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x614da5
mov dword [0x919820], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x614da5
mov ecx, dword [esi + 0x1c]
mov byte [eax], 0
mov byte [eax + 1], cl
mov dword [eax + 4], edi
jmp 0x61470a
cmp edi, eax
mov bl, 2
jae 0x6143b8
cmp dword [esi + 0x14], 0
je 0x6143b8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
movzx eax, byte [eax + edi]
movzx ebx, byte [ecx + eax + 0x58]
mov eax, dword [edx]
movzx ecx, bl
test eax, eax
je 0x6143cd
cmp eax, 1
jne 0x6146b5
add ecx, 6
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x88]
cmp ecx, edx
jae 0x614775
mov eax, dword [eax + 0x80]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x614911
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
mov ebx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x10]
cmp ecx, edi
jne 0x614518
test edi, edi
je 0x614875
lea edx, [edi - 1]
mov dword [esi + 4], edi
cmp edx, ebx
jae 0x614d29
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x24], edx
mov ebx, dword [ebp + 8]
movzx ecx, byte [ecx + edx]
mov byte [esi + 0x14], cl
movzx edi, cl
mov ecx, dword [esi]
movzx edx, byte [ecx + edi + 0x158]
mov ecx, eax
and ecx, 0x7ffffff
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x614d2d
mov edx, dword [ebx + 0x74]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x614aed
test edx, 0x8000000
jne 0x6148c3
test edx, 0x20000000
je 0x6148bc
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x614493
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x614da5
mov dword [0x919820], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x614da5
movzx ecx, byte [esi + 0x14]
mov edx, dword [esi + 0x24]
mov byte [eax], 0
mov byte [eax + 1], cl
mov dword [eax + 4], edx
mov dword [esi + 0x20], eax
movzx ecx, byte [eax]
test ecx, ecx
je 0x61471d
cmp ecx, 1
je 0x61471d
lea ecx, [esi + 0x44]
lea eax, [esi + 0x20]
mov dword [esi + 0x28], 0x8bedf4
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], 0
mov edx, 0x8bee6c
mov dword [esi + 0x88], 2
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x28]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0x63d0a0
mov dword [esi + 0x34], 1
call fcn.00709f70
jmp 0x614dfc
mov edx, dword [esi]
dec edi
mov dword [esi + 0x1c], 0
mov dword [esi + 8], ecx
mov edx, dword [edx + 0x278]
mov dword [esi + 0x50], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x27c]
and edx, 0x1f
mov dword [esi + 0x54], edx
mov edx, dword [esi]
nop
cmp edi, ebx
jae 0x614c24
mov ecx, dword [esi + 0x14]
mov dword [esi + 4], edi
mov ebx, dword [ebp + 8]
movzx edi, byte [ecx + edi]
mov ecx, eax
and ecx, 0x7ffffff
movzx edx, byte [edx + edi + 0x158]
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x614c0b
mov edx, dword [ebx + 0x74]
mov ebx, dword [esi + 0x24]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x61467a
cmp edx, 0x7ffffff
jbe 0x6145c0
test edx, 0x8000000
jne 0x6145e0
mov ecx, dword [esi + 8]
test edx, 0x40000000
jne 0x614a45
test edx, 0x20000000
jne 0x614a4f
mov edi, dword [esi + 4]
cmp ecx, edi
jne 0x614667
jmp 0x614784
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp ecx, edi
jne 0x614667
jmp 0x614784
mov eax, dword [esi + 0x50]
mov edi, dword [esi + 4]
mov dword [esi + 0x10], 0
mov dword [esi + 0x4c], edx
cmp dword [eax + 0x148], 1
je 0x61464c
mov eax, edx
mov ecx, dword [esi + 0x54]
and eax, 0x7ffffff
shr eax, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
cmp eax, edx
jae 0x614cf1
mov ecx, dword [ecx + 0x8c]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x614d0c
mov eax, dword [ecx + eax*8]
test byte [eax + 8], 2
je 0x61464c
cmp edx, 8
jbe 0x614e1c
add edx, 0xfffffff7
cmp edx, 3
jbe 0x614dfe
mov eax, dword [eax + 0x11]
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x4c]
lea eax, [edi + 1]
mov dword [esi + 0x1c], 1
mov dword [esi + 0x18], eax
cmp ecx, edi
je 0x614784
dec edi
mov eax, edx
mov edx, dword [esi]
cmp edi, dword [ebp + 0x10]
jae 0x614540
jmp 0x614a36
mov ecx, dword [esi]
shl edi, 8
mov edx, eax
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x28]
push edi
call fcn.0071d510
add esp, 4
test eax, eax
je 0x614583
mov ecx, dword [esi + 4]
call fcn.0063cff0
jmp 0x614b2c
mov byte [esi + 4], bl
mov ebx, dword [edx + 4]
mov edx, dword [esi]
test byte [edx + 0x4d], 1
jne 0x614747
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x6146ea
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x614da5
mov dword [0x919820], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x614da5
mov byte [eax], 3
mov dword [eax + 4], 2
mov dword [eax + 8], ebx
mov dword [esi + 0x20], eax
movzx ecx, byte [eax]
test ecx, ecx
je 0x61471d
cmp ecx, 1
jne 0x614db6
mov edi, dword [eax + 4]
push eax
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov dword [eax], 2
jmp 0x614cdd
mov eax, dword [edx + 0x278]
cmp dword [eax + 0x148], ebx
jbe 0x6148e7
lea eax, [ebx + ebx*2]
movzx ebx, byte [esi + 4]
lea ecx, [ecx + eax*2 + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x88]
cmp ecx, edx
jb 0x6143de
push 0x8bdd70
call fcn.00709fa0
add esp, 4
ud2
test ecx, ecx
je 0x6149be
dec ecx
cmp ecx, ebx
jae 0x614d4b
mov eax, dword [esi + 0x14]
mov dword [esi + 0x24], ecx
mov ebx, edx
movzx ecx, byte [eax + ecx]
mov eax, dword [esi]
movzx eax, byte [eax + ecx + 0x158]
mov dword [esi + 4], ecx
mov ecx, edx
and ecx, 0x7ffffff
add ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
cmp ecx, edx
jae 0x614c0b
mov eax, dword [eax + 0x74]
mov edi, dword [eax + ecx*4]
test edi, edi
js 0x614b8e
test edi, 0x8000000
jne 0x614c4f
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov eax, ebx
test edi, 0x20000000
je 0x614a10
cmp dword [esi + 0x1c], 0
jne 0x614a10
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x24]
mov dword [esi + 0x88], 0xffffffff
call fcn.0063cf90
movzx ecx, byte [eax]
mov dword [esi + 0x20], eax
test ecx, ecx
je 0x61471d
cmp ecx, 1
je 0x61471d
lea ecx, [esi + 0x44]
lea eax, [esi + 0x20]
mov dword [esi + 0x28], 0x8bedf4
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], 0
mov edx, 0x8bee6c
mov dword [esi + 0x88], 1
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x28]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0x63d0a0
mov dword [esi + 0x34], 1
call fcn.00709f70
jmp 0x614dfc
movzx edi, byte [edx + 0x257]
mov ebx, dword [ebp + 8]
mov ecx, eax
and ecx, 0x7ffffff
shl edi, 0x10
add edi, 0x10001
mov edx, edi
shr edx, 0x10
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x614d3c
mov edx, dword [ebx + 0x74]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x614b4b
test edx, 0x8000000
jne 0x614944
xor ebx, ebx
jmp 0x614ad6
mov edi, dword [esi]
xor eax, eax
mov ebx, 1
mov ecx, dword [edi + 0x278]
cmp dword [ecx + 0x148], 1
jne 0x614967
mov edi, dword [esi + 4]
jmp 0x614ad6
mov ecx, dword [edx + 0x27c]
mov eax, 1
and ecx, 0x1f
shl eax, cl
cmp ecx, 0x1b
jae 0x614e3a
movzx ebx, byte [esi + 4]
or eax, 0x40000000
test eax, eax
jns 0x6143ef
mov eax, dword [esi]
lea ecx, [esi + 0x44]
lea edx, [esi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
movzx eax, bl
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0071ef00
add esp, 8
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], 0
jne 0x61470a
jmp 0x6143ef
mov ecx, dword [esi]
xor edi, edi
mov ebx, 1
mov eax, dword [ecx + 0x278]
cmp dword [eax + 0x148], 1
jne 0x614a76
xor eax, eax
jmp 0x614ad6
movzx ecx, byte [edi + 0x27c]
and edx, 0x7ffffff
shr edx, cl
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x94]
cmp edx, edi
jae 0x614d66
mov ecx, dword [ecx + 0x8c]
mov edi, dword [ecx + edx*8 + 4]
test edi, edi
mov dword [esi], edi
je 0x614d16
mov ecx, dword [ecx + edx*8]
mov edi, dword [esi + 4]
test byte [ecx + 8], 2
je 0x614ad6
mov edx, dword [esi]
cmp edx, 8
jbe 0x614e26
add edx, 0xfffffff7
jmp 0x614aca
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
mov ebx, ecx
and ecx, 0x7ffffff
movzx eax, byte [eax + 0x257]
shl eax, 0x10
add eax, 0x10001
mov edx, eax
shr edx, 0x10
add ecx, edx
mov edx, dword [edi + 0x7c]
cmp ecx, edx
jae 0x614d79
mov edx, dword [edi + 0x74]
mov edi, dword [edx + ecx*4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
test edi, edi
js 0x614bc4
test edi, 0x8000000
mov eax, ebx
jne 0x614c7f
cmp dword [esi + 0x1c], 0
je 0x614ae6
cmp edx, dword [esi + 8]
mov ebx, 1
jbe 0x614b86
mov edx, dword [esi + 0x18]
and eax, 0x40000000
jne 0x614cd0
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
jmp 0x61473c
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [eax], ecx
jmp 0x614a65
cmp dword [esi + 0x1c], 0
mov edx, dword [esi + 4]
je 0x614b16
mov eax, dword [esi + 0xc]
mov dword [eax], 1
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x614cdd
movzx ecx, byte [ecx + 0x27c]
and edx, 0x7ffffff
shr edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edx, eax
jae 0x614d92
mov eax, dword [ecx + 0x8c]
mov ecx, dword [eax + edx*8 + 4]
test ecx, ecx
mov dword [esi + 4], ecx
je 0x614d16
mov ecx, dword [eax + edx*8]
mov eax, 0
test byte [ecx + 8], 2
je 0x614ad6
mov edx, dword [esi + 4]
cmp edx, 8
jbe 0x614e26
add edx, 0xfffffff7
xor edi, edi
cmp edx, 3
jbe 0x614e08
mov eax, dword [ecx + 0x11]
mov ecx, dword [esi + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
jmp 0x614cdd
xor ebx, ebx
jmp 0x614cd0
mov ecx, dword [esi]
shl edi, 8
mov edx, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x28]
push edi
call fcn.0071d510
add esp, 4
test eax, eax
je 0x614458
mov ecx, dword [esi + 4]
jmp 0x614b6e
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + edx]
mov dword [esi + 0x88], 0xffffffff
call fcn.0063cf90
mov ecx, eax
call fcn.00623e30
mov ecx, dword [esi + 0xc]
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
mov dword [ecx], 2
jmp 0x614cdd
mov ecx, dword [esi]
mov edx, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x28]
push edi
call fcn.0071d510
add esp, 4
test eax, eax
je 0x6148b0
xor ecx, ecx
call fcn.0063cff0
mov dword [esi + 0x20], eax
movzx ecx, byte [eax]
test ecx, ecx
jne 0x6144c4
jmp 0x61471d
mov edx, dword [esi + 0x18]
jmp 0x614cd0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edx, ebx
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 8]
shl eax, 8
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x28]
push eax
call fcn.0071d510
add esp, 4
test eax, eax
je 0x614c41
mov ecx, dword [esi + 8]
jmp 0x614bf3
mov dword [esi + 0x10], ecx
mov ecx, dword [esi]
mov dword [esi + 0x18], edx
mov edx, ebx
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x28]
push eax
call fcn.0071d510
add esp, 4
test eax, eax
je 0x614c69
xor ecx, ecx
call fcn.0063cff0
movzx ecx, byte [eax]
mov dword [esi + 0x20], eax
test ecx, ecx
jne 0x614821
jmp 0x61471d
mov dword [esi + 0x88], 0xffffffff
push 0x8bdce0
call fcn.00709fa0
add esp, 4
ud2
mov ecx, edi
mov edx, ebx
mov dword [esi + 0x88], 0xffffffff
push 0x8bdf94
call fcn.00709fa0
add esp, 4
ud2
mov edi, edx
test edi, 0x8000000
je 0x6147e0
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x148], 1
mov eax, dword [esi + 8]
jne 0x614c9c
mov ebx, 1
xor ecx, ecx
mov edx, eax
jmp 0x614cd0
mov edi, edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
test edi, 0x8000000
mov eax, ebx
je 0x614a10
mov ecx, dword [esi + 0x50]
xor eax, eax
mov ebx, 1
mov edx, 0
cmp dword [ecx + 0x148], 1
mov ecx, 0
je 0x614cd0
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0x88], 0xffffffff
push edi
call fcn.00623a10
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
call fcn.0063adf0
add esp, 4
mov edx, dword [esi + 8]
mov ebx, 1
mov ecx, eax
mov edi, dword [esi + 0xc]
mov eax, ecx
mov dword [edi], ebx
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
mov dword [esi + 0x88], 0xffffffff
push 0x8beca4
call fcn.00709fa0
add esp, 4
ud2
mov dword [esi + 0x88], 0xffffffff
xor ecx, ecx
xor edx, edx
push 0x8c0624
call fcn.00709fa0
add esp, 4
ud2
mov ecx, edx
jmp 0x614d55
push 0x8bdce0
call fcn.00709fa0
add esp, 4
ud2
push 0x8bdcf0
call fcn.00709fa0
add esp, 4
ud2
mov dword [esi + 0x88], 0xffffffff
mov edx, ebx
push 0x8bdfa4
call fcn.00709fa0
add esp, 4
ud2
mov ecx, edx
mov edx, edi
push 0x8beca4
call fcn.00709fa0
add esp, 4
ud2
mov dword [esi + 0x88], 0xffffffff
push 0x8bdcf0
call fcn.00709fa0
add esp, 4
ud2
mov ecx, edx
mov edx, eax
push 0x8beca4
call fcn.00709fa0
add esp, 4
ud2
mov ecx, 4
mov edx, 0xc
call fcn.00709d20
ud2
lea ecx, [esi + 0x44]
lea eax, [esi + 0x20]
mov dword [esi + 0x28], 0x8bedf4
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], 0
mov edx, 0x8bee6c
mov dword [esi + 0x88], 0
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x28]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0x63d0a0
mov dword [esi + 0x34], 1
call fcn.00709f70
ud2
mov dword [esi + 0x88], 0xffffffff
mov ecx, 4
push 0x8c0a2c
call fcn.0070a080
add esp, 4
ud2
mov dword [esi + 0x88], 0xffffffff
mov ecx, 9
push 0x8c0654
call fcn.0070a010
add esp, 4
ud2
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
lea eax, [esi + 0x28]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x8becb4
push 0x8be9dc
push eax
call fcn.0070a360
add esp, 0xc
ud2