Function at 0x4555d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7918
call fcn.0045b860
mov eax, dword [0x4ca180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x787c], ecx
mov dword [ebp - 0x7888], ebx
mov dword [ebp - 0x7878], eax
mov dword [ebp - 0x78bc], edx
mov dword [ebp - 0x78d4], 0
mov dword [ebp - 0x78b8], 0
mov dword [ebp - 0x78d0], 0
mov dword [ebp - 0x78c8], 0
mov dword [ebp - 0x78cc], 0
mov byte [ebp - 0x786f], 0
mov byte [ebp - 0x786d], 0
mov byte [ebp - 0x7870], 0
mov byte [ebp - 0x786e], 0
mov dword [ebp - 0x78b4], 0
mov dword [ebp - 0x7804], 0
mov dword [ebp - 0x7800], 0x1e00
mov dword [ebp - 0x77fc], 0x1dfd
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x78a4], esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x7898], edi
test ebx, ebx
jne 0x4556b2
test edi, edi
mov eax, 0x4c1a4c
cmovne eax, ebx
mov ebx, eax
mov dword [ebp - 0x7888], eax
mov eax, dword [ebp - 0x7878]
mov edx, dword [ebp + 0x18]
test edx, 0x1fffbf00
jne 0x456689
test ecx, ecx
je 0x456673
test ebx, ebx
je 0x456673
cmp dword [ebp - 0x78bc], 0
je 0x456673
test eax, eax
je 0x456673
cmp edi, 0xffffffff
jne 0x45570f
push ebx
call fcn.004587b0
mov ecx, dword [ebp - 0x787c]
mov edi, eax
mov edx, dword [ebp + 0x18]
add esp, 4
mov dword [ebp - 0x7898], edi
mov dword [ebp - 0x78d4], 1
cmp dword [ebp + 0x28], 0x14
jae 0x45572b
pop edi
pop esi
mov eax, 0xffffffd5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
cmp esi, edi
jbe 0x455745
pop edi
pop esi
mov eax, 0xffffffdf
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
test dl, 0x30
je 0x45575a
mov eax, dword [ecx + 0x40]
or eax, edx
test eax, 0x20000000
jne 0x456689
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x78b0], edx
test edx, 0x4000000
je 0x455781
pop edi
pop esi
mov eax, 0xffffffbe
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x38], 0x50435245
je 0x4557a0
pop edi
pop esi
mov eax, 0xffffffe1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x48]
mov eax, ecx
and al, 7
mov dword [ebp - 0x7894], ecx
cmp al, 1
je 0x4557c7
pop edi
pop esi
mov eax, 0xffffffe0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x18]
mov eax, ecx
shr eax, 0xe
and eax, 0xc
or esi, eax
mov eax, esi
mov dword [ebp + 0x18], esi
and eax, 0x40
mov dword [ebp - 0x78d8], eax
je 0x45582f
mov eax, dword [ebp - 0x78bc]
test dword [eax], 0xfffffffe
jne 0x45580d
mov esi, dword [eax + 4]
cmp esi, 1
jl 0x45580d
mov ecx, dword [ebp + 0x28]
mov eax, 0xaaaaaaab
lea ecx, [ecx - 2]
mul ecx
shr edx, 1
cmp esi, edx
jle 0x455823
pop edi
pop esi
mov eax, 0xffffffda
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x78b0]
mov ecx, dword [ebp - 0x7894]
mov esi, dword [ebp - 0x78a4]
mov eax, edx
shr eax, 0x13
add esi, ebx
and eax, 1
mov dword [ebp - 0x7890], esi
mov dword [ebp - 0x7880], eax
add edi, ebx
test dword [ebp + 0x18], 0x80000040
lea eax, [esi - 1]
mov dword [ebp - 0x7874], edi
mov dword [ebp - 0x78a8], eax
jne 0x4558ab
test edx, edx
js 0x4558ab
mov eax, ecx
xor ecx, ecx
shr eax, 9
and eax, 1
mov dword [ebp - 0x788c], ecx
mov dword [ebp - 0x78a0], eax
mov dword [ebp - 0x7884], eax
test edx, 0x100
je 0x4558c9
mov dword [ebp - 0x78c0], 1
mov dword [ebp - 0x788c], ecx
mov dword [ebp - 0x7884], eax
mov dword [ebp - 0x78a0], eax
jmp 0x4558d3
mov eax, ecx
mov dword [ebp - 0x788c], 1
shr eax, 9
and eax, 1
mov dword [ebp - 0x7884], eax
mov dword [ebp - 0x78a0], eax
mov dword [ebp - 0x78c0], 0
mov ecx, dword [ebp - 0x7898]
lea eax, [ebp - 0x7918]
mov dword [ebp - 0x78fc], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x78b0], edi
mov dword [ebp - 0x7814], eax
mov dword [ebp - 0x7918], 2
mov dword [ebp - 0x7900], ebx
mov dword [ebp - 0x78dc], 0
mov dword [ebp - 0x7910], 1
mov dword [ebp - 0x790c], 0
mov dword [ebp - 0x7904], 0
test ecx, ecx
jne 0x45595c
mov eax, dword [ebp - 0x787c]
mov ebx, dword [0x496eb8]
mov dword [ebp - 0x780c], ecx
mov ecx, dword [0x496ebc]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x7864], eax
mov eax, dword [0x496eb4]
jmp 0x4559be
mov eax, dword [ecx + 0x1c]
cmp eax, 0xffffffff
je 0x45598a
test edx, 0x800000
jne 0x455982
pop edi
pop esi
mov eax, 0xffffffc8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
add eax, ebx
mov dword [ebp - 0x78b0], eax
mov eax, dword [ecx + 0xc]
movq xmm0, qword [ecx]
mov ebx, dword [ecx + 0x24]
mov dword [ebp - 0x780c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x7810], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x7864], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x78ac], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x78ac]
mov dword [ebp - 0x78ac], eax
mov dword [ebp - 0x7894], eax
mov eax, dword [ebp - 0x787c]
mov dword [ebp - 0x789c], ebx
mov dword [ebp - 0x78c4], ecx
movq qword [ebp - 0x786c], xmm0
mov eax, dword [eax + 0x50]
cmp ebx, eax
mov dword [ebp - 0x7858], edi
cmova ebx, eax
mov dword [ebp - 0x783c], ebx
mov ebx, dword [ebp - 0x787c]
mov eax, dword [ebx + 0x54]
cmp ecx, eax
cmova ecx, eax
mov eax, dword [ebx + 0x4c]
cmp dword [ebp - 0x78ac], eax
mov dword [ebp - 0x7838], ecx
mov ecx, dword [ebp - 0x7894]
cmova ecx, eax
movzx eax, word [ebx + 0x6c]
mov dword [ebp - 0x7844], ecx
movzx ecx, word [ebx + 0x6e]
imul ecx, eax
lea eax, [ebx + 0x70]
add eax, ecx
mov ecx, dword [ebp - 0x787c]
mov dword [ebp - 0x7860], eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebp - 0x7888]
mov dword [ebp - 0x789c], eax
mov dword [ebp - 0x784c], eax
mov eax, dword [ebp - 0x78a4]
mov dword [ebp - 0x7848], eax
movzx eax, word [ecx + 0x64]
mov dword [ebp - 0x785c], ebx
test ax, ax
jne 0x455a7d
test dword [ecx + 0x48], 0x2000
jne 0x455a7d
xor eax, eax
jmp 0x455a82
mov eax, 1
mov dword [ebp - 0x7820], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7830], eax
mov ax, word [ecx + 0x60]
mov word [ebp - 0x7818], ax
movzx eax, word [ecx + 0x62]
mov dword [ebp - 0x782c], edx
dec eax
xor edx, edx
mov dword [ebp - 0x7834], 0
mov dword [ebp - 0x7840], 0
mov dword [ebp - 0x7828], edx
cmp eax, 5
ja case.default.0x455acc
jmp dword [eax*4 + 0x4566a0]
mov ecx, 1
mov byte [ebp - 0x781c], 0xd
mov dword [ebp - 0x7824], ecx
jmp 0x455b3c
mov ecx, 1
mov byte [ebp - 0x781c], 0xa
mov dword [ebp - 0x7824], ecx
jmp 0x455b3c
mov ecx, 1
mov byte [ebp - 0x781c], dl
mov dword [ebp - 0x7824], ecx
jmp 0x455b3c
mov ecx, 2
mov word [ebp - 0x781c], 0xa0d
mov dword [ebp - 0x7824], ecx
jmp 0x455b3c
mov edx, 1
jmp 0x455b30
mov edx, 2
mov ecx, dword [ebp - 0x7824]
mov dword [ebp - 0x7828], edx
cmp dword [ebp - 0x7880], 0
je 0x455c28
test dword [ebp + 0x18], 0x40000000
jne 0x455c28
cmp dword [ebp - 0x78a4], 0
mov edi, esi
jbe 0x455bc2
cmp esi, dword [ebp - 0x7874]
jae 0x455b87
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x455b87
pop edi
pop esi
mov eax, 0xffffffdc
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x787c]
movzx ecx, word [ecx + 0x64]
test ecx, ecx
je 0x455bc2
mov ebx, dword [ebp - 0x7888]
nop dword [eax + eax]
cmp edi, ebx
jbe 0x455bc2
dec edi
cmp edi, ebx
jbe 0x455bbd
nop dword [eax]
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x455bbd
dec edi
cmp edi, ebx
ja 0x455bb0
sub ecx, 1
jne 0x455ba0
mov ebx, dword [ebp - 0x7878]
mov eax, dword [ebp - 0x7898]
add ebx, 0x2c
sub eax, edi
add eax, dword [ebp - 0x7888]
push ebx
push eax
push edi
call fcn.0045a340
mov ecx, dword [ebp - 0x7878]
add esp, 0xc
mov dword [ecx + 0x34], eax
test eax, eax
je 0x455c0a
sub edi, dword [ebp - 0x7888]
add dword [ebx], edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x784c]
mov ecx, dword [ebp - 0x7824]
mov ebx, dword [ebp - 0x785c]
mov edx, dword [ebp - 0x7828]
mov dword [ebp - 0x789c], eax
mov eax, dword [ebp - 0x787c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x7894], eax
test al, 0x10
je 0x455cfc
mov edx, dword [ebp - 0x787c]
mov dword [ebp - 0x78b8], 1
mov dl, byte [edx + 0x58]
mov byte [ebp - 0x786d], dl
mov byte [ebp - 0x786f], dl
mov edx, dword [ebp - 0x7828]
test al, 0x20
je 0x455d18
cmp byte [ebp - 0x786f], 0x7f
movzx esi, byte [ebp - 0x786d]
mov edi, dword [ebp - 0x789c]
mov dword [ebp - 0x7884], esi
mov al, byte [edi + esi + 0x100]
mov byte [ebp - 0x786d], al
mov eax, dword [ebp - 0x7894]
jbe 0x455d18
cmp dword [ebp - 0x7880], 0
jne 0x455d18
mov edx, dword [ebp - 0x787c]
test dword [edx + 0x40], 0x20000
mov edx, dword [ebp - 0x7828]
je 0x455d18
and dword [ebp - 0x7884], 0x7f
mov eax, esi
shr eax, 7
movzx eax, word [eax*2 + 0x4a0880]
shl eax, 7
add eax, dword [ebp - 0x7884]
movzx eax, word [eax*2 + 0x4a4c80]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x49c5cc]
add al, byte [ebp - 0x786f]
mov byte [ebp - 0x786d], al
mov eax, dword [ebp - 0x7894]
jmp 0x455d18
cmp dword [ebp - 0x7884], 0
jne 0x455d18
test al, 0x40
je 0x455d18
mov edi, dword [ebp - 0x787c]
add edi, 0x14
mov dword [ebp - 0x78b4], edi
test al, al
jns 0x455dc6
mov edi, dword [ebp - 0x787c]
mov dword [ebp - 0x78d0], 1
mov dl, byte [edi + 0x5c]
mov byte [ebp - 0x786e], dl
mov byte [ebp - 0x7870], dl
mov edx, dword [ebp - 0x7828]
test eax, 0x100
je 0x455dc6
cmp byte [ebp - 0x7870], 0x7f
movzx eax, byte [ebp - 0x786e]
mov esi, dword [ebp - 0x789c]
mov dword [ebp - 0x7884], eax
mov dl, byte [esi + eax + 0x100]
mov byte [ebp - 0x786e], dl
mov edx, dword [ebp - 0x7828]
jbe 0x455dc6
cmp dword [ebp - 0x7880], 0
jne 0x455dc6
test dword [edi + 0x40], 0x20000
je 0x455dc6
and dword [ebp - 0x7884], 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x4a0880]
shl eax, 7
add eax, dword [ebp - 0x7884]
movzx eax, word [eax*2 + 0x4a4c80]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x49c5cc]
add al, byte [ebp - 0x7870]
mov byte [ebp - 0x786e], al
mov eax, dword [ebp - 0x7878]
test byte [eax + 0x31], 1
je 0x455dfc
push dword [eax + 8]
push dword [eax + 0x10]
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x7878]
add esp, 8
mov ecx, dword [ebp - 0x7824]
mov ebx, dword [ebp - 0x785c]
mov edx, dword [ebp - 0x7828]
and byte [eax + 0x31], 0xfe
mov esi, dword [ebp - 0x787c]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x7890]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [eax + 0x30], 1
nop dword [eax]
mov edi, dword [ebp - 0x787c]
test dword [edi + 0x40], 0x10000
mov edi, dword [ebp - 0x7874]
jne 0x4563ec
cmp dword [ebp - 0x78d8], 0
jne 0x4563ec
cmp dword [ebp - 0x78c0], 0
je 0x455f93
mov edi, esi
cmp esi, dword [ebp - 0x7874]
jae 0x455f8d
mov eax, dword [ebp - 0x7880]
test eax, eax
je 0x455f06
mov ebx, dword [ebp - 0x7874]
mov eax, dword [ebp - 0x7858]
test edx, edx
je 0x455ebe
cmp edi, eax
jae 0x455eb2
push dword [ebp - 0x7880]
lea ecx, [ebp - 0x7824]
push ecx
push eax
push edx
push edi
call fcn.00458390
mov ecx, dword [ebp - 0x7824]
add esp, 0x14
mov edx, dword [ebp - 0x7828]
test eax, eax
je 0x455eb2
mov eax, 1
jmp 0x455eb4
xor eax, eax
test eax, eax
jne 0x455f87
jmp 0x455ee6
sub eax, ecx
cmp edi, eax
ja 0x455ee6
mov al, byte [edi]
cmp al, byte [ebp - 0x781c]
jne 0x455ee6
cmp ecx, 1
je 0x455f87
mov al, byte [edi + 1]
cmp al, byte [ebp - 0x781b]
je 0x455f87
inc edi
cmp edi, ebx
jae 0x455f87
nop
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x455e75
inc edi
cmp edi, ebx
jb 0x455ef0
jmp 0x455f87
mov esi, dword [ebp - 0x7858]
nop dword [eax]
test edx, edx
je 0x455f50
cmp edi, esi
jae 0x455f48
push eax
lea eax, [ebp - 0x7824]
push eax
push esi
push edx
push edi
call fcn.00458390
mov ecx, dword [ebp - 0x7824]
add esp, 0x14
mov edx, dword [ebp - 0x7828]
mov esi, dword [ebp - 0x7858]
test eax, eax
je 0x455f48
mov eax, 1
jmp 0x455f4a
xor eax, eax
test eax, eax
jne 0x455f81
jmp 0x455f72
mov eax, esi
sub eax, ecx
cmp edi, eax
ja 0x455f72
mov al, byte [edi]
cmp al, byte [ebp - 0x781c]
jne 0x455f72
cmp ecx, 1
je 0x455f81
mov al, byte [edi + 1]
cmp al, byte [ebp - 0x781b]
je 0x455f81
mov eax, dword [ebp - 0x7880]
inc edi
cmp edi, dword [ebp - 0x7874]
jb 0x455f10
mov esi, dword [ebp - 0x7890]
mov ebx, dword [ebp - 0x785c]
mov dword [ebp - 0x7874], edi
cmp dword [ebp - 0x788c], 0
je 0x4560ce
mov ecx, dword [ebp - 0x78b8]
mov ebx, dword [ebp - 0x78b4]
test ecx, ecx
jne 0x455fb4
test ebx, ebx
je 0x456019
cmp esi, edi
sbb eax, eax
neg eax
cmp esi, edi
jae 0x456011
mov al, byte [esi]
test ecx, ecx
je 0x455fd4
cmp al, byte [ebp - 0x786f]
je 0x456019
cmp al, byte [ebp - 0x786d]
je 0x456019
test ebx, ebx
je 0x4561c1
movzx edx, al
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
mov ecx, dword [ebp - 0x788c]
test byte [edx + ebx], al
mov eax, 0
mov dword [ebp - 0x788c], ecx
mov ecx, dword [ebp - 0x78a0]
setne al
mov dword [ebp - 0x78a0], ecx
test eax, eax
je 0x4561c1
mov eax, dword [ebp - 0x7858]
test byte [ebp - 0x7830], 0x30
mov dword [ebp - 0x7874], eax
jne 0x4563e6
mov ecx, eax
mov eax, dword [ebp - 0x787c]
sub ecx, esi
movzx eax, word [eax + 0x66]
cmp ecx, eax
jl 0x4561c1
mov edi, dword [ebp - 0x78b8]
add edi, esi
cmp dword [ebp - 0x78d0], 0
je 0x4563e6
cmp edi, dword [ebp - 0x78a8]
jbe 0x4563e6
cmp ecx, 0x1388
jb 0x45608a
cmp dword [ebp - 0x788c], 0
jne 0x4563e6
cmp ecx, str.__mark_
jae 0x4563e6
mov al, byte [ebp - 0x7870]
movzx ecx, al
cmp al, byte [ebp - 0x786e]
je 0x4563b9
mov ebx, dword [ebp - 0x7858]
sub ebx, edi
push ebx
push ecx
push edi
call fcn.0045ddb0
add esp, 0xc
mov dword [ebp - 0x78a8], eax
test eax, eax
jne 0x4563da
movzx eax, byte [ebp - 0x786e]
push ebx
push eax
jmp 0x4563c3
cmp dword [ebp - 0x78b8], 0
je 0x456205
mov al, byte [ebp - 0x786f]
mov ebx, edi
mov dl, byte [ebp - 0x786d]
sub ebx, esi
cmp al, dl
je 0x456191
mov ecx, dword [ebp - 0x78c8]
test ecx, ecx
je 0x456115
cmp esi, ecx
ja 0x456115
mov eax, dword [ebp - 0x7874]
mov edi, ecx
cmp ecx, eax
mov ecx, 0
cmove edi, ecx
jmp 0x45613e
push ebx
movzx eax, al
push eax
push esi
call fcn.0045ddb0
mov dl, byte [ebp - 0x786d]
mov edi, eax
mov eax, dword [ebp - 0x7874]
add esp, 0xc
test edi, edi
mov ecx, edi
cmove ecx, eax
mov dword [ebp - 0x78c8], ecx
mov ecx, dword [ebp - 0x78cc]
test ecx, ecx
je 0x456157
cmp esi, ecx
ja 0x456157
xor edx, edx
mov esi, ecx
cmp ecx, eax
cmove esi, edx
jmp 0x45617a
push ebx
movzx eax, dl
push eax
push esi
call fcn.0045ddb0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x7874]
test esi, esi
mov ecx, esi
cmove ecx, eax
mov dword [ebp - 0x78cc], ecx
test edi, edi
jne 0x456185
test esi, esi
cmove esi, eax
jmp 0x4561a6
test esi, esi
je 0x45618d
cmp edi, esi
jae 0x4561a6
mov esi, edi
jmp 0x4561a6
push ebx
movzx eax, al
push eax
push esi
call fcn.0045ddb0
mov esi, eax
add esp, 0xc
test esi, esi
cmove esi, edi
test byte [ebp - 0x7830], 0x30
mov eax, dword [ebp - 0x7858]
jne 0x45601f
cmp esi, eax
jb 0x45601f
or edi, 0xffffffff
mov ecx, dword [ebp - 0x7804]
test ecx, ecx
je 0x4561f2
nop
push dword [ebp - 0x7864]
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x7804], eax
call dword [ebp - 0x7868]
mov ecx, dword [ebp - 0x7804]
add esp, 8
test ecx, ecx
jne 0x4561d0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x78a0], 0
je 0x45637e
mov eax, dword [ebp - 0x78a4]
add eax, ebx
cmp esi, eax
jbe 0x456019
cmp esi, edi
jae 0x456349
mov edx, dword [ebp - 0x7880]
test edx, edx
je 0x4562d3
nop dword [eax + eax]
mov eax, dword [ebp - 0x7828]
test eax, eax
je 0x456284
cmp esi, ebx
jbe 0x456278
push edx
lea ecx, [ebp - 0x7824]
push ecx
push ebx
push eax
push esi
call fcn.00458530
mov ecx, dword [ebp - 0x7824]
add esp, 0x14
mov ebx, dword [ebp - 0x785c]
test eax, eax
je 0x456278
mov eax, 1
jmp 0x45627a
xor eax, eax
test eax, eax
jne 0x456343
jmp 0x4562b1
lea eax, [ebx + ecx]
cmp esi, eax
jb 0x4562b7
mov edx, esi
sub edx, ecx
mov al, byte [edx]
cmp al, byte [ebp - 0x781c]
jne 0x4562b1
cmp ecx, 1
je 0x456343
mov al, byte [edx + 1]
cmp al, byte [ebp - 0x781b]
je 0x456343
mov edx, dword [ebp - 0x7880]
inc esi
cmp esi, edi
jae 0x456343
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x456240
inc esi
cmp esi, edi
jb 0x4562c0
jmp 0x456343
mov eax, dword [ebp - 0x7828]
test eax, eax
je 0x456313
cmp esi, ebx
jbe 0x45630b
push edx
lea ecx, [ebp - 0x7824]
push ecx
push ebx
push eax
push esi
call fcn.00458530
mov ecx, dword [ebp - 0x7824]
add esp, 0x14
mov ebx, dword [ebp - 0x785c]
test eax, eax
je 0x45630b
mov eax, 1
jmp 0x45630d
xor eax, eax
test eax, eax
jne 0x456343
jmp 0x456338
lea eax, [ebx + ecx]
cmp esi, eax
jb 0x45633e
mov edx, esi
sub edx, ecx
mov al, byte [edx]
cmp al, byte [ebp - 0x781c]
jne 0x456338
cmp ecx, 1
je 0x456343
mov al, byte [edx + 1]
cmp al, byte [ebp - 0x781b]
je 0x456343
mov edx, dword [ebp - 0x7880]
inc esi
cmp esi, edi
jb 0x4562d3
mov edx, dword [ebp - 0x7828]
cmp byte [esi - 1], 0xd
jne 0x456019
cmp edx, 1
je 0x456361
cmp edx, 2
jne 0x456019
cmp esi, edi
jae 0x456019
cmp byte [esi], 0xa
mov eax, dword [ebp - 0x7858]
jne 0x45601f
inc esi
jmp 0x45601f
mov ebx, dword [ebp - 0x78b4]
test ebx, ebx
je 0x456019
cmp esi, edi
jae 0x4561a6
movzx edx, byte [esi]
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebx], al
jne 0x4561a6
inc esi
cmp esi, edi
jb 0x456394
jmp 0x4561a6
mov eax, dword [ebp - 0x7858]
sub eax, edi
push eax
push ecx
push edi
call fcn.0045ddb0
add esp, 0xc
mov dword [ebp - 0x78a8], eax
test eax, eax
je 0x4561c1
cmp eax, dword [ebp - 0x7858]
jae 0x4561c1
mov eax, dword [ebp - 0x7878]
cmp esi, dword [ebp - 0x78b0]
ja 0x4561c1
lea ecx, [ebp - 0x7804]
mov dword [ebp - 0x7854], esi
push ecx
push 0
push dword [ebp + 0x28]
lea ebx, [eax + 0x38]
mov dword [ebp - 0x7850], esi
push dword [ebp - 0x78bc]
movzx eax, word [eax + 0x32]
add eax, eax
mov dword [ebp - 0x7808], 0
push eax
push ebx
push dword [ebp - 0x78a4]
lea eax, [ebp - 0x786c]
push esi
push dword [ebp - 0x7860]
push eax
call fcn.00450560
mov edi, eax
add esp, 0x28
cmp edi, 0xffffffff
jne 0x456584
cmp dword [ebp - 0x788c], 0
jne 0x4565b9
cmp dword [ebp - 0x78c0], 0
mov edx, dword [ebp - 0x7828]
je 0x4564b1
mov eax, dword [ebp - 0x7858]
test edx, edx
je 0x456531
cmp esi, eax
jae 0x4564a7
push dword [ebp - 0x7880]
lea ecx, [ebp - 0x7824]
push ecx
push eax
push edx
push esi
call fcn.00458390
mov edx, dword [ebp - 0x7828]
add esp, 0x14
test eax, eax
je 0x4564a7
lea eax, [edi + 2]
jmp 0x4564a9
xor eax, eax
test eax, eax
jne 0x4561c1
mov ecx, dword [ebp - 0x7824]
mov edi, dword [ebp - 0x7874]
inc esi
cmp dword [ebp - 0x7880], 0
mov dword [ebp - 0x7890], esi
je 0x4564e4
cmp esi, edi
jae 0x4564e6
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x4564ec
inc esi
mov dword [ebp - 0x7890], esi
cmp esi, edi
jb 0x4564d1
cmp esi, edi
ja 0x4561c1
cmp byte [esi - 1], 0xd
jne 0x456520
cmp esi, edi
jae 0x456520
cmp byte [esi], 0xa
jne 0x456520
mov eax, dword [ebp - 0x787c]
test dword [eax + 0x48], 0x800
jne 0x456520
cmp edx, 1
je 0x45656c
cmp edx, 2
je 0x45656c
cmp ecx, 2
je 0x45656c
nop dword [eax]
mov ebx, dword [ebp - 0x785c]
mov eax, dword [ebp - 0x7878]
jmp 0x455e20
mov ecx, dword [ebp - 0x7824]
sub eax, ecx
cmp esi, eax
ja 0x4564b7
mov al, byte [esi]
cmp al, byte [ebp - 0x781c]
jne 0x4564b7
cmp ecx, 1
je 0x4561c1
mov al, byte [esi + 1]
cmp al, byte [ebp - 0x781b]
je 0x4561c1
jmp 0x4564b7
mov ebx, dword [ebp - 0x785c]
inc esi
mov eax, dword [ebp - 0x7878]
mov dword [ebp - 0x7890], esi
jmp 0x455e20
cmp edi, 0xfffffffe
jne 0x4565b9
mov eax, dword [ebp - 0x7878]
mov ecx, dword [ebp - 0x7888]
cmp word [eax + 0x32], 0
jbe 0x4565b5
mov eax, esi
sub eax, ecx
mov dword [ebx], eax
mov ebx, dword [ebp - 0x7878]
mov eax, dword [ebp - 0x7874]
sub eax, ecx
mov dword [ebx + 0x3c], eax
jmp 0x4565c5
mov ebx, eax
jmp 0x4565c5
mov ebx, dword [ebp - 0x7878]
mov ecx, dword [ebp - 0x7888]
mov eax, dword [ebp - 0x7854]
sub esi, ecx
mov edx, dword [ebp - 0x7898]
sub eax, ecx
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x7850]
sub eax, ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], edi
test edi, edi
js 0x45664c
test dword [ebp + 0x18], 0x4000
je 0x456655
add edx, dword [ebp - 0x78d4]
push dword [ebx + 8]
mov eax, dword [ebx]
push edx
mov dword [ebp - 0x7898], edx
call eax
add esp, 8
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x45662d
pop edi
pop esi
mov eax, 0xffffffd0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x7898]
push ecx
push dword [ebp - 0x7888]
push eax
call fcn.0045cb10
add esp, 0xc
or byte [ebx + 0x31], 1
jmp 0x4561c4
cmp edi, 0xfffffffe
jne 0x4561c4
mov dword [ebx + 0x10], ecx
jmp 0x4561c4
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffcd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffffde
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045b84f
mov esp, ebp
pop ebp
ret