Function at 0x53aa20
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov ecx, dword [ebp + 8]
push ebx
push esi
xor eax, eax
mov esi, dword [ecx + 4]
push edi
cmp esi, eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
jne 0x53aa4f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x48]
mov dword [ebp - 4], ebx
mov eax, dword [ebx + 0xc]
mov edx, 1
cmp eax, edx
jle 0x53ab03
lea edi, [eax - 1]
mov eax, dword [ebx + 0x4c]
test eax, 0x10000000
mov dword [ebx + 0xc], edi
je 0x53ab5e
test eax, 0x20000000
je 0x53ab5e
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx]
cmp ecx, 2
jne 0x53aae2
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x53aae2
cmp dword [ebp - 8], 1
jg 0x53aae2
or eax, 0x20000000
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x4c]
and eax, 0xbfffffff
push esi
mov dword [ebx + 0x4c], eax
call fcn.00553c10
add esp, 4
test eax, eax
jne 0x53b99d
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0xc], edi
test eax, 0x10000000
je 0x53aad8
test eax, 0x20000000
jne 0x53b8ab
or eax, 0x20000000
mov dword [ebx + 0x4c], eax
jmp 0x53ab5e
and eax, 0xdfffffff
cmp ecx, 1
mov dword [ebx + 0x4c], eax
jne 0x53aaa4
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x53aaa4
cmp dword [ebp - 8], 1
jg 0x53aaa4
or eax, 0x40000000
jmp 0x53aaac
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 2
jne 0x53abc0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x53abc0
cmp dword [ebp - 8], edx
jg 0x53abc0
or dword [ebx + 0x4c], 0x20000000
mov eax, dword [ebx + 0x4c]
and eax, 0xbfffffff
push esi
mov dword [ebx + 0x4c], eax
call fcn.00553c10
add esp, 4
test eax, eax
jne 0x53b99d
mov eax, dword [ebx + 0x4c]
test eax, 0x10000000
je 0x53ab5e
test eax, 0x20000000
jne 0x53b8b8
movsx eax, byte [ebx + 0x48]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x53ab76.7
xor ecx, ecx
mov cl, byte [eax + 0x53bb04]
jmp dword [ecx*4 + 0x53baec]
mov eax, dword [esi + 0x7c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x24], edi
je 0x53ab9d
xor ecx, ecx
mov cl, byte [eax + 0x1e]
cmp ecx, edi
je 0x53ab9d
mov byte [eax + 0x1e], 0
mov dword [ebp - 0x24], 1
test byte [esi + 0x12c], 4
je 0x53ac08
cmp byte [esi + 0x11e], 1
jne 0x53ac08
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x53abf1
mov byte [eax + 5], 0x24
jmp 0x53abfa
mov eax, dword [ebx + 0x4c]
and eax, 0xdfffffff
cmp ecx, edx
mov dword [ebx + 0x4c], eax
jne 0x53ab2d
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x53ab2d
cmp dword [ebp - 8], edx
jg 0x53ab2d
or eax, 0x40000000
jmp 0x53ab35
cmp cl, 0x2b
jne 0x53abfa
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.0054f090
add esp, 4
cmp eax, edi
jne 0x53b99d
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x12c]
add ecx, 1
push edi
mov dword [esi + 0x90], ecx
mov eax, dword [esi + 0x94]
adc eax, edi
and edx, 0xfff7ffff
push esi
mov dword [esi + 0x94], eax
mov dword [esi + 0x12c], edx
call fcn.00550000
add esp, 8
test eax, eax
jne 0x53b8cc
mov dl, byte [esi + 0x11c]
movsx eax, dl
dec eax
cmp eax, 6
ja case.default.0x53ac6d
jmp dword [eax*4 + 0x53bb20]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53ac83
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53ac8c
mov edx, dword [esi + 0x28]
add edx, 4
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + ecx - 8]
mov dword [esi + 0x34], edx
jmp 0x53ad22
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x53acab
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xb4]
mov edx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + edx - 1]
mov dword [esi + 0x34], eax
jmp 0x53ad22
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53accb
mov dword [esi + 0x2c], eax
jmp 0x53acd1
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x2c], ecx
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x2c]
add ecx, eax
mov eax, dword [esi + 0x12c]
test eax, 0x8000000
mov dword [esi + 0x34], ecx
je 0x53ad47
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53ad22
test ah, 0x10
je 0x53ad22
cmp dl, 1
jne 0x53ad22
add ecx, 0xfffffffe
mov dword [esi + 0x34], ecx
jmp 0x53ad22
push 0x3e1
push 0x5824d8
push 2
push 0xc0000008
call fcn.005469f0
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x53ad47
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53ad47
test ah, 0x10
je 0x53ad47
cmp byte [esi + 0x11c], 1
je 0x53ad7d
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x53ad64
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53ad7d
cmp al, 6
je 0x53ad7d
dec dword [esi + 0x34]
jmp 0x53ad7d
cmp al, 1
jne 0x53ad7d
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53ad79
cmp al, 6
je 0x53ad79
dec dword [esi + 0x34]
add dword [esi + 0x2c], 5
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0x34]
sub ecx, edi
mov eax, 0x20202020
mov edx, ecx
mov dword [esi + 0x38], edi
shr ecx, 2
mov dword [esi + 0x3c], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xf0], 0
test eax, eax
je 0x53aa55
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x1e], 1
jmp 0x53aa55
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
cmp al, 1
je 0x53ade4
cmp al, 2
je 0x53ade0
test dword [ebx + 0x4c], 0x200000
je 0x53b7ee
cmp al, 1
jne 0x53adf6
mov edx, dword [ebp - 8]
mov ecx, 2
cmp edx, ecx
jl 0x53b842
jmp 0x53adfb
mov ecx, 2
cmp al, 2
jne 0x53ae08
cmp dword [ebp - 8], ecx
jl 0x53b920
mov eax, dword [esi + 0x7c]
xor edi, edi
cmp eax, edi
je 0x53ae25
xor ecx, ecx
mov cl, byte [eax + 0x1e]
cmp ecx, edi
je 0x53ae25
mov byte [eax + 0x1e], 0
mov dword [ebp - 0x24], 1
cmp dword [esi + 0xf0], edi
je 0x53ae4c
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], edi
test eax, 0x20000
jne 0x53ae4c
cmp dword [esi + 0xf8], edi
jne 0x53b03b
test byte [esi + 0x12c], 4
je 0x53ae86
cmp byte [esi + 0x11e], 1
jne 0x53ae86
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x53ae6f
mov byte [eax + 5], 0x24
jmp 0x53ae78
cmp cl, 0x2b
jne 0x53ae78
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.0054f090
add esp, 4
cmp eax, edi
jne 0x53b99d
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x12c]
add ecx, 1
push edi
mov dword [esi + 0x90], ecx
mov eax, dword [esi + 0x94]
adc eax, edi
and edx, 0xfff7ffff
push esi
mov dword [esi + 0x94], eax
mov dword [esi + 0x12c], edx
call fcn.00550000
add esp, 8
test eax, eax
jne 0x53b8cc
mov dl, byte [esi + 0x11c]
movsx eax, dl
dec eax
cmp eax, 6
ja case.default.0x53aeeb
jmp dword [eax*4 + 0x53bb3c]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53af01
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53af0a
mov edx, dword [esi + 0x28]
add edx, 4
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + ecx - 8]
mov dword [esi + 0x34], edx
jmp 0x53afa0
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x53af29
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xb4]
mov edx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + edx - 1]
mov dword [esi + 0x34], eax
jmp 0x53afa0
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53af49
mov dword [esi + 0x2c], eax
jmp 0x53af4f
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x2c], ecx
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x2c]
add ecx, eax
mov eax, dword [esi + 0x12c]
test eax, 0x8000000
mov dword [esi + 0x34], ecx
je 0x53afc5
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53afa0
test ah, 0x10
je 0x53afa0
cmp dl, 1
jne 0x53afa0
add ecx, 0xfffffffe
mov dword [esi + 0x34], ecx
jmp 0x53afa0
push 0x4b1
push str.E:_forrtl_build_for_wseq_fmt.c
push 2
push 0xc0000008
call fcn.005469f0
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x53afc5
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53afc5
test ah, 0x10
je 0x53afc5
cmp byte [esi + 0x11c], 1
je 0x53affb
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x53afe2
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53affb
cmp al, 6
je 0x53affb
dec dword [esi + 0x34]
jmp 0x53affb
cmp al, 1
jne 0x53affb
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53aff7
cmp al, 6
je 0x53aff7
dec dword [esi + 0x34]
add dword [esi + 0x2c], 5
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0x34]
sub ecx, edi
mov eax, 0x20202020
mov edx, ecx
mov dword [esi + 0x38], edi
shr ecx, 2
mov dword [esi + 0x3c], 0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf8], 1
and eax, 0xfffdffff
mov dword [esi + 0x130], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x53b049
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x1e], 1
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x3c], ecx
jmp 0x53aa55
mov ecx, dword [ebp - 4]
xor edi, edi
mov eax, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
test eax, eax
jle 0x53b0b4
mov edx, dword [esi + 0x2c]
mov al, byte [edi + ebx]
mov byte [edx], al
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
inc eax
cmp eax, edx
mov dword [esi + 0x2c], eax
jbe 0x53b0ac
mov eax, dword [ecx + 0x38]
cmp eax, 0x200
jg 0x53b088
mov eax, 0x200
mov ecx, dword [esi + 0xb4]
shr ecx, 3
cmp ecx, eax
jle 0x53b097
mov eax, ecx
push eax
push esi
call fcn.005518a0
add esp, 8
test eax, eax
jne 0x53b92c
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
inc edi
cmp edi, eax
jl 0x53b063
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
ja 0x53b0c0
mov eax, ecx
mov ebx, dword [ebp - 4]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], 0
or eax, 0x20000
mov dword [esi + 0x130], eax
jmp 0x53aa55
cmp dword [ebp - 8], 2
jge 0x53aa55
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx]
cmp al, 1
je 0x53b842
cmp al, 2
je 0x53b948
mov edx, dword [ebp - 8]
lea eax, [ebp + 0x10]
push edx
lea ecx, [ebp + 0xc]
push eax
push ecx
call fcn.0054e4e0
add esp, 0xc
cmp eax, 2
je 0x53b948
mov edi, 1
cmp eax, edi
je 0x53b847
jmp 0x53aa55
mov eax, dword [esi + 0x12c]
test eax, 0x8000000
je 0x53b153
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1e], 1
mov eax, dword [esi + 0x7c]
mov dword [eax + 0xc], esi
jmp 0x53aa55
or al, 4
mov dword [esi + 0x12c], eax
jmp 0x53aa55
mov eax, dword [ebp - 8]
mov edi, 1
cmp eax, edi
jle 0x53b21f
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x53b1a9
cmp eax, 7
je 0x53b1a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
add edx, ecx
test eax, eax
mov dword [ebp - 0x20], edx
je 0x53b21a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], 0
dec ecx
mov dword [ebp - 8], ecx
jmp 0x53b296
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp eax, ecx
je 0x53b1cc
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add edi, edx
dec eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x53b3fc
cmp dword [ebp - 0x2c], ecx
je 0x53b1d4
mov dword [ebp - 0xc], edi
mov edx, dword [ebp - 0xa8]
xor eax, eax
cmp edx, ecx
jle 0x53b1fa
mov edi, dword [ebp + eax*4 - 0x4c]
sub edi, dword [ebp + eax*4 - 0xe4]
imul edi, dword [ebp + eax*4 - 0xc8]
add ecx, edi
inc eax
cmp eax, edx
jl 0x53b1e0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x4c]
add eax, ecx
lea ecx, [ebp - 0xac]
push ecx
push edx
push 0
mov dword [ebp - 0x20], eax
call fcn.00551a70
add esp, 0xc
dec dword [ebp - 8]
jmp 0x53b296
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp + 0x10]
push ecx
lea eax, [ebp + 0xc]
push edx
push eax
call fcn.0054e1a0
add esp, 0x10
test eax, eax
jne 0x53ba95
mov ecx, dword [ebp - 0x18]
mov edx, 2
cmp ecx, edx
je 0x53b958
cmp ecx, edi
je 0x53b847
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x53b2fd
cmp eax, 7
je 0x53b2fd
cmp eax, 5
je 0x53b2b6
cmp eax, 6
je 0x53b2b6
cmp ecx, 0x1c
jl 0x53b286
cmp ecx, 0x2c
jle 0x53b28b
cmp ecx, 0x34
jne 0x53b293
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edi
jmp 0x53b296
mov dword [ebp - 8], edi
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], 0
or eax, 0x20000
mov dword [esi + 0x130], eax
jmp 0x53b3fc
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x53b2c5
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
jmp 0x53b2d9
mov eax, dword [esi + 0x12c]
mov ecx, dword [ebp - 0x1c]
and eax, 0x100
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 0x12c]
mov dword [ebp - 8], eax
test ch, 1
je 0x53b3fc
test eax, eax
jne 0x53b296
mov dword [esi + 0xf0], edi
mov dword [ebp - 0x28], edi
jmp 0x53b403
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x53b320
mov eax, dword [ebp - 0x1c]
cdq
idiv edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x53b346
mov dword [ebp - 0x28], 1
jmp 0x53b403
mov eax, dword [esi + 0x12c]
test ah, 1
je 0x53b333
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
jmp 0x53b30d
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 1
jmp 0x53b403
cmp ecx, 0x1c
jl 0x53b350
cmp ecx, 0x2c
jle 0x53b355
cmp ecx, 0x34
jne 0x53b362
mov eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
jmp 0x53b369
mov dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0xa8]
xor eax, eax
test edi, edi
jle 0x53b39a
lea ecx, [ebp - 0x98]
mov edx, dword [ecx - 4]
mov ebx, dword [ecx]
mov dword [ebp + eax*4 - 0xe4], edx
mov dword [ebp + eax*4 - 0xc8], ebx
mov dword [ebp + eax*4 - 0x4c], edx
inc eax
add ecx, 0xc
cmp eax, edi
jl 0x53b37b
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x53b3be
mov edx, dword [ebp + eax*4 - 0x4c]
mov ebx, dword [ebp + eax*4 - 0xe4]
sub edx, ebx
imul edx, dword [ebp + eax*4 - 0xc8]
add ecx, edx
inc eax
cmp eax, edi
jl 0x53b3a2
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x4c]
add eax, ecx
lea ecx, [ebp - 0xac]
push ecx
push edx
push 0
mov dword [ebp - 0x20], eax
call fcn.00551a70
mov eax, dword [esi + 0x130]
mov ebx, dword [ebp - 4]
add esp, 0xc
or eax, 0x20000
mov dword [esi + 0xf0], 0
mov dword [esi + 0x130], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x53b41f
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x53b416
mov dword [ebx + 0xc], 2
jmp 0x53aa55
inc eax
mov dword [ebx + 0xc], eax
jmp 0x53aa55
mov edi, dword [ebx + 0x4c]
mov eax, dword [ebx]
and edi, 0xf7ffffff
xor edx, edx
mov dword [ebx + 0x4c], edi
mov ecx, dword [eax + 0x12c]
test ecx, 0x10000
je 0x53b45e
movsx ecx, byte [ebx + 0x48]
mov ecx, dword [ecx*4 + 0x57d7f8]
test ecx, ecx
je 0x53b45e
mov eax, dword [ebp - 0x18]
movsx ecx, byte [ecx + eax]
test ecx, ecx
je 0x53b461
mov eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x53b461
mov eax, dword [ebp - 0x18]
movsx edi, byte [ebx + 0x48]
lea ecx, [edi - 0x13]
cmp ecx, 0x20
ja case.default.0x53b479
xor ebx, ebx
mov bl, byte [ecx + 0x53bb88]
jmp dword [ebx*4 + 0x53bb58]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x38], eax
jmp case.default.0x53b479
cmp eax, 5
jl 0x53b538
cmp eax, 0x11
jg 0x53b538
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x38], 2
jmp case.default.0x53b479
cmp eax, 0x19
jl 0x53b538
cmp eax, 0x34
jg 0x53b538
mov ebx, dword [ebp - 4]
lea eax, [eax*8 - 0xc8]
movsx ecx, word [eax + 0x57d698]
mov dword [ebx + 0x38], ecx
mov cx, word [eax + 0x57d69c]
mov word [ebx + 0x40], cx
mov ax, word [eax + 0x57d69e]
mov word [ebx + 0x42], ax
jmp case.default.0x53b479
cmp eax, 0x19
jl case.0x53b479.22
cmp eax, 0x34
jg case.0x53b479.22
mov ebx, dword [ebp - 4]
lea eax, [eax*8 - 0xc8]
movsx ecx, word [eax + 0x57d698]
mov dword [ebx + 0x38], ecx
mov cx, word [eax + 0x57d69c]
mov word [ebx + 0x40], cx
mov ax, word [eax + 0x57d69e]
mov word [ebx + 0x42], ax
jmp case.default.0x53b479
cmp eax, 5
jl 0x53b538
cmp eax, 0x11
jg 0x53b538
movsx ecx, byte [eax + 0x57d5bf]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
jmp case.default.0x53b479
mov edx, 0xc000003d
mov ebx, dword [ebp - 4]
mov eax, edi
sub eax, 0x28
je 0x53b551
sub eax, 2
je 0x53b551
sub eax, 3
jne 0x53b55e
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x38]
cmp ecx, eax
jge 0x53b55e
mov dword [ebx + 0x38], eax
test edx, edx
jne 0x53b96d
test byte [ebx + 0x50], 2
je 0x53b70f
mov eax, dword [ebx + 0x38]
cmp eax, 0x40
ja 0x53b68b
lea edi, [ebp - 0x124]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], edi
jmp 0x53b6a8
movsx eax, word [eax*2 + 0x57d614]
mov ebx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
jne case.default.0x53b479
mov eax, dword [ebp - 0x14]
shl eax, 2
cmp eax, 0x11
jge 0x53b5b0
mov eax, 0x11
mov dword [ebx + 0x38], eax
jmp case.default.0x53b479
movsx eax, byte [eax + 0x57d5d4]
mov ebx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
jne case.default.0x53b479
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
cmp eax, 7
jge 0x53b5db
mov eax, 7
mov dword [ebx + 0x38], eax
jmp case.default.0x53b479
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53b479
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ecx + 0x57d5bf]
mov dword [ebx + 0x38], eax
jmp case.default.0x53b479
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53b479
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ecx + 0x57d5d4]
mov dword [ebx + 0x38], eax
jmp case.default.0x53b479
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53b479
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, word [ecx*2 + 0x57d614]
mov dword [ebx + 0x38], eax
jmp case.default.0x53b479
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53b479
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, word [ecx*8 + 0x57d5d2]
movsx ecx, word [ebx + 0x40]
add eax, ecx
mov dword [ebx + 0x38], eax
jmp case.default.0x53b479
lea edx, [ebp - 0x10]
push edx
push 0
push eax
call fcn.0053f0b0
add esp, 0xc
test eax, eax
jne 0x53b99d
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x30], edi
mov ecx, dword [ebx + 0x38]
mov eax, 0x20202020
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push eax
push ebx
push ecx
call fcn.00550380
add esp, 0xc
test eax, eax
je 0x53b6f1
cmp eax, 0x8000003f
jne 0x53b99d
test dword [esi + 0x12c], 0x100000
jne 0x53b6f1
mov dword [ebx + 0x10], 0x8000003f
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x53b70f
mov edx, dword [ebp - 0x10]
cmp byte [edx], 0x20
jne 0x53b70f
mov ecx, edx
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebx + 0x38]
dec eax
mov dword [ebx + 0x38], eax
jne 0x53b6f8
mov eax, dword [ebx + 0x38]
mov edi, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
mov ecx, eax
add ecx, edi
cmp ecx, edx
jbe 0x53b74d
cmp eax, 0x200
jg 0x53b72c
mov eax, 0x200
mov ecx, dword [esi + 0xb4]
shr ecx, 3
cmp ecx, eax
jle 0x53b73b
mov eax, ecx
push eax
push esi
call fcn.005518a0
add esp, 8
test eax, eax
jne 0x53b981
test byte [ebx + 0x50], 2
je 0x53b79c
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x53b77e
mov eax, dword [ebp - 0x10]
mov edx, dword [esi + 0x2c]
mov cl, byte [eax]
mov eax, dword [ebp - 4]
mov byte [edx], cl
mov edi, dword [esi + 0x2c]
inc edi
mov dword [esi + 0x2c], edi
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 0x38]
dec ecx
mov dword [eax + 0x38], ecx
jne 0x53b75a
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebx + 0x50]
and edx, 0xfffffffd
test eax, eax
mov dword [ebx + 0x50], edx
je 0x53b7da
push eax
call fcn.0053f120
add esp, 4
jmp 0x53b7da
mov edx, dword [esi + 0x2c]
lea eax, [ebp - 0x20]
push edx
push ebx
push eax
call fcn.00550380
add esp, 0xc
test eax, eax
je 0x53b7cf
cmp eax, 0x8000003f
jne 0x53b99d
test dword [esi + 0x12c], 0x100000
jne 0x53b7cf
mov dword [ebx + 0x10], 0x8000003f
mov ecx, dword [ebx + 0x38]
mov eax, dword [esi + 0x2c]
add eax, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
ja 0x53b7e6
mov eax, ecx
mov dword [esi + 0x3c], eax
jmp 0x53aa55
mov eax, dword [esi + 0x12c]
test ah, 1
je 0x53b904
test dword [ebx + 0x4c], 0x80000000
je 0x53b904
mov edi, dword [ebp - 8]
lea edx, [ebp - 0xac]
push edi
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp + 0x10]
push eax
lea edx, [ebp + 0xc]
push ecx
push edx
call fcn.0054e570
add esp, 0x14
test eax, eax
je 0x53b904
mov eax, dword [ebp + 0xc]
cmp byte [eax], 2
jne 0x53b842
cmp edi, 2
jl 0x53b948
mov edi, 1
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x53b85d
xor ecx, ecx
mov cl, byte [eax + 0x1e]
mov eax, ecx
test eax, eax
jne 0x53ba59
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x53b880
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x53b9bf
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x53b9bf
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], 0
test eax, 0x20000
je 0x53b9b1
and eax, 0xfffdffff
mov dword [esi + 0x130], eax
jmp 0x53b9bf
inc edi
xor eax, eax
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x53b8c3
inc eax
mov dword [ebx + 0xc], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0xc0000026
push 0xc0000026
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0xc000002c
push 0xc000002c
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0xc000003c
push 0xc000003c
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0xc], ecx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0xc0000042
push 0xc0000042
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0xc], 2
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x53b8bf
pop edi
mov dword [ebx + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edx
push edx
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0xc0000042
push 0xc0000042
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
push eax
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xf8]
test eax, eax
jne 0x53ba59
test byte [esi + 0x12c], 4
je 0x53b9f9
cmp byte [esi + 0x11e], 1
jne 0x53b9f9
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x53b9e2
mov byte [eax + 5], 0x24
jmp 0x53b9eb
cmp cl, 0x2b
jne 0x53b9eb
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.0054f090
add esp, 4
test eax, eax
je 0x53ba19
push esi
push eax
push eax
push edi
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x12c]
add eax, edi
mov dword [esi + 0x90], eax
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x130]
adc edx, 0
and ecx, 0xfff7ffff
and eax, 0xfffdffff
mov dword [esi + 0x94], edx
mov dword [esi + 0x12c], ecx
mov dword [esi + 0x130], eax
mov eax, dword [ebx + 0x4c]
test eax, 0x2000000
je 0x53ba8e
mov edx, dword [ebx + 4]
and eax, 0xfdffffff
push edx
mov dword [ebx + 0x4c], eax
call fcn.0053f120
add esp, 4
test eax, eax
je 0x53ba8e
push esi
push eax
push eax
push edi
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x53baa8
push esi
push eax
push eax
push edi
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x128]
mov edi, dword [esi + 0x12c]
mov eax, dword [esi + 0xbc]
and ebx, 0xfdc6ffff
and edi, 0xfffffddf
push eax
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], edi
call fcn.0054a4b0
mov ecx, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov dword [ecx + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret