Function at 0x445b41
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 0x445b8d
push 0xfffffffffffffffd
jmp 0x4460c2
cmp esi, ecx
je 0x4460c0
cmp ebx, ecx
je 0x4460c0
cmp dword [ebp + 0x78], ecx
jne 0x445bab
cmp dword [ebp + 0x7c], ecx
jg 0x4460c0
cmp dword [ebp + 0x7c], ecx
jge 0x445bb7
push 0xfffffffffffffff1
jmp 0x4460c2
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 0x445c15
mov edx, dword [eax]
test dl, 1
mov dword [ebp + 0x54], edx
je 0x445be5
mov edx, dword [eax + 4]
mov dword [ebp + 0x68], edx
test byte [ebp + 0x54], 2
je 0x445bf1
mov edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
test byte [ebp + 0x54], 0x10
je 0x445bfd
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x44], edx
test byte [ebp + 0x54], 4
je 0x445c09
mov edx, dword [eax + 0xc]
mov dword [ebp + 0x20], edx
test byte [ebp + 0x54], 8
je 0x445c15
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x74], eax
cmp dword [ebp + 0x74], ecx
jne 0x445c21
mov dword [ebp + 0x74], 0x457800
mov eax, esi
cmp dword [eax], 0x50435245
je 0x445c5b
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0xa4]
push eax
push esi
call fcn.0044615b
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445c4f
push 0xfffffffffffffffc
jmp 0x4460c2
cmp dword [ebp + 0x68], 0
je 0x445c5b
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 0x445d0a
mov edi, dword [esi + 8]
and edi, eax
cmp edi, 0x100000
je 0x445d24
cmp edi, 0x200000
je 0x445d20
cmp edi, eax
je 0x445d42
push 0xa
jmp 0x445d26
push 0xd
pop eax
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x30], al
cmp dword [ebp - 0xc], ecx
je 0x445d53
test dword [esi + 8], 0x80000000
je 0x445d53
push 0xfffffffffffffff3
jmp 0x4460c2
mov dword [ebp - 0x34], 2
mov byte [ebp - 0x30], 0xd
mov byte [ebp - 0x2f], 0xa
jmp 0x445d2d
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 0x445dab
movzx ecx, ax
mov eax, edi
push 3
cdq
pop ebx
idiv ebx
cmp ecx, eax
jl 0x445dab
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 0x445da2
push 0xfffffffffffffffa
jmp 0x4460c2
mov dword [ebp + 0x44], 1
jmp 0x445db1
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 0x445dde
mov eax, edi
mov dword [ebp + 0x54], edi
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x445e01
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 0x445dfa
or dword [edi], 0xffffffff
sub edi, 4
cmp edi, eax
jae 0x445df7
cmp dword [ebp + 0x3c], ebx
mov edx, 0xff
jne 0x445e4e
test dword [esi + 8], 0x40000000
je 0x445e36
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 0x445e4e
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov dword [ebp + 0x50], eax
jmp 0x445e4e
cmp dword [ebp + 0x38], ebx
jne 0x445e4e
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x445e4e
test byte [eax + 4], 1
je 0x445e4e
add eax, 8
mov dword [ebp + 0x48], eax
test dword [esi + 8], 0x20000000
je 0x445e79
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 0x445ea1
mov eax, dword [ebp + 0x54]
lea ecx, [edi + eax*4]
cmp edi, ecx
jae 0x445ea1
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 0x445ed0
mov ecx, edx
sub ecx, dword [ebp - 0x34]
mov eax, esi
cmp esi, ecx
ja 0x445ecb
mov dl, byte [ebp - 0x30]
cmp byte [eax], dl
jne 0x445ec6
cmp dword [ebp - 0x34], 1
je 0x445ecb
mov dl, byte [ebp - 0x2f]
cmp byte [eax + 1], dl
je 0x445ecb
inc eax
cmp eax, ecx
jbe 0x445eb1
mov edx, eax
mov dword [ebp + 0x60], edx
cmp dword [ebp + 0x50], ebx
jl 0x445f0d
cmp dword [ebp + 0x2c], ebx
je 0x445ef9
cmp esi, edx
jae 0x445f70
movzx eax, byte [esi]
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
cmp eax, dword [ebp + 0x50]
je 0x445f70
inc esi
cmp esi, dword [ebp + 0x60]
jb 0x445ee2
jmp 0x445f70
cmp esi, edx
jae 0x445f70
movzx eax, byte [esi]
cmp eax, dword [ebp + 0x50]
je 0x445f70
inc esi
cmp esi, dword [ebp + 0x60]
jb 0x445efd
jmp 0x445f70
cmp dword [ebp + 0x38], ebx
je 0x445f49
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp]
add eax, ecx
add eax, dword [ebp + 0x70]
cmp esi, eax
jb 0x445f70
cmp esi, dword [ebp + 0x60]
ja 0x445f70
mov eax, esi
sub eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0x30]
cmp byte [eax], cl
jne 0x445f40
cmp dword [ebp - 0x34], 1
je 0x445f70
mov cl, byte [ebp - 0x2f]
cmp byte [eax + 1], cl
je 0x445f70
inc esi
inc eax
cmp esi, dword [ebp + 0x60]
jbe 0x445f2b
jmp 0x445f70
cmp dword [ebp + 0x48], ebx
je 0x445f70
jmp 0x445f6b
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 0x445f70
inc esi
cmp esi, dword [ebp + 0x60]
jb 0x445f50
cmp dword [ebp + 0x4c], ebx
mov edi, dword [ebp + 0x68]
mov dword [ebp + 0x60], edi
jl 0x445fd6
mov eax, edi
sub eax, esi
cmp eax, 0x3e8
jge 0x445fd6
cmp dword [ebp - 0xc], ebx
jne 0x445fd6
xor eax, eax
cmp dword [ebp + 0x50], ebx
setge al
add eax, esi
cmp eax, dword [ebp + 0x30]
jbe 0x445fd6
cmp dword [ebp + 0x28], ebx
je 0x445fbb
cmp eax, edi
jae 0x44602b
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x445fce
cmp ecx, dword [ebp + 0x40]
je 0x445fce
cmp eax, edi
jb 0x445fa7
jmp 0x445fcf
cmp eax, edi
jae 0x44602b
movzx ecx, byte [eax]
inc eax
cmp ecx, dword [ebp + 0x4c]
je 0x445fce
cmp eax, edi
jb 0x445fbf
jmp 0x445fcf
dec eax
cmp eax, edi
jae 0x44602b
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.00444281
add esp, 0x20
cmp eax, ebx
jne 0x44604d
cmp dword [ebp + 0x34], ebx
je 0x44601d
mov eax, dword [ebp + 4]
sub eax, dword [ebp - 0x34]
cmp esi, eax
ja 0x44601d
mov al, byte [ebp - 0x30]
cmp byte [esi], al
jne 0x44601d
cmp dword [ebp - 0x34], 1
je 0x44602b
mov al, byte [ebp - 0x2f]
cmp byte [esi + 1], al
je 0x44602b
inc esi
cmp dword [ebp + 0x3c], ebx
jne 0x44602b
cmp esi, edi
jbe 0x445e7e
cmp dword [ebp + 0x44], ebx
je 0x44603a
push dword [ebp - 0x40]
call dword [0x461144]
pop ecx
cmp dword [ebp - 0xc], ebx
je 0x446048
cmp dword [ebp - 8], ebx
je 0x446048
push 0xfffffffffffffff4
jmp 0x4460c2
or eax, 0xffffffff
jmp 0x4460c3
cmp eax, 1
jne 0x4460c3
cmp dword [ebp + 0x44], ebx
mov edi, dword [ebp + 0x7c]
je 0x446093
cmp edi, 4
mov ebx, dword [ebp - 0x40]
jl 0x44607d
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.00447390
add esp, 0xc
cmp dword [ebp + 0x10], edi
jle 0x446089
mov dword [ebp - 0x24], 1
push ebx
call dword [0x461144]
pop ecx
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x44609c
xor eax, eax
jmp 0x4460a4
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp edi, 2
jge 0x4460ad
xor eax, eax
jmp 0x4460c3
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 0x4460c3
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret