Function at 0x537120
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 0x53714f
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 0x537203
lea edi, [eax - 1]
mov eax, dword [ebx + 0x4c]
test eax, 0x10000000
mov dword [ebx + 0xc], edi
je 0x53725e
test eax, 0x20000000
je 0x53725e
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx]
cmp ecx, 2
jne 0x5371e2
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x5371e2
cmp dword [ebp - 8], 1
jg 0x5371e2
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.005502f0
add esp, 4
test eax, eax
jne 0x53809d
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0xc], edi
test eax, 0x10000000
je 0x5371d8
test eax, 0x20000000
jne 0x537fab
or eax, 0x20000000
mov dword [ebx + 0x4c], eax
jmp 0x53725e
and eax, 0xdfffffff
cmp ecx, 1
mov dword [ebx + 0x4c], eax
jne 0x5371a4
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x5371a4
cmp dword [ebp - 8], 1
jg 0x5371a4
or eax, 0x40000000
jmp 0x5371ac
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 2
jne 0x5372c0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x5372c0
cmp dword [ebp - 8], edx
jg 0x5372c0
or dword [ebx + 0x4c], 0x20000000
mov eax, dword [ebx + 0x4c]
and eax, 0xbfffffff
push esi
mov dword [ebx + 0x4c], eax
call fcn.005502f0
add esp, 4
test eax, eax
jne 0x53809d
mov eax, dword [ebx + 0x4c]
test eax, 0x10000000
je 0x53725e
test eax, 0x20000000
jne 0x537fb8
movsx eax, byte [ebx + 0x48]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x537276.7
xor ecx, ecx
mov cl, byte [eax + 0x538204]
jmp dword [ecx*4 + 0x5381ec]
mov eax, dword [esi + 0x7c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x24], edi
je 0x53729d
xor ecx, ecx
mov cl, byte [eax + 0x1e]
cmp ecx, edi
je 0x53729d
mov byte [eax + 0x1e], 0
mov dword [ebp - 0x24], 1
test byte [esi + 0x12c], 4
je 0x537308
cmp byte [esi + 0x11e], 1
jne 0x537308
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x5372f1
mov byte [eax + 5], 0x24
jmp 0x5372fa
mov eax, dword [ebx + 0x4c]
and eax, 0xdfffffff
cmp ecx, edx
mov dword [ebx + 0x4c], eax
jne 0x53722d
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x53722d
cmp dword [ebp - 8], edx
jg 0x53722d
or eax, 0x40000000
jmp 0x537235
cmp cl, 0x2b
jne 0x5372fa
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.0054b770
add esp, 4
cmp eax, edi
jne 0x53809d
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.0054c6e0
add esp, 8
test eax, eax
jne 0x537fcc
mov dl, byte [esi + 0x11c]
movsx eax, dl
dec eax
cmp eax, 6
ja case.default.0x53736d
jmp dword [eax*4 + 0x538220]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x537383
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53738c
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 0x537422
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x5373ab
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 0x537422
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x5373cb
mov dword [esi + 0x2c], eax
jmp 0x5373d1
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 0x537447
mov eax, dword [esi + 0x128]
test ah, 1
je 0x537422
test ah, 0x10
je 0x537422
cmp dl, 1
jne 0x537422
add ecx, 0xfffffffe
mov dword [esi + 0x34], ecx
jmp 0x537422
push 0x3e1
push 0x57f4d0
push 2
push 0xc0000008
call fcn.005430d0
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x537447
mov eax, dword [esi + 0x128]
test ah, 1
je 0x537447
test ah, 0x10
je 0x537447
cmp byte [esi + 0x11c], 1
je 0x53747d
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x537464
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53747d
cmp al, 6
je 0x53747d
dec dword [esi + 0x34]
jmp 0x53747d
cmp al, 1
jne 0x53747d
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x537479
cmp al, 6
je 0x537479
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 0x537155
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x1e], 1
jmp 0x537155
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
cmp al, 1
je 0x5374e4
cmp al, 2
je 0x5374e0
test dword [ebx + 0x4c], 0x200000
je 0x537eee
cmp al, 1
jne 0x5374f6
mov edx, dword [ebp - 8]
mov ecx, 2
cmp edx, ecx
jl 0x537f42
jmp 0x5374fb
mov ecx, 2
cmp al, 2
jne 0x537508
cmp dword [ebp - 8], ecx
jl 0x538020
mov eax, dword [esi + 0x7c]
xor edi, edi
cmp eax, edi
je 0x537525
xor ecx, ecx
mov cl, byte [eax + 0x1e]
cmp ecx, edi
je 0x537525
mov byte [eax + 0x1e], 0
mov dword [ebp - 0x24], 1
cmp dword [esi + 0xf0], edi
je 0x53754c
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], edi
test eax, 0x20000
jne 0x53754c
cmp dword [esi + 0xf8], edi
jne 0x53773b
test byte [esi + 0x12c], 4
je 0x537586
cmp byte [esi + 0x11e], 1
jne 0x537586
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x53756f
mov byte [eax + 5], 0x24
jmp 0x537578
cmp cl, 0x2b
jne 0x537578
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.0054b770
add esp, 4
cmp eax, edi
jne 0x53809d
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.0054c6e0
add esp, 8
test eax, eax
jne 0x537fcc
mov dl, byte [esi + 0x11c]
movsx eax, dl
dec eax
cmp eax, 6
ja case.default.0x5375eb
jmp dword [eax*4 + 0x53823c]
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x537601
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53760a
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 0x5376a0
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0x537629
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 0x5376a0
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x537649
mov dword [esi + 0x2c], eax
jmp 0x53764f
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 0x5376c5
mov eax, dword [esi + 0x128]
test ah, 1
je 0x5376a0
test ah, 0x10
je 0x5376a0
cmp dl, 1
jne 0x5376a0
add ecx, 0xfffffffe
mov dword [esi + 0x34], ecx
jmp 0x5376a0
push 0x4b1
push str.E:_forrtl_build_for_wseq_fmt.c
push 2
push 0xc0000008
call fcn.005430d0
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x5376c5
mov eax, dword [esi + 0x128]
test ah, 1
je 0x5376c5
test ah, 0x10
je 0x5376c5
cmp byte [esi + 0x11c], 1
je 0x5376fb
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x5376e2
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x5376fb
cmp al, 6
je 0x5376fb
dec dword [esi + 0x34]
jmp 0x5376fb
cmp al, 1
jne 0x5376fb
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x5376f7
cmp al, 6
je 0x5376f7
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 0x537749
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x1e], 1
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x3c], ecx
jmp 0x537155
mov ecx, dword [ebp - 4]
xor edi, edi
mov eax, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
test eax, eax
jle 0x5377b4
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 0x5377ac
mov eax, dword [ecx + 0x38]
cmp eax, 0x200
jg 0x537788
mov eax, 0x200
mov ecx, dword [esi + 0xb4]
shr ecx, 3
cmp ecx, eax
jle 0x537797
mov eax, ecx
push eax
push esi
call fcn.0054df80
add esp, 8
test eax, eax
jne 0x53802c
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
inc edi
cmp edi, eax
jl 0x537763
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
ja 0x5377c0
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 0x537155
cmp dword [ebp - 8], 2
jge 0x537155
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx]
cmp al, 1
je 0x537f42
cmp al, 2
je 0x538048
mov edx, dword [ebp - 8]
lea eax, [ebp + 0x10]
push edx
lea ecx, [ebp + 0xc]
push eax
push ecx
call fcn.0054abc0
add esp, 0xc
cmp eax, 2
je 0x538048
mov edi, 1
cmp eax, edi
je 0x537f47
jmp 0x537155
mov eax, dword [esi + 0x12c]
test eax, 0x8000000
je 0x537853
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1e], 1
mov eax, dword [esi + 0x7c]
mov dword [eax + 0xc], esi
jmp 0x537155
or al, 4
mov dword [esi + 0x12c], eax
jmp 0x537155
mov eax, dword [ebp - 8]
mov edi, 1
cmp eax, edi
jle 0x53791f
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x5378a9
cmp eax, 7
je 0x5378a9
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 0x53791a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], 0
dec ecx
mov dword [ebp - 8], ecx
jmp 0x537996
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp eax, ecx
je 0x5378cc
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 0x537afc
cmp dword [ebp - 0x2c], ecx
je 0x5378d4
mov dword [ebp - 0xc], edi
mov edx, dword [ebp - 0xa8]
xor eax, eax
cmp edx, ecx
jle 0x5378fa
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 0x5378e0
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.0054e150
add esp, 0xc
dec dword [ebp - 8]
jmp 0x537996
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.0054a880
add esp, 0x10
test eax, eax
jne 0x538195
mov ecx, dword [ebp - 0x18]
mov edx, 2
cmp ecx, edx
je 0x538058
cmp ecx, edi
je 0x537f47
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x5379fd
cmp eax, 7
je 0x5379fd
cmp eax, 5
je 0x5379b6
cmp eax, 6
je 0x5379b6
cmp ecx, 0x1c
jl 0x537986
cmp ecx, 0x2c
jle 0x53798b
cmp ecx, 0x34
jne 0x537993
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edi
jmp 0x537996
mov dword [ebp - 8], edi
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], 0
or eax, 0x20000
mov dword [esi + 0x130], eax
jmp 0x537afc
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5379c5
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
jmp 0x5379d9
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 0x537afc
test eax, eax
jne 0x537996
mov dword [esi + 0xf0], edi
mov dword [ebp - 0x28], edi
jmp 0x537b03
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x537a20
mov eax, dword [ebp - 0x1c]
cdq
idiv edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x537a46
mov dword [ebp - 0x28], 1
jmp 0x537b03
mov eax, dword [esi + 0x12c]
test ah, 1
je 0x537a33
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
jmp 0x537a0d
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 1
jmp 0x537b03
cmp ecx, 0x1c
jl 0x537a50
cmp ecx, 0x2c
jle 0x537a55
cmp ecx, 0x34
jne 0x537a62
mov eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
jmp 0x537a69
mov dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0xa8]
xor eax, eax
test edi, edi
jle 0x537a9a
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 0x537a7b
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x537abe
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 0x537aa2
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.0054e150
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 0x537b1f
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x537b16
mov dword [ebx + 0xc], 2
jmp 0x537155
inc eax
mov dword [ebx + 0xc], eax
jmp 0x537155
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 0x537b5e
movsx ecx, byte [ebx + 0x48]
mov ecx, dword [ecx*4 + 0x579bb8]
test ecx, ecx
je 0x537b5e
mov eax, dword [ebp - 0x18]
movsx ecx, byte [ecx + eax]
test ecx, ecx
je 0x537b61
mov eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x537b61
mov eax, dword [ebp - 0x18]
movsx edi, byte [ebx + 0x48]
lea ecx, [edi - 0x13]
cmp ecx, 0x20
ja case.default.0x537b79
xor ebx, ebx
mov bl, byte [ecx + 0x538288]
jmp dword [ebx*4 + 0x538258]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x38], eax
jmp case.default.0x537b79
cmp eax, 5
jl 0x537c38
cmp eax, 0x11
jg 0x537c38
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x38], 2
jmp case.default.0x537b79
cmp eax, 0x19
jl 0x537c38
cmp eax, 0x34
jg 0x537c38
mov ebx, dword [ebp - 4]
lea eax, [eax*8 - 0xc8]
movsx ecx, word [eax + 0x579a58]
mov dword [ebx + 0x38], ecx
mov cx, word [eax + 0x579a5c]
mov word [ebx + 0x40], cx
mov ax, word [eax + 0x579a5e]
mov word [ebx + 0x42], ax
jmp case.default.0x537b79
cmp eax, 0x19
jl case.0x537b79.22
cmp eax, 0x34
jg case.0x537b79.22
mov ebx, dword [ebp - 4]
lea eax, [eax*8 - 0xc8]
movsx ecx, word [eax + 0x579a58]
mov dword [ebx + 0x38], ecx
mov cx, word [eax + 0x579a5c]
mov word [ebx + 0x40], cx
mov ax, word [eax + 0x579a5e]
mov word [ebx + 0x42], ax
jmp case.default.0x537b79
cmp eax, 5
jl 0x537c38
cmp eax, 0x11
jg 0x537c38
movsx ecx, byte [eax + 0x57997f]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
jmp case.default.0x537b79
mov edx, 0xc000003d
mov ebx, dword [ebp - 4]
mov eax, edi
sub eax, 0x28
je 0x537c51
sub eax, 2
je 0x537c51
sub eax, 3
jne 0x537c5e
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x38]
cmp ecx, eax
jge 0x537c5e
mov dword [ebx + 0x38], eax
test edx, edx
jne 0x53806d
test byte [ebx + 0x50], 2
je 0x537e0f
mov eax, dword [ebx + 0x38]
cmp eax, 0x40
ja 0x537d8b
lea edi, [ebp - 0x124]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], edi
jmp 0x537da8
movsx eax, word [eax*2 + 0x5799d4]
mov ebx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
jne case.default.0x537b79
mov eax, dword [ebp - 0x14]
shl eax, 2
cmp eax, 0x11
jge 0x537cb0
mov eax, 0x11
mov dword [ebx + 0x38], eax
jmp case.default.0x537b79
movsx eax, byte [eax + 0x579994]
mov ebx, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
jne case.default.0x537b79
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
cmp eax, 7
jge 0x537cdb
mov eax, 7
mov dword [ebx + 0x38], eax
jmp case.default.0x537b79
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x537b79
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ecx + 0x57997f]
mov dword [ebx + 0x38], eax
jmp case.default.0x537b79
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x537b79
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ecx + 0x579994]
mov dword [ebx + 0x38], eax
jmp case.default.0x537b79
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x537b79
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, word [ecx*2 + 0x5799d4]
mov dword [ebx + 0x38], eax
jmp case.default.0x537b79
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
test eax, eax
jne case.default.0x537b79
mov eax, dword [ebx + 0x50]
or al, 2
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x18]
movsx eax, word [ecx*8 + 0x579992]
movsx ecx, word [ebx + 0x40]
add eax, ecx
mov dword [ebx + 0x38], eax
jmp case.default.0x537b79
lea edx, [ebp - 0x10]
push edx
push 0
push eax
call fcn.0053b7b0
add esp, 0xc
test eax, eax
jne 0x53809d
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.0054ca60
add esp, 0xc
test eax, eax
je 0x537df1
cmp eax, 0x8000003f
jne 0x53809d
test dword [esi + 0x12c], 0x100000
jne 0x537df1
mov dword [ebx + 0x10], 0x8000003f
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x537e0f
mov edx, dword [ebp - 0x10]
cmp byte [edx], 0x20
jne 0x537e0f
mov ecx, edx
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebx + 0x38]
dec eax
mov dword [ebx + 0x38], eax
jne 0x537df8
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 0x537e4d
cmp eax, 0x200
jg 0x537e2c
mov eax, 0x200
mov ecx, dword [esi + 0xb4]
shr ecx, 3
cmp ecx, eax
jle 0x537e3b
mov eax, ecx
push eax
push esi
call fcn.0054df80
add esp, 8
test eax, eax
jne 0x538081
test byte [ebx + 0x50], 2
je 0x537e9c
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x537e7e
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 0x537e5a
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 0x537eda
push eax
call fcn.0053b820
add esp, 4
jmp 0x537eda
mov edx, dword [esi + 0x2c]
lea eax, [ebp - 0x20]
push edx
push ebx
push eax
call fcn.0054ca60
add esp, 0xc
test eax, eax
je 0x537ecf
cmp eax, 0x8000003f
jne 0x53809d
test dword [esi + 0x12c], 0x100000
jne 0x537ecf
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 0x537ee6
mov eax, ecx
mov dword [esi + 0x3c], eax
jmp 0x537155
mov eax, dword [esi + 0x12c]
test ah, 1
je 0x538004
test dword [ebx + 0x4c], 0x80000000
je 0x538004
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.0054ac50
add esp, 0x14
test eax, eax
je 0x538004
mov eax, dword [ebp + 0xc]
cmp byte [eax], 2
jne 0x537f42
cmp edi, 2
jl 0x538048
mov edi, 1
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x537f5d
xor ecx, ecx
mov cl, byte [eax + 0x1e]
mov eax, ecx
test eax, eax
jne 0x538159
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x537f80
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x5380bf
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x5380bf
mov eax, dword [esi + 0x130]
mov dword [esi + 0xf0], 0
test eax, 0x20000
je 0x5380b1
and eax, 0xfffdffff
mov dword [esi + 0x130], eax
jmp 0x5380bf
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 0x537fc3
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.00543100
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.00543100
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.00543100
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.00543100
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 0x537fbf
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.00543100
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.00543100
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.00543100
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xf8]
test eax, eax
jne 0x538159
test byte [esi + 0x12c], 4
je 0x5380f9
cmp byte [esi + 0x11e], 1
jne 0x5380f9
mov eax, dword [esi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x5380e2
mov byte [eax + 5], 0x24
jmp 0x5380eb
cmp cl, 0x2b
jne 0x5380eb
mov byte [eax + 5], 0
mov eax, dword [esi + 0x12c]
and al, 0xfb
mov dword [esi + 0x12c], eax
push esi
call fcn.0054b770
add esp, 4
test eax, eax
je 0x538119
push esi
push eax
push eax
push edi
call fcn.00543100
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 0x53818e
mov edx, dword [ebx + 4]
and eax, 0xfdffffff
push edx
mov dword [ebx + 0x4c], eax
call fcn.0053b820
add esp, 4
test eax, eax
je 0x53818e
push esi
push eax
push eax
push edi
call fcn.00543100
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5381a8
push esi
push eax
push eax
push edi
call fcn.00543100
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.00546b90
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