Function at 0x442b30
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov eax, ecx
mov dword [ebp - 0x10], 0
mov edi, edx
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, eax
call fcn.0040f890
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x443018
movzx ecx, word [eax]
lea eax, [ecx*8]
sub eax, ecx
add eax, 0x4645d0
cmp dword [edi + 0x18], 1
mov dword [ebp - 0x20], eax
movzx eax, byte [eax]
mov ebx, dword [eax*4 + 0x458e90]
jne 0x442bc7
mov eax, dword [edi]
test eax, 0x2000
je 0x442bc7
cmp dword [edi + 0x20], 0
jne 0x442bc7
test byte [ebp - 0x1c], 8
je 0x442bc7
and eax, 0xffffdfff
mov dword [edi], eax
mov ecx, dword [edi + 0x38]
cmp ecx, 0xffffffff
je 0x442bc7
mov eax, 1
shl ax, cl
or word [edi + 0x1c], ax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0xc], edx
cmp edx, 2
jne 0x442be5
test ebx, 0x800000
jne 0x443018
cmp edx, edx
je 0x442bf1
test ebx, 0x8000000
jne 0x443018
test bl, 1
je 0x442c39
mov eax, ebx
not eax
test eax, 0x40000000
je 0x442c0d
inc dword [ecx + 0x10]
dec dword [ecx + 0x14]
js 0x443018
mov eax, dword [ecx + 0x10]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
test ebx, 0x10000000
je 0x442c26
test al, 0x38
jne 0x443018
test ebx, 0x100000
je 0x442c39
cmp eax, 0xc0
jb 0x443018
inc dword [ecx + 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edi]
push ebx
push dword [ebp - 0x1c]
call fcn.00442ae0
add esp, 8
mov dword [ebp - 0x18], eax
test edx, 0x4000
je 0x442c65
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x458e44]
mov dword [ebp - 0xc], eax
push 0x40
push 0
push esi
call fcn.00445050
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov byte [esi + 0x32], 0xff
mov al, byte [eax + 2]
test al, al
je 0x442d54
lea ecx, [ebp - 0x24]
movzx eax, al
push ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, esi
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
push 0
push eax
push ebx
push dword [ebp - 0x14]
call fcn.0042b1c0
add esp, 0x24
test eax, eax
je 0x443018
mov eax, dword [ebp - 0x20]
mov al, byte [eax + 1]
test al, al
je 0x442d54
mov ecx, dword [ebp - 8]
mov edx, esi
push 0
push dword [ebp - 0xc]
movzx eax, al
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
push 1
push eax
push ebx
push dword [ebp - 0x14]
call fcn.0042b1c0
add esp, 0x24
test eax, eax
je 0x443018
test ebx, 0x20000
je 0x442d54
mov ecx, dword [ebp - 0x14]
mov edx, esi
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x18]
movzx eax, byte [ecx + 5]
push edi
push dword [ebp - 0x10]
push 2
push eax
push ebx
push ecx
mov ecx, dword [ebp - 8]
call fcn.0042b1c0
add esp, 0x24
test eax, eax
je 0x443018
test ebx, 0x40000
je 0x442d54
mov ecx, dword [ebp - 0x14]
mov edx, esi
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x18]
movzx eax, byte [ecx + 6]
push edi
push dword [ebp - 0x10]
push 3
push eax
push ebx
push ecx
mov ecx, dword [ebp - 8]
call fcn.0042b1c0
add esp, 0x24
test eax, eax
je 0x443018
test ebx, 0x200000
je 0x442d8f
mov ecx, dword [ebp - 8]
call fcn.0042fdd0
mov ecx, eax
test ecx, ecx
je 0x443018
movzx eax, word [ecx]
lea edx, [eax*8]
sub edx, eax
add edx, 0x4645d0
mov dword [ebp - 0x20], edx
movzx eax, byte [edx]
mov ebx, dword [eax*4 + 0x458e90]
jmp 0x442d92
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, ebx
and eax, 0x400000
mov dword [ebp - 0x14], eax
je 0x442dd1
dec dword [edx + 0x14]
js 0x443018
mov eax, dword [edx + 0x10]
mov dl, byte [eax]
inc eax
mov byte [ebp - 1], dl
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
test ebx, 0x20000000
je 0x442dc7
cmp byte [ebp - 1], 0x20
jmp 0x442dcb
cmp byte [ebp - 1], 8
jae 0x443018
mov eax, dword [edx + 0x10]
sub eax, dword [edi + 8]
cmp eax, 0xf
jg 0x443018
cmp dword [ebp - 0x24], 1
jne 0x442df6
test bl, 0x10
je 0x442df6
or dword [edi + 4], 0x10
or word [esi + 0x18], 1
jmp 0x442e1e
test bl, 0x20
je 0x442e0b
test byte [edi], 0x20
je 0x442e0b
or dword [edi + 4], 0x20
or word [esi + 0x18], 2
jmp 0x442e1e
test bl, 0x40
je 0x442e1e
test byte [edi], 0x40
je 0x442e1e
or dword [edi + 4], 0x40
or word [esi + 0x18], 4
mov eax, ebx
and eax, 0x14000
cmp eax, 0x14000
jne 0x442e49
or dword [edi + 4], 0x4000
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x442e8a
cmp eax, 1
jne 0x442f7f
mov ax, word [ecx + 8]
jmp 0x442e8e
mov eax, ebx
and eax, 0xc000
cmp eax, 0xc000
jne 0x442e68
mov ax, word [ecx + 2]
mov word [esi + 0x1e], ax
or dword [edi + 4], 0x4000
jmp 0x442e92
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x442ef5
test ebx, 0x10000
je 0x442e8a
test ebx, 0x1000008
jne 0x442e8a
or dword [edi + 4], 0x2000
mov ax, word [ecx + 2]
mov word [esi + 0x1e], ax
test ebx, 0x8000
je 0x442ea9
test dword [edi], 0x2000
je 0x442ea9
or dword [edi + 4], 0x2000
mov edx, ebx
and edx, 0x20000000
je 0x442ed2
mov al, byte [ecx + 4]
test al, 4
je 0x442ec0
test byte [ebp - 0x1c], 8
jne 0x442eca
test al, 8
je 0x442ed2
test byte [ebp - 0x1c], 0x10
je 0x442ed2
mov ax, word [ecx + 8]
mov word [esi + 0x1e], ax
cmp dword [ebp - 0x14], 0
je 0x442f98
movzx eax, byte [ebp - 1]
test edx, edx
je 0x442f88
mov ax, word [eax*2 + 0x458e50]
jmp 0x442f90
cmp eax, 1
jne 0x442f38
mov eax, 0x100
or word [esi + 0x18], ax
test ebx, 0x10000
je 0x442e8a
or dword [edi + 4], 0x2000
test ebx, 0x80000
je 0x442e43
cmp dword [ebp - 0x10], 0xc0
jae 0x442e8a
mov ax, word [ecx + 8]
jmp 0x442e8e
mov eax, 0x200
or word [esi + 0x18], ax
test ebx, 0x4010000
je 0x442e8a
test ebx, 0x80000
je 0x442f62
cmp dword [ebp - 0x10], 0xc0
jae 0x443018
test ebx, 0x4000000
je 0x442e43
test byte [ebp - 0x1c], 8
je 0x442e43
or dword [edi + 4], 0x2000000
mov ax, word [ecx + 0xa]
jmp 0x442e8e
mov ax, word [eax*2 + 0x459018]
add ax, word [ecx + 2]
mov word [esi + 0x1e], ax
mov eax, dword [ebp - 0xc]
and eax, 3
shl eax, 0xa
or word [esi + 0x18], ax
mov ax, word [esi + 0x18]
test ebx, ebx
jns 0x442fb4
or eax, 0x40
mov word [esi + 0x18], ax
mov ecx, edi
call fcn.00408c00
cmp byte [esi + 0x31], 0
mov edx, dword [ebp - 0x20]
mov word [esi + 0x1a], ax
mov al, byte [edx + 3]
mov byte [esi + 0x35], al
jne 0x442fd2
mov byte [esi + 0x31], 0xff
mov al, byte [esi + 0x32]
cmp al, 0xff
je 0x442fe8
movzx eax, al
mov ax, word [eax*2 + 0x45bbc0]
or word [esi + 0x1c], ax
movzx ecx, byte [edx + 4]
mov eax, dword [ebp - 8]
mov byte [esi + 0x36], cl
movzx ecx, byte [edx + 5]
mov byte [esi + 0x37], cl
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x28]
mov byte [esi + 0x38], cl
movzx ecx, byte [eax + 0x10]
mov eax, 1
sub cl, dl
pop edi
mov byte [esi + 0x30], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
push 0
push esi
call fcn.00445050
mov edx, dword [ebp - 0x28]
add esp, 0xc
mov byte [esi + 0x32], 0xff
mov byte [esi + 0x30], 1
mov dword [edi + 4], 0
cmp byte [edx], 0x9b
jne 0x443055
or byte [esi + 0x35], 8
mov eax, 0x272c
pop edi
mov word [esi + 0x1e], ax
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret