Function at 0x53f720
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax + 4]
xor edx, edx
mov edi, 1
cmp ebx, edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xc], edx
jne 0x53f752
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x48]
cmp eax, edx
mov dword [ebp - 0x24], esi
jle 0x53ffdd
mov eax, dword [esi + 0xc]
cmp eax, 1
jle 0x53f813
lea edi, [eax - 1]
mov eax, dword [esi + 0x4c]
test eax, 0x10000000
mov dword [esi + 0xc], edi
je 0x53f862
test eax, 0x20000000
je 0x53f862
mov ecx, dword [ebp + 0xc]
movsx ecx, byte [ecx]
cmp ecx, 2
jne 0x53f7f2
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x53f7f2
cmp dword [ebp - 4], 1
jg 0x53f7f2
or eax, 0x20000000
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
and eax, 0xbfffffff
push ebx
mov dword [esi + 0x4c], eax
call fcn.00553c10
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x540072
mov eax, dword [esi + 0x4c]
mov dword [esi + 0xc], edi
test eax, 0x10000000
je 0x53f7e8
test eax, 0x20000000
jne 0x5400dd
or eax, 0x20000000
mov dword [esi + 0x4c], eax
jmp 0x53f862
and eax, 0xdfffffff
cmp ecx, 1
mov dword [esi + 0x4c], eax
jne 0x53f7b1
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x53f7b1
cmp dword [ebp - 4], 1
jg 0x53f7b1
or eax, 0x40000000
jmp 0x53f7b9
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 2
jne 0x53f894
test edx, edx
jne 0x53f894
cmp edi, 1
jg 0x53f894
or dword [esi + 0x4c], 0x20000000
mov eax, dword [esi + 0x4c]
and eax, 0xbfffffff
push ebx
mov dword [esi + 0x4c], eax
call fcn.00553c10
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x540072
mov eax, dword [esi + 0x4c]
test eax, 0x10000000
je 0x53f862
test eax, 0x20000000
jne 0x5400ea
movsx eax, byte [esi + 0x48]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x53f87a.7
xor ecx, ecx
mov cl, byte [eax + 0x5403e4]
jmp dword [ecx*4 + 0x5403cc]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0xb8]
add edx, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x34], edx
jmp 0x53f906
mov eax, dword [esi + 0x4c]
and eax, 0xdfffffff
cmp ecx, 1
mov dword [esi + 0x4c], eax
jne 0x53f82e
test edx, edx
jne 0x53f82e
cmp edi, ecx
jg 0x53f82e
or eax, 0x40000000
jmp 0x53f836
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, 1
je 0x53f8d1
cmp al, 2
je 0x53f8cd
test dword [esi + 0x4c], 0x200000
je 0x53ff89
cmp al, 1
jne 0x53f8e3
mov edx, dword [ebp - 4]
mov ecx, 2
cmp edx, ecx
jl 0x53ffdd
jmp 0x53f8e8
mov ecx, 2
cmp al, 2
jne 0x53f8f5
cmp dword [ebp - 4], ecx
jl 0x5401de
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0xb8]
add ecx, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x34], ecx
mov ecx, dword [ebx + 0x98]
mov edi, dword [ebx + 0x2c]
dec ecx
mov dword [ebx + 0x38], edi
mov eax, ecx
mov dword [ebx + 0x98], ecx
cmp eax, 1
jl 0x5400fe
mov ecx, dword [ebx + 0xb4]
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
jmp case.0x53f87a.3
mov ecx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
xor eax, eax
test ecx, ecx
jle 0x53f970
mov ecx, dword [ebx + 0x2c]
mov dl, byte [eax + edi]
mov byte [ecx], dl
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
inc ecx
cmp ecx, edx
mov dword [ebx + 0x2c], ecx
ja 0x5401ea
mov ecx, dword [esi + 0x38]
inc eax
cmp eax, ecx
jl 0x53f94e
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x3c]
cmp eax, ecx
ja 0x53f97c
mov eax, ecx
mov dword [ebx + 0x3c], eax
jmp case.0x53f87a.3
cmp dword [ebp - 4], 2
jge case.0x53f87a.3
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, 1
je 0x53ffdd
cmp al, 2
je 0x5401fa
mov ecx, dword [ebp - 4]
lea edx, [ebp + 0x10]
push ecx
lea eax, [ebp + 0xc]
push edx
push eax
call fcn.0054e4e0
add esp, 0xc
cmp eax, 2
je 0x5401fa
cmp eax, 1
je 0x53ffdd
jmp case.0x53f87a.3
mov eax, dword [ebp - 4]
mov edi, 1
cmp eax, edi
jle 0x53fa96
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x53fa17
cmp eax, 7
je 0x53fa17
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 0x53fa8e
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 0
dec eax
mov dword [ebp - 4], eax
jmp 0x53fc34
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x53fa3c
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add ecx, edx
dec eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x53fc34
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x53fa46
mov dword [ebp - 0xc], edi
mov edx, dword [ebp - 0xa8]
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x53fa6e
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 0x53fa54
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 - 4]
jmp 0x53fc34
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
mov dword [ebp - 8], eax
test eax, eax
jne 0x54020a
mov ecx, dword [ebp - 0x18]
mov edx, 2
cmp ecx, edx
je 0x54027b
cmp ecx, edi
je 0x53ffdd
mov eax, dword [ebp - 0xac]
cmp eax, 8
je 0x53fb55
cmp eax, 7
je 0x53fb55
cmp eax, 5
je 0x53fb10
cmp eax, 6
je 0x53fb10
cmp ecx, 0x1c
jl 0x53faf8
cmp ecx, 0x2c
jle 0x53fafd
cmp ecx, 0x34
jne 0x53fb08
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edi
jmp 0x53fc34
mov dword [ebp - 4], edi
jmp 0x53fc34
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x53fb1f
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
jmp 0x53fb33
mov eax, dword [ebx + 0x12c]
mov ecx, dword [ebp - 0x1c]
and eax, 0x100
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebx + 0x12c]
mov dword [ebp - 4], eax
test ch, 1
je 0x53fc34
test eax, eax
jne 0x53fc34
mov dword [ebp - 0x28], edi
jmp 0x53fc3b
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x53fb75
mov eax, dword [ebp - 0x1c]
cdq
idiv edi
test eax, eax
mov dword [ebp - 4], eax
jne 0x53fb98
mov dword [ebp - 0x28], 1
jmp 0x53fc3b
mov eax, dword [ebx + 0x12c]
test ah, 1
je 0x53fb85
mov eax, dword [ebp - 0x1c]
jmp 0x53fb62
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
jmp 0x53fc3b
cmp ecx, 0x1c
jl 0x53fba2
cmp ecx, 0x2c
jle 0x53fba7
cmp ecx, 0x34
jne 0x53fbb4
mov eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
jmp 0x53fbbb
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0xa8]
xor eax, eax
test edx, edx
jle 0x53fbf2
lea ecx, [ebp - 0x98]
mov edx, dword [ecx - 4]
mov edi, dword [ecx]
mov dword [ebp + eax*4 - 0xe4], edx
mov dword [ebp + eax*4 - 0xc8], edi
mov dword [ebp + eax*4 - 0x4c], edx
mov edx, dword [ebp - 0xa8]
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x53fbcd
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x53fc14
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 0x53fbfa
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xac]
add edx, ecx
lea ecx, [ebp - 0x4c]
push eax
push ecx
push 0
mov dword [ebp - 0x20], edx
call fcn.00551a70
add esp, 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x53fc57
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x53fc4e
mov dword [esi + 0xc], 2
jmp case.0x53f87a.3
inc eax
mov dword [esi + 0xc], eax
jmp case.0x53f87a.3
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi]
and ecx, 0xf7ffffff
mov dword [ebp - 8], 0
mov dword [esi + 0x4c], ecx
mov eax, dword [edx + 0x12c]
test eax, 0x10000
je 0x53fc9a
movsx eax, byte [esi + 0x48]
mov ecx, dword [eax*4 + 0x57d7f8]
test ecx, ecx
je 0x53fc9a
mov eax, dword [ebp - 0x18]
movsx ecx, byte [ecx + eax]
test ecx, ecx
je 0x53fc9d
mov eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x53fc9d
mov eax, dword [ebp - 0x18]
movsx ecx, byte [esi + 0x48]
lea edi, [ecx - 0x13]
cmp edi, 0x20
ja case.0x53fcb5.30
xor edx, edx
mov dl, byte [edi + 0x540430]
jmp dword [edx*4 + 0x540400]
mov eax, dword [ebp - 0x14]
jmp 0x53fe05
cmp eax, 5
jl 0x53fcdd
cmp eax, 0x11
jg 0x53fcdd
movsx edx, byte [eax + 0x57d5bf]
mov dword [esi + 0x38], edx
jmp case.0x53fcb5.30
mov dword [ebp - 8], 0xc000003d
jmp case.0x53fcb5.30
cmp eax, 5
jl 0x53fcdd
cmp eax, 0x11
jg 0x53fcdd
mov dword [esi + 0x38], 2
jmp case.0x53fcb5.30
cmp eax, 0x19
jl 0x53fcdd
cmp eax, 0x34
jg 0x53fcdd
jmp 0x53fd15
cmp eax, 0x19
jl case.0x53fcb5.22
cmp eax, 0x34
jg case.0x53fcb5.22
lea eax, [eax*8 - 0xc8]
movsx edx, word [eax + 0x57d698]
mov dword [esi + 0x38], edx
mov dx, word [eax + 0x57d69c]
mov word [esi + 0x40], dx
mov ax, word [eax + 0x57d69e]
mov word [esi + 0x42], ax
jmp case.0x53fcb5.30
movsx eax, word [eax*2 + 0x57d614]
cmp eax, 0xffffffff
mov dword [esi + 0x38], eax
jne case.0x53fcb5.30
mov eax, dword [ebp - 0x14]
shl eax, 2
cmp eax, 0x11
jge 0x53fe05
mov eax, 0x11
jmp 0x53fe05
movsx eax, byte [eax + 0x57d5d4]
cmp eax, 0xffffffff
mov dword [esi + 0x38], eax
jne case.0x53fcb5.30
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
cmp eax, 7
jge 0x53fe05
mov eax, 7
jmp 0x53fe05
mov eax, dword [esi + 0x38]
test eax, eax
jne case.0x53fcb5.30
mov eax, dword [esi + 0x50]
or al, 2
mov dword [esi + 0x50], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx + 0x57d5bf]
jmp 0x53fe05
mov eax, dword [esi + 0x38]
test eax, eax
jne case.0x53fcb5.30
mov eax, dword [esi + 0x50]
or al, 2
mov dword [esi + 0x50], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx + 0x57d5d4]
jmp 0x53fe05
mov eax, dword [esi + 0x38]
test eax, eax
jne case.0x53fcb5.30
mov eax, dword [esi + 0x50]
or al, 2
mov dword [esi + 0x50], eax
mov edx, dword [ebp - 0x18]
movsx eax, word [edx*2 + 0x57d614]
jmp 0x53fe05
mov eax, dword [esi + 0x38]
test eax, eax
jne case.0x53fcb5.30
mov eax, dword [esi + 0x50]
or al, 2
mov dword [esi + 0x50], eax
mov edx, dword [ebp - 0x18]
movsx eax, word [edx*8 + 0x57d5d2]
movsx edx, word [esi + 0x40]
add eax, edx
mov dword [esi + 0x38], eax
mov eax, ecx
sub eax, 0x28
je 0x53fe19
sub eax, 2
je 0x53fe19
sub eax, 3
jne 0x53fe26
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x38]
cmp ecx, eax
jge 0x53fe26
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x540290
test byte [esi + 0x50], 2
je 0x53fed9
mov eax, dword [esi + 0x38]
cmp eax, 0x40
ja 0x53fe55
lea edi, [ebp - 0x124]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], edi
jmp 0x53fe72
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
call fcn.0053f0b0
add esp, 0xc
test eax, eax
jne 0x54005e
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x30], edi
mov ecx, dword [esi + 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 esi
push ecx
call fcn.00550380
add esp, 0xc
test eax, eax
je 0x53febb
cmp eax, 0x8000003f
jne 0x54005e
test dword [ebx + 0x12c], 0x100000
jne 0x53febb
mov dword [esi + 0x10], 0x8000003f
mov eax, dword [esi + 0x38]
test eax, eax
je 0x53fed9
mov edx, dword [ebp - 0x10]
cmp byte [edx], 0x20
jne 0x53fed9
mov ecx, edx
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
jne 0x53fec2
mov ecx, dword [esi + 0x38]
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x34]
lea edx, [ecx + eax]
cmp edx, edi
ja 0x5402fb
test byte [esi + 0x50], 2
je 0x53ff39
test ecx, ecx
je 0x53ff1b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
mov dl, byte [ecx]
mov byte [eax], dl
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebp - 0x24]
inc esi
mov dword [ebx + 0x2c], esi
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 0x53fef7
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov edx, dword [esi + 0x50]
and edx, 0xfffffffd
test eax, eax
mov dword [esi + 0x50], edx
je case.0x53f87a.3
push eax
call fcn.0053f120
add esp, 4
jmp case.0x53f87a.3
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00550380
add esp, 0xc
test eax, eax
je 0x53ff69
cmp eax, 0x8000003f
jne 0x54005e
test dword [ebx + 0x12c], 0x100000
jne 0x53ff69
mov dword [esi + 0x10], 0x8000003f
mov ecx, dword [esi + 0x38]
mov eax, dword [ebx + 0x2c]
add eax, ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x98]
test eax, eax
jle 0x53ffdd
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
jmp 0x53f766
mov eax, dword [ebx + 0x12c]
test ah, 1
je 0x54016e
test dword [esi + 0x4c], 0x80000000
je 0x54016e
mov edi, dword [ebp - 4]
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 0x54016e
mov eax, dword [ebp + 0xc]
cmp byte [eax], 2
jne 0x53ffdd
cmp edi, 2
jl 0x5401fa
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x540034
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
push eax
call fcn.0053f120
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
sub eax, ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 0x38]
add esp, 4
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x2c], esi
mov esi, dword [ebp - 0x24]
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x6c], 0
mov eax, dword [esi + 0x4c]
test eax, 0x2000000
je 0x54036b
mov ecx, dword [esi + 4]
and eax, 0xfdffffff
push ecx
mov dword [esi + 0x4c], eax
call fcn.0053f120
add esp, 4
test eax, eax
je 0x54036b
push ebx
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 edi, dword [ebx + 0x6c]
test edi, edi
je 0x5400c9
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
push eax
call fcn.0053f120
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
sub eax, ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 0x38]
add esp, 4
sub esi, eax
sub edx, eax
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x6c], 0
push ebx
push eax
push eax
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
xor eax, eax
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x5400f5
inc eax
mov dword [esi + 0xc], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x540152
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
push eax
call fcn.0053f120
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
sub eax, ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 0x38]
add esp, 4
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x6c], 0
push ebx
push 0xc000001b
push 0xc000001b
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x5401c2
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
push eax
call fcn.0053f120
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
sub eax, ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 0x38]
add esp, 4
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x6c], 0
push ebx
push 0xc000003c
push 0xc000003c
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x54034f
jmp 0x540302
mov dword [esi + 0xc], 2
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x6c]
test edx, edx
je 0x540268
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x28]
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
push eax
call fcn.0053f120
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
sub eax, ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 0x38]
add esp, 4
sub esi, eax
sub edx, eax
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x6c], 0
mov edi, 1
push ebx
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 + 0xc]
test eax, eax
jne 0x5400f1
mov dword [esi + 0xc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x5402e4
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
push eax
call fcn.0053f120
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
sub eax, ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 0x38]
add esp, 4
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x6c], 0
mov eax, dword [ebp - 8]
push ebx
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 edi, dword [ebx + 0x6c]
test edi, edi
je 0x54034f
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
push eax
call fcn.0053f120
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
sub eax, ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 0x38]
add esp, 4
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x6c], 0
push ebx
push 0xc0000042
push 0xc0000042
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x10]
test esi, esi
je 0x540386
push ebx
push esi
push esi
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x128]
mov edi, dword [ebx + 0x12c]
mov edx, dword [ebx + 0xbc]
and eax, 0xfdc6ffff
and edi, 0xfffffddf
push edx
mov dword [ebx + 0x128], eax
mov dword [ebx + 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