Function at 0x53ba90
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 0x53babf
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 0x53bb73
lea edi, [eax - 1]
mov eax, dword [ebx + 0x4c]
test eax, 0x10000000
mov dword [ebx + 0xc], edi
je 0x53bbce
test eax, 0x20000000
je 0x53bbce
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx]
cmp ecx, 2
jne 0x53bb52
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x53bb52
cmp dword [ebp - 8], 1
jg 0x53bb52
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.00554c60
add esp, 4
test eax, eax
jne 0x53ca0d
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0xc], edi
test eax, 0x10000000
je 0x53bb48
test eax, 0x20000000
jne 0x53c91b
or eax, 0x20000000
mov dword [ebx + 0x4c], eax
jmp 0x53bbce
and eax, 0xdfffffff
cmp ecx, 1
mov dword [ebx + 0x4c], eax
jne 0x53bb14
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x53bb14
cmp dword [ebp - 8], 1
jg 0x53bb14
or eax, 0x40000000
jmp 0x53bb1c
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 2
jne 0x53bc30
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x53bc30
cmp dword [ebp - 8], edx
jg 0x53bc30
or dword [ebx + 0x4c], 0x20000000
mov eax, dword [ebx + 0x4c]
and eax, 0xbfffffff
push esi
mov dword [ebx + 0x4c], eax
call fcn.00554c60
add esp, 4
test eax, eax
jne 0x53ca0d
mov eax, dword [ebx + 0x4c]
test eax, 0x10000000
je 0x53bbce
test eax, 0x20000000
jne 0x53c928
movsx eax, byte [ebx + 0x48]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x53bbe6.7
xor ecx, ecx
mov cl, byte [eax + 0x53cb74]
jmp dword [ecx*4 + 0x53cb5c]
mov eax, dword [esi + 0x7c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x24], edi
je 0x53bc0d
xor ecx, ecx
mov cl, byte [eax + 0x1e]
cmp ecx, edi
je 0x53bc0d
mov byte [eax + 0x1e], 0
mov dword [ebp - 0x24], 1
test byte [esi + 0x12c], 4
je 0x53bc78
cmp byte [esi + 0x11e], 1
jne 0x53bc78
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x53bc61
mov byte [eax + 5], 0x24
jmp 0x53bc6a
mov eax, dword [ebx + 0x4c]
and eax, 0xdfffffff
cmp ecx, edx
mov dword [ebx + 0x4c], eax
jne 0x53bb9d
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x53bb9d
cmp dword [ebp - 8], edx
jg 0x53bb9d
or eax, 0x40000000
jmp 0x53bba5
cmp cl, 0x2b
jne 0x53bc6a
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.005500e0
add esp, 4
cmp eax, edi
jne 0x53ca0d
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.00551050
add esp, 8
test eax, eax
jne 0x53c93c
mov dl, byte [esi + 0x11c]
movsx eax, dl
dec eax
cmp eax, 6
ja case.default.0x53bcdd
jmp dword [eax*4 + 0x53cb90]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53bcf3
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53bcfc
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 0x53bd92
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x53bd1b
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 0x53bd92
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53bd3b
mov dword [esi + 0x2c], eax
jmp 0x53bd41
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 0x53bdb7
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53bd92
test ah, 0x10
je 0x53bd92
cmp dl, 1
jne 0x53bd92
add ecx, 0xfffffffe
mov dword [esi + 0x34], ecx
jmp 0x53bd92
push 0x3e1
push 0x5834d0
push 2
push 0xc0000008
call fcn.00547a40
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x53bdb7
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53bdb7
test ah, 0x10
je 0x53bdb7
cmp byte [esi + 0x11c], 1
je 0x53bded
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x53bdd4
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53bded
cmp al, 6
je 0x53bded
dec dword [esi + 0x34]
jmp 0x53bded
cmp al, 1
jne 0x53bded
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53bde9
cmp al, 6
je 0x53bde9
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 0x53bac5
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x1e], 1
jmp 0x53bac5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
cmp al, 1
je 0x53be54
cmp al, 2
je 0x53be50
test dword [ebx + 0x4c], 0x200000
je 0x53c85e
cmp al, 1
jne 0x53be66
mov edx, dword [ebp - 8]
mov ecx, 2
cmp edx, ecx
jl 0x53c8b2
jmp 0x53be6b
mov ecx, 2
cmp al, 2
jne 0x53be78
cmp dword [ebp - 8], ecx
jl 0x53c990
mov eax, dword [esi + 0x7c]
xor edi, edi
cmp eax, edi
je 0x53be95
xor ecx, ecx
mov cl, byte [eax + 0x1e]
cmp ecx, edi
je 0x53be95
mov byte [eax + 0x1e], 0
mov dword [ebp - 0x24], 1
cmp dword [esi + 0xf0], edi
je 0x53bebc
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], edi
test eax, 0x20000
jne 0x53bebc
cmp dword [esi + 0xf8], edi
jne 0x53c0ab
test byte [esi + 0x12c], 4
je 0x53bef6
cmp byte [esi + 0x11e], 1
jne 0x53bef6
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x53bedf
mov byte [eax + 5], 0x24
jmp 0x53bee8
cmp cl, 0x2b
jne 0x53bee8
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.005500e0
add esp, 4
cmp eax, edi
jne 0x53ca0d
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.00551050
add esp, 8
test eax, eax
jne 0x53c93c
mov dl, byte [esi + 0x11c]
movsx eax, dl
dec eax
cmp eax, 6
ja case.default.0x53bf5b
jmp dword [eax*4 + 0x53cbac]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53bf71
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53bf7a
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 0x53c010
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x53bf99
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 0x53c010
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x53bfb9
mov dword [esi + 0x2c], eax
jmp 0x53bfbf
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 0x53c035
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53c010
test ah, 0x10
je 0x53c010
cmp dl, 1
jne 0x53c010
add ecx, 0xfffffffe
mov dword [esi + 0x34], ecx
jmp 0x53c010
push 0x4b1
push str.E:_forrtl_build_for_wseq_fmt.c
push 2
push 0xc0000008
call fcn.00547a40
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x53c035
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53c035
test ah, 0x10
je 0x53c035
cmp byte [esi + 0x11c], 1
je 0x53c06b
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x53c052
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53c06b
cmp al, 6
je 0x53c06b
dec dword [esi + 0x34]
jmp 0x53c06b
cmp al, 1
jne 0x53c06b
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53c067
cmp al, 6
je 0x53c067
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 0x53c0b9
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x1e], 1
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x3c], ecx
jmp 0x53bac5
mov ecx, dword [ebp - 4]
xor edi, edi
mov eax, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
test eax, eax
jle 0x53c124
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 0x53c11c
mov eax, dword [ecx + 0x38]
cmp eax, 0x200
jg 0x53c0f8
mov eax, 0x200
mov ecx, dword [esi + 0xb4]
shr ecx, 3
cmp ecx, eax
jle 0x53c107
mov eax, ecx
push eax
push esi
call fcn.005528f0
add esp, 8
test eax, eax
jne 0x53c99c
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
inc edi
cmp edi, eax
jl 0x53c0d3
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
ja 0x53c130
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 0x53bac5
cmp dword [ebp - 8], 2
jge 0x53bac5
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx]
cmp al, 1
je 0x53c8b2
cmp al, 2
je 0x53c9b8
mov edx, dword [ebp - 8]
lea eax, [ebp + 0x10]
push edx
lea ecx, [ebp + 0xc]
push eax
push ecx
call fcn.0054f530
add esp, 0xc
cmp eax, 2
je 0x53c9b8
mov edi, 1
cmp eax, edi
je 0x53c8b7
jmp 0x53bac5
mov eax, dword [esi + 0x12c]
test eax, 0x8000000
je 0x53c1c3
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1e], 1
mov eax, dword [esi + 0x7c]
mov dword [eax + 0xc], esi
jmp 0x53bac5
or al, 4
mov dword [esi + 0x12c], eax
jmp 0x53bac5
mov eax, dword [ebp - 8]
mov edi, 1
cmp eax, edi
jle 0x53c28f
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x53c219
cmp eax, 7
je 0x53c219
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 0x53c28a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], 0
dec ecx
mov dword [ebp - 8], ecx
jmp 0x53c306
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp eax, ecx
je 0x53c23c
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 0x53c46c
cmp dword [ebp - 0x2c], ecx
je 0x53c244
mov dword [ebp - 0xc], edi
mov edx, dword [ebp - 0xa8]
xor eax, eax
cmp edx, ecx
jle 0x53c26a
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 0x53c250
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.00552ac0
add esp, 0xc
dec dword [ebp - 8]
jmp 0x53c306
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.0054f1f0
add esp, 0x10
test eax, eax
jne 0x53cb05
mov ecx, dword [ebp - 0x18]
mov edx, 2
cmp ecx, edx
je 0x53c9c8
cmp ecx, edi
je 0x53c8b7
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x53c36d
cmp eax, 7
je 0x53c36d
cmp eax, 5
je 0x53c326
cmp eax, 6
je 0x53c326
cmp ecx, 0x1c
jl 0x53c2f6
cmp ecx, 0x2c
jle 0x53c2fb
cmp ecx, 0x34
jne 0x53c303
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edi
jmp 0x53c306
mov dword [ebp - 8], edi
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], 0
or eax, 0x20000
mov dword [esi + 0x130], eax
jmp 0x53c46c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x53c335
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
jmp 0x53c349
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 0x53c46c
test eax, eax
jne 0x53c306
mov dword [esi + 0xf0], edi
mov dword [ebp - 0x28], edi
jmp 0x53c473
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x53c390
mov eax, dword [ebp - 0x1c]
cdq
idiv edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x53c3b6
mov dword [ebp - 0x28], 1
jmp 0x53c473
mov eax, dword [esi + 0x12c]
test ah, 1
je 0x53c3a3
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
jmp 0x53c37d
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 1
jmp 0x53c473
cmp ecx, 0x1c
jl 0x53c3c0
cmp ecx, 0x2c
jle 0x53c3c5
cmp ecx, 0x34
jne 0x53c3d2
mov eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
jmp 0x53c3d9
mov dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0xa8]
xor eax, eax
test edi, edi
jle 0x53c40a
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 0x53c3eb
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x53c42e
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 0x53c412
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.00552ac0
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 0x53c48f
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x53c486
mov dword [ebx + 0xc], 2
jmp 0x53bac5
inc eax
mov dword [ebx + 0xc], eax
jmp 0x53bac5
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 0x53c4ce
movsx ecx, byte [ebx + 0x48]
mov ecx, dword [ecx*4 + 0x57dbb8]
test ecx, ecx
je 0x53c4ce
mov eax, dword [ebp - 0x18]
movsx ecx, byte [ecx + eax]
test ecx, ecx
je 0x53c4d1
mov eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x53c4d1
mov eax, dword [ebp - 0x18]
movsx edi, byte [ebx + 0x48]
lea ecx, [edi - 0x13]
cmp ecx, 0x20
ja case.default.0x53c4e9
xor ebx, ebx
mov bl, byte [ecx + 0x53cbf8]
jmp dword [ebx*4 + 0x53cbc8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x38], eax
jmp case.default.0x53c4e9
cmp eax, 5
jl 0x53c5a8
cmp eax, 0x11
jg 0x53c5a8
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x38], 2
jmp case.default.0x53c4e9
cmp eax, 0x19
jl 0x53c5a8
cmp eax, 0x34
jg 0x53c5a8
mov ebx, dword [ebp - 4]
lea eax, [eax*8 - 0xc8]
movsx ecx, word [eax + 0x57da58]
mov dword [ebx + 0x38], ecx
mov cx, word [eax + 0x57da5c]
mov word [ebx + 0x40], cx
mov ax, word [eax + 0x57da5e]
mov word [ebx + 0x42], ax
jmp case.default.0x53c4e9
cmp eax, 0x19
jl case.0x53c4e9.22
cmp eax, 0x34
jg case.0x53c4e9.22
mov ebx, dword [ebp - 4]
lea eax, [eax*8 - 0xc8]
movsx ecx, word [eax + 0x57da58]
mov dword [ebx + 0x38], ecx
mov cx, word [eax + 0x57da5c]
mov word [ebx + 0x40], cx
mov ax, word [eax + 0x57da5e]
mov word [ebx + 0x42], ax
jmp case.default.0x53c4e9
cmp eax, 5
jl 0x53c5a8
cmp eax, 0x11
jg 0x53c5a8
movsx ecx, byte [eax + 0x57d97f]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
jmp case.default.0x53c4e9
mov edx, 0xc000003d
mov ebx, dword [ebp - 4]
mov eax, edi
sub eax, 0x28
je 0x53c5c1
sub eax, 2
je 0x53c5c1
sub eax, 3
jne 0x53c5ce
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x38]
cmp ecx, eax
jge 0x53c5ce
mov dword [ebx + 0x38], eax
test edx, edx
jne 0x53c9dd
test byte [ebx + 0x50], 2
je 0x53c77f
mov eax, dword [ebx + 0x38]
cmp eax, 0x40
ja 0x53c6fb
lea edi, [ebp - 0x124]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], edi
jmp 0x53c718
movsx eax, word [eax*2 + 0x57d9d4]
mov ebx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
jne case.default.0x53c4e9
mov eax, dword [ebp - 0x14]
shl eax, 2
cmp eax, 0x11
jge 0x53c620
mov eax, 0x11
mov dword [ebx + 0x38], eax
jmp case.default.0x53c4e9
movsx eax, byte [eax + 0x57d994]
mov ebx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
jne case.default.0x53c4e9
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
cmp eax, 7
jge 0x53c64b
mov eax, 7
mov dword [ebx + 0x38], eax
jmp case.default.0x53c4e9
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53c4e9
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ecx + 0x57d97f]
mov dword [ebx + 0x38], eax
jmp case.default.0x53c4e9
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53c4e9
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ecx + 0x57d994]
mov dword [ebx + 0x38], eax
jmp case.default.0x53c4e9
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53c4e9
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, word [ecx*2 + 0x57d9d4]
mov dword [ebx + 0x38], eax
jmp case.default.0x53c4e9
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x53c4e9
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, word [ecx*8 + 0x57d992]
movsx ecx, word [ebx + 0x40]
add eax, ecx
mov dword [ebx + 0x38], eax
jmp case.default.0x53c4e9
lea edx, [ebp - 0x10]
push edx
push 0
push eax
call fcn.00540120
add esp, 0xc
test eax, eax
jne 0x53ca0d
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.005513d0
add esp, 0xc
test eax, eax
je 0x53c761
cmp eax, 0x8000003f
jne 0x53ca0d
test dword [esi + 0x12c], 0x100000
jne 0x53c761
mov dword [ebx + 0x10], 0x8000003f
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x53c77f
mov edx, dword [ebp - 0x10]
cmp byte [edx], 0x20
jne 0x53c77f
mov ecx, edx
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebx + 0x38]
dec eax
mov dword [ebx + 0x38], eax
jne 0x53c768
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 0x53c7bd
cmp eax, 0x200
jg 0x53c79c
mov eax, 0x200
mov ecx, dword [esi + 0xb4]
shr ecx, 3
cmp ecx, eax
jle 0x53c7ab
mov eax, ecx
push eax
push esi
call fcn.005528f0
add esp, 8
test eax, eax
jne 0x53c9f1
test byte [ebx + 0x50], 2
je 0x53c80c
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x53c7ee
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 0x53c7ca
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 0x53c84a
push eax
call fcn.00540190
add esp, 4
jmp 0x53c84a
mov edx, dword [esi + 0x2c]
lea eax, [ebp - 0x20]
push edx
push ebx
push eax
call fcn.005513d0
add esp, 0xc
test eax, eax
je 0x53c83f
cmp eax, 0x8000003f
jne 0x53ca0d
test dword [esi + 0x12c], 0x100000
jne 0x53c83f
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 0x53c856
mov eax, ecx
mov dword [esi + 0x3c], eax
jmp 0x53bac5
mov eax, dword [esi + 0x12c]
test ah, 1
je 0x53c974
test dword [ebx + 0x4c], 0x80000000
je 0x53c974
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.0054f5c0
add esp, 0x14
test eax, eax
je 0x53c974
mov eax, dword [ebp + 0xc]
cmp byte [eax], 2
jne 0x53c8b2
cmp edi, 2
jl 0x53c9b8
mov edi, 1
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x53c8cd
xor ecx, ecx
mov cl, byte [eax + 0x1e]
mov eax, ecx
test eax, eax
jne 0x53cac9
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x53c8f0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x53ca2f
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x53ca2f
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], 0
test eax, 0x20000
je 0x53ca21
and eax, 0xfffdffff
mov dword [esi + 0x130], eax
jmp 0x53ca2f
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 0x53c933
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.00547a70
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.00547a70
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.00547a70
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.00547a70
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 0x53c92f
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.00547a70
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.00547a70
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.00547a70
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xf8]
test eax, eax
jne 0x53cac9
test byte [esi + 0x12c], 4
je 0x53ca69
cmp byte [esi + 0x11e], 1
jne 0x53ca69
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x53ca52
mov byte [eax + 5], 0x24
jmp 0x53ca5b
cmp cl, 0x2b
jne 0x53ca5b
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.005500e0
add esp, 4
test eax, eax
je 0x53ca89
push esi
push eax
push eax
push edi
call fcn.00547a70
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 0x53cafe
mov edx, dword [ebx + 4]
and eax, 0xfdffffff
push edx
mov dword [ebx + 0x4c], eax
call fcn.00540190
add esp, 4
test eax, eax
je 0x53cafe
push esi
push eax
push eax
push edi
call fcn.00547a70
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x53cb18
push esi
push eax
push eax
push edi
call fcn.00547a70
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.0054b500
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