Function at 0x445b75
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0xfc
mov eax, dword [ebp + 0x70]
or dword [ebp + 0x50], 0xffffffff
or dword [ebp + 0x4c], 0xffffffff
or dword [ebp + 0x40], 0xffffffff
push ebx
mov ebx, dword [ebp + 0x68]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x60]
add eax, ebx
push edi
mov edi, dword [ebp + 0x74]
mov dword [ebp - 0x50], eax
dec eax
test edi, 0xffcf5a6f
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x30], eax
je 0x445bc1
push 0xfffffffffffffffd
jmp 0x4460f6
cmp esi, ecx
je 0x4460f4
cmp ebx, ecx
je 0x4460f4
cmp dword [ebp + 0x78], ecx
jne 0x445bdf
cmp dword [ebp + 0x7c], ecx
jg 0x4460f4
cmp dword [ebp + 0x7c], ecx
jge 0x445beb
push 0xfffffffffffffff1
jmp 0x4460f6
mov eax, 0x989680
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x20]
mov dword [ebp + 0x74], eax
mov eax, dword [ebp + 0x64]
cmp eax, ecx
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x20], ecx
je 0x445c49
mov edx, dword [eax]
test dl, 1
mov dword [ebp + 0x54], edx
je 0x445c19
mov edx, dword [eax + 4]
mov dword [ebp + 0x68], edx
test byte [ebp + 0x54], 2
je 0x445c25
mov edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
test byte [ebp + 0x54], 0x10
je 0x445c31
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x44], edx
test byte [ebp + 0x54], 4
je 0x445c3d
mov edx, dword [eax + 0xc]
mov dword [ebp + 0x20], edx
test byte [ebp + 0x54], 8
je 0x445c49
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x74], eax
cmp dword [ebp + 0x74], ecx
jne 0x445c55
mov dword [ebp + 0x74], 0x457800
mov eax, esi
cmp dword [eax], 0x50435245
je 0x445c8f
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0xa4]
push eax
push esi
call fcn.0044618f
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445c83
push 0xfffffffffffffffc
jmp 0x4460f6
cmp dword [ebp + 0x68], 0
je 0x445c8f
lea eax, [ebp - 0x7c]
mov dword [ebp + 0x68], eax
mov eax, dword [esi + 8]
mov ecx, eax
or ecx, edi
shr ecx, 4
xor edx, edx
inc edx
and ecx, edx
mov dword [ebp + 0x3c], ecx
mov ecx, eax
shr eax, 0x12
and eax, edx
mov dword [ebp + 0x34], eax
movzx eax, word [esi + 0x1a]
shr ecx, 0x1c
and ecx, edx
mov dword [ebp + 0x38], ecx
movzx ecx, word [esi + 0x1c]
imul ecx, eax
movzx eax, word [esi + 0x18]
add ecx, dword [ebp + 0x60]
mov dword [ebp], ebx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x6c]
add ebx, eax
mov dword [ebp + 4], ebx
mov eax, dword [esi + 8]
shr eax, 5
and eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
shr eax, 0xb
and eax, edx
mov dword [ebp - 0x18], eax
mov eax, edi
shr eax, 7
and eax, edx
mov dword [ebp - 0x20], eax
mov eax, edi
shr eax, 8
and eax, edx
mov dword [ebp - 0x1c], eax
mov eax, edi
shr eax, 0xa
and eax, edx
mov dword [ebp - 0x10], eax
mov eax, edi
shr eax, 0xf
and eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x2c], eax
add eax, 0x340
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, 0x300000
test eax, edi
mov dword [ebp + 0x60], ebx
mov dword [ebp - 8], ecx
mov dword [ebp + 0x1c], ecx
jne 0x445d3e
mov edi, dword [esi + 8]
and edi, eax
cmp edi, 0x100000
je 0x445d58
cmp edi, 0x200000
je 0x445d54
cmp edi, eax
je 0x445d76
push 0xa
jmp 0x445d5a
push 0xd
pop eax
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x30], al
cmp dword [ebp - 0xc], ecx
je 0x445d87
test dword [esi + 8], 0x80000000
je 0x445d87
push 0xfffffffffffffff3
jmp 0x4460f6
mov dword [ebp - 0x34], 2
mov byte [ebp - 0x30], 0xd
mov byte [ebp - 0x2f], 0xa
jmp 0x445d61
mov eax, dword [esi + 8]
mov edi, dword [ebp + 0x7c]
and eax, 7
mov dword [ebp - 0x54], eax
mov eax, edi
cdq
push 3
pop ecx
idiv ecx
movzx eax, word [esi + 0x12]
sub edi, edx
test ax, ax
jbe 0x445ddf
movzx ecx, ax
mov eax, edi
push 3
cdq
pop ebx
idiv ebx
cmp ecx, eax
jl 0x445ddf
lea edi, [ecx + 1]
imul edi, edi, 3
mov eax, edi
shl eax, 2
push eax
call dword [0x461140]
test eax, eax
pop ecx
mov dword [ebp - 0x40], eax
jne 0x445dd6
push 0xfffffffffffffffa
jmp 0x4460f6
mov dword [ebp + 0x44], 1
jmp 0x445de5
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x40], eax
lea eax, [edi + edi]
cdq
push 3
pop ecx
idiv ecx
or dword [ebp + 0x14], 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], eax
movzx eax, word [esi + 0x10]
lea eax, [eax + eax + 2]
cmp eax, dword [ebp + 0x7c]
mov dword [ebp + 0x54], eax
jle 0x445e12
mov eax, edi
mov dword [ebp + 0x54], edi
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x445e35
cdq
lea edi, [ecx + edi*4]
sub eax, edx
xor ecx, ecx
sar eax, 1
inc ecx
sub ecx, eax
lea eax, [edi + ecx*4]
jmp 0x445e2e
or dword [edi], 0xffffffff
sub edi, 4
cmp edi, eax
jae 0x445e2b
cmp dword [ebp + 0x3c], ebx
mov edx, 0xff
jne 0x445e82
test dword [esi + 8], 0x40000000
je 0x445e6a
movzx eax, word [esi + 0x14]
mov ecx, eax
and ecx, edx
shr eax, 8
and eax, 1
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x2c], eax
je 0x445e82
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov dword [ebp + 0x50], eax
jmp 0x445e82
cmp dword [ebp + 0x38], ebx
jne 0x445e82
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x445e82
test byte [eax + 4], 1
je 0x445e82
add eax, 8
mov dword [ebp + 0x48], eax
test dword [esi + 8], 0x20000000
je 0x445ead
movzx eax, word [esi + 0x16]
mov ecx, eax
shr eax, 8
and ecx, edx
and eax, 1
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x74]
movzx eax, byte [eax + ecx + 0x100]
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x40], eax
mov esi, dword [ebp - 0x50]
xor ebx, ebx
mov edi, dword [ebp - 0x40]
cmp edi, ebx
mov edx, dword [ebp + 0x60]
mov dword [ebp + 0x68], edx
je 0x445ed5
mov eax, dword [ebp + 0x54]
lea ecx, [edi + eax*4]
cmp edi, ecx
jae 0x445ed5
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x34], ebx
je 0x445f04
mov ecx, edx
sub ecx, dword [ebp - 0x34]
mov eax, esi
cmp esi, ecx
ja 0x445eff
mov dl, byte [ebp - 0x30]
cmp byte [eax], dl
jne 0x445efa
cmp dword [ebp - 0x34], 1
je 0x445eff
mov dl, byte [ebp - 0x2f]
cmp byte [eax + 1], dl
je 0x445eff
inc eax
cmp eax, ecx
jbe 0x445ee5
mov edx, eax
mov dword [ebp + 0x60], edx
cmp dword [ebp + 0x50], ebx
jl 0x445f41
cmp dword [ebp + 0x2c], ebx
je 0x445f2d
cmp esi, edx
jae 0x445fa4
movzx eax, byte [esi]
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
cmp eax, dword [ebp + 0x50]
je 0x445fa4
inc esi
cmp esi, dword [ebp + 0x60]
jb 0x445f16
jmp 0x445fa4
cmp esi, edx
jae 0x445fa4
movzx eax, byte [esi]
cmp eax, dword [ebp + 0x50]
je 0x445fa4
inc esi
cmp esi, dword [ebp + 0x60]
jb 0x445f31
jmp 0x445fa4
cmp dword [ebp + 0x38], ebx
je 0x445f7d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp]
add eax, ecx
add eax, dword [ebp + 0x70]
cmp esi, eax
jb 0x445fa4
cmp esi, dword [ebp + 0x60]
ja 0x445fa4
mov eax, esi
sub eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0x30]
cmp byte [eax], cl
jne 0x445f74
cmp dword [ebp - 0x34], 1
je 0x445fa4
mov cl, byte [ebp - 0x2f]
cmp byte [eax + 1], cl
je 0x445fa4
inc esi
inc eax
cmp esi, dword [ebp + 0x60]
jbe 0x445f5f
jmp 0x445fa4
cmp dword [ebp + 0x48], ebx
je 0x445fa4
jmp 0x445f9f
movzx eax, byte [esi]
mov ecx, eax
xor edx, edx
and ecx, 7
inc edx
shl edx, cl
mov ecx, dword [ebp + 0x48]
shr eax, 3
mov al, byte [eax + ecx]
test al, dl
jne 0x445fa4
inc esi
cmp esi, dword [ebp + 0x60]
jb 0x445f84
cmp dword [ebp + 0x4c], ebx
mov edi, dword [ebp + 0x68]
mov dword [ebp + 0x60], edi
jl 0x44600a
mov eax, edi
sub eax, esi
cmp eax, 0x3e8
jge 0x44600a
cmp dword [ebp - 0xc], ebx
jne 0x44600a
xor eax, eax
cmp dword [ebp + 0x50], ebx
setge al
add eax, esi
cmp eax, dword [ebp + 0x30]
jbe 0x44600a
cmp dword [ebp + 0x28], ebx
je 0x445fef
cmp eax, edi
jae 0x44605f
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x446002
cmp ecx, dword [ebp + 0x40]
je 0x446002
cmp eax, edi
jb 0x445fdb
jmp 0x446003
cmp eax, edi
jae 0x44605f
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x446002
cmp eax, edi
jb 0x445ff3
jmp 0x446003
dec eax
cmp eax, edi
jae 0x44605f
mov dword [ebp + 0x30], eax
push ebx
push 2
push ebx
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push eax
push 2
push dword [ebp - 4]
mov dword [ebp + 8], esi
push esi
mov dword [ebp - 0x4c], ebx
call fcn.004442b5
add esp, 0x20
cmp eax, ebx
jne 0x446081
cmp dword [ebp + 0x34], ebx
je 0x446051
mov eax, dword [ebp + 4]
sub eax, dword [ebp - 0x34]
cmp esi, eax
ja 0x446051
mov al, byte [ebp - 0x30]
cmp byte [esi], al
jne 0x446051
cmp dword [ebp - 0x34], 1
je 0x44605f
mov al, byte [ebp - 0x2f]
cmp byte [esi + 1], al
je 0x44605f
inc esi
cmp dword [ebp + 0x3c], ebx
jne 0x44605f
cmp esi, edi
jbe 0x445eb2
cmp dword [ebp + 0x44], ebx
je 0x44606e
push dword [ebp - 0x40]
call dword [0x461144]
pop ecx
cmp dword [ebp - 0xc], ebx
je 0x44607c
cmp dword [ebp - 8], ebx
je 0x44607c
push 0xfffffffffffffff4
jmp 0x4460f6
or eax, 0xffffffff
jmp 0x4460f7
cmp eax, 1
jne 0x4460f7
cmp dword [ebp + 0x44], ebx
mov edi, dword [ebp + 0x7c]
je 0x4460c7
cmp edi, 4
mov ebx, dword [ebp - 0x40]
jl 0x4460b1
lea eax, [edi*4 - 8]
push eax
lea eax, [ebx + 8]
push eax
mov eax, dword [ebp + 0x78]
add eax, 8
push eax
call fcn.004473d0
add esp, 0xc
cmp dword [ebp + 0x10], edi
jle 0x4460bd
mov dword [ebp - 0x24], 1
push ebx
call dword [0x461144]
pop ecx
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x4460d0
xor eax, eax
jmp 0x4460d8
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp edi, 2
jge 0x4460e1
xor eax, eax
jmp 0x4460f7
sub esi, dword [ebp]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x78]
sub edx, dword [ebp]
mov dword [ecx], esi
mov dword [ecx + 4], edx
jmp 0x4460f7
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret